1. 13 7月, 2014 1 次提交
  2. 15 4月, 2014 1 次提交
  3. 22 2月, 2014 1 次提交
  4. 11 2月, 2014 1 次提交
  5. 01 1月, 2014 1 次提交
  6. 23 12月, 2013 1 次提交
  7. 19 11月, 2013 1 次提交
  8. 23 10月, 2013 2 次提交
    • J
      tpm: Add support for Atmel I2C TPMs · a2871c62
      Jason Gunthorpe 提交于
      This is based on the work of Teddy Reed <teddy@prosauce.org> published
      on GitHub:
       https://github.com/theopolis/tpm-i2c-atmel.git
       34894b988b67e0ae55088d6388e77b0dbf10c07d
      
      That driver was never merged, I have taken it as a starting port,
      forward ported, tested and revised the driver:
       - Make it broadly textually similar to the Infineon and Nuvoton I2C
         driver
       - Place everything in a format suitable for mainline inclusion
       - Use high level I2C functions i2c_master_send and
         i2c_master_recv for data xfer
       - Use the timeout system from the core code, by faking out a status
         register
       - Only I2C transfer the number of bytes in the reply, not a fixed
         message size.
       - checkpatch cleanups
       - Testing on ARM Kirkwood, with this device tree, using a
         AT97SC3204T-X1A180
              tpm@29 {
                      compatible = "atmel,at97sc3204t";
                      reg = <0x29>;
              };
      Signed-off-by: NTeddy Reed <teddy@prosauce.org>
      [jgg: revised and tested]
      Signed-off-by: NJason Gunthorpe <jgunthorpe@obsidianresearch.com>
      [phuewe: minor whitespace changes]
      Signed-off-by: NPeter Huewe <peterhuewe@gmx.de>
      a2871c62
    • J
      tpm: Add support for the Nuvoton NPCT501 I2C TPM · 4c336e4b
      Jason Gunthorpe 提交于
      This chip is/was also branded as a Winbond WPCT301.
      
      Originally written by Dan Morav <dmorav@nuvoton.com> and posted to LKML:
      https://lkml.org/lkml/2011/9/7/206
      
      The original posting was not merged, I have taken it as a
      starting point, forward ported, tested and revised the driver:
       - Rework interrupt handling to work properly with level triggered
         interrupts. The old version just locked up.
       - Synchronize various items with Peter Huewe's Infineon driver:
          * Add durations/timeouts sysfs calls
          * Remove I2C device auto-detection
          * Don't fiddle with chip->release
          * Call tpm_dev_vendor_release in the probe error path
          * Use MODULE_DEVICE_TABLE for the I2C ids
          * Provide OF compatible strings for DT support
          * Use SIMPLE_DEV_PM_OPS
          * Use module_i2c_driver
       - checkpatch cleanups
       - Testing on ARM Kirkwood with GPIO interrupts, with this device tree:
      	tpm@57 {
                      compatible = "nuvoton,npct501";
                      reg = <0x57>;
                      interrupt-parent = <&gpio1>;
                      interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
              };
      Signed-off-by: NDan Morav <dmorav@nuvoton.com>
      [jgg: revised and tested]
      Signed-off-by: NJason Gunthorpe <jgunthorpe@obsidianresearch.com>
      [phuewe: minor whitespace changes, fixed module name in kconfig]
      Signed-off-by: NPeter Huewe <peterhuewe@gmx.de>
      4c336e4b
  9. 13 4月, 2013 1 次提交
    • P
      tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C) · c61c86dd
      Peter Huewe 提交于
      This driver adds support for Infineon's new SLB 9645 TT 1.2 I2C TPMs,
      which supports clockstretching, combined reads and a bus speed of
      up to 400khz. The device also has a new device id.
      
      The driver works now also fine with device trees, so you can
      instantiate your device by adding:
       +       tpm {
       +               compatible = "infineon,slb9645tt";
       +               reg = <0x20>;
       +       };
       for SLB 9645 devices or
      
       +       tpm {
       +               compatible = "infineon,slb9635tt";
       +               reg = <0x20>;
       +       };
       for SLB 9635 devices
      
      to your device tree.
      tpm_i2c_infineon is also retained as a compatible id as a fallback to
      slb9635 protocol.
      
      The driver was tested on Beaglebone.
      Signed-off-by: NPeter Huewe <peter.huewe@infineon.com>
      Signed-off-by: NKent Yoder <key@linux.vnet.ibm.com>
      c61c86dd
  10. 29 10月, 2012 1 次提交
  11. 08 9月, 2012 1 次提交
  12. 28 12月, 2011 1 次提交