linux/Documentation/devicetree/bindings/i2c
Jason Gunthorpe 4c336e4b15 tpm: Add support for the Nuvoton NPCT501 I2C TPM
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: Dan Morav <dmorav@nuvoton.com>
[jgg: revised and tested]
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
[phuewe: minor whitespace changes, fixed module name in kconfig]

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2013-10-22 19:43:04 +02:00
..
brcm,bcm2835-i2c.txt i2c: add bcm2835 driver 2013-02-12 11:33:59 +01:00
i2c-arb-gpio-challenge.txt i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver 2013-04-17 11:31:03 +02:00
i2c-at91.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-cbus-gpio.txt i2c: i2c-cbus-gpio: introduce driver 2012-11-19 09:57:16 +01:00
i2c-davinci.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-designware.txt i2c-designware: make SDA hold time configurable 2013-06-26 16:02:06 +02:00
i2c-gpio.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-imx.txt i2c: imx: use exact SoC revision to document binding 2013-08-23 11:51:21 +02:00
i2c-mpc.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-mux-gpio.txt i2c: mux: Add dt support to i2c-mux-gpio driver 2012-11-16 09:28:27 +01:00
i2c-mux-pinctrl.txt i2c: Add generic I2C multiplexer using pinctrl API 2012-06-04 16:49:43 +02:00
i2c-mux.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-mv64xxx.txt i2c: mv64xxx: fix typo in binding documentation 2013-08-23 20:10:04 +02:00
i2c-mxs.txt i2c: i2c-mxs: move to use generic DMA helper 2013-04-04 21:22:45 +08:00
i2c-nomadik.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-ocores.txt i2c: ocores: Add support for the GRLIB port of the controller and use function pointers for getreg and setreg functions 2012-11-16 18:22:35 +01:00
i2c-octeon.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-omap.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-pnx.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-pxa-pci-ce4100.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-pxa.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-s3c2410.txt doc: devicetree: Fix various typos 2013-04-24 16:36:15 +02:00
i2c-sirf.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-st-ddci2c.txt i2c: stu300: device tree support 2013-05-31 11:25:51 +02:00
i2c-versatile.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
i2c-vt8500.txt i2c: vt8500: Add support for I2C bus on Wondermedia SoCs 2013-06-15 13:37:08 +02:00
i2c-xiic.txt bindings: i2c: use consistent naming for i2c binding descriptions 2012-11-15 15:57:07 +00:00
ina2xx.txt hwmon: (ina2xx) Add device tree support to pass the shunt resistor 2013-06-27 10:31:42 -07:00
ina209.txt hwmon: Driver for Texas Instruments INA209 2013-02-06 09:57:59 -08:00
max6697.txt hwmon: Driver for Maxim MAX6697 and compatibles 2013-02-06 09:57:56 -08:00
nvidia,tegra20-i2c.txt ARM: tegra: add DT binding for i2c-tegra 2013-04-04 17:17:41 -06:00
trivial-devices.txt tpm: Add support for the Nuvoton NPCT501 I2C TPM 2013-10-22 19:43:04 +02:00