linux/Documentation/devicetree/bindings
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
..
arc
arm ARM: SoC platform changes for 3.12 2013-09-06 13:30:06 -07:00
ata sata, highbank: send extra clock cycles in SGPIO patterns 2013-08-14 16:43:30 -04:00
bus This is a patch series that updates imx-weim bus driver to have it 2013-08-23 11:37:18 -07:00
c6x Documentation/devicetree/bindings/c6x/ fix a typo 2013-08-20 12:41:25 +02:00
clock The common clk framework changes for 3.12 are dominated by clock driver 2013-09-09 15:49:04 -07:00
cpufreq
crypto powerpc/85xx: Add SEC6.0 device tree 2013-08-23 19:43:19 -05:00
dma Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2013-09-10 13:37:36 -07:00
drm/tilcdc
extcon
fb
gpio This is the bulk of GPIO changes for the v3.12 series: 2013-09-07 10:53:00 -07:00
gpu The common clk framework changes for 3.12 are dominated by clock driver 2013-09-09 15:49:04 -07:00
hid
hwmon
hwrng
i2c tpm: Add support for the Nuvoton NPCT501 I2C TPM 2013-10-22 19:43:04 +02:00
iio iio: add Bosch BMA180 acceleration sensor driver 2013-08-28 20:12:22 +01:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2013-09-07 10:38:46 -07:00
interrupt-controller
iommu
leds leds-pca9633: Rename to leds-pca963x 2013-08-26 17:22:14 -07:00
lpddr2
media ARM: SoC DT updates for 3.12 2013-09-06 13:26:27 -07:00
memory-controllers
metag irq-imgpdc: add ImgTec PDC irqchip driver 2013-08-21 14:17:56 +01:00
mfd For the 3.12 merge window we have one new driver for the DA9063 PMIC 2013-09-07 20:14:19 -07:00
mips
misc ARM: SoC DT updates for 3.12 2013-09-06 13:26:27 -07:00
mmc MMC highlights for 3.12: 2013-09-10 13:33:09 -07:00
mtd mtd: ofpart: add compatible check for child nodes 2013-08-05 21:12:32 +01:00
net Device tree core updates for v3.12 2013-09-10 13:53:52 -07:00
nvec
pci Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2013-09-12 16:14:49 -07:00
pinctrl ARM: SoC DT updates for 3.12 2013-09-06 13:26:27 -07:00
power
power_supply power: reset: Add msm restart support 2013-08-09 11:47:53 -07:00
powerpc Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-09-06 10:49:42 -07:00
pps
pwm The common clk framework changes for 3.12 are dominated by clock driver 2013-09-09 15:49:04 -07:00
regulator For the 3.12 merge window we have one new driver for the DA9063 PMIC 2013-09-07 20:14:19 -07:00
reset
rng
rtc drivers/rtc/rtc-palmas.c: support for backup battery charging 2013-09-11 15:58:55 -07:00
serial ARM: SoC DT updates for 3.12 2013-09-06 13:26:27 -07:00
serio dts: Deprecate ALTR as a vendor prefix 2013-08-29 12:58:55 -07:00
sound ASoC: kirkwood: change the compatible string of the kirkwood-i2s driver 2013-09-06 10:29:58 +01:00
spi ARM: SoC DT updates for 3.12 2013-09-06 13:26:27 -07:00
staging
thermal Merge branches 'exynos', 'imx' and 'fixes' of .git into next 2013-08-15 15:25:27 +08:00
timer clocksource: armada-370-xp: Add detailed clock requirements in devicetree binding 2013-09-02 21:44:58 +02:00
tty/serial tty: ar933x_uart: add device tree support and binding documentation 2013-08-30 14:11:27 -07:00
ufs
usb Char/Misc patches for 3.12-rc1 2013-09-03 11:36:27 -07:00
video
virtio
w1
watchdog ARM: sun6i: Add restart code for the A31 2013-08-16 23:19:30 +02:00
x86
eeprom.txt
marvell.txt
memory.txt drivers: of: add initialization code for dma reserved memory 2013-08-27 10:53:44 +02:00
open-pic.txt
resource-names.txt
vendor-prefixes.txt This is the bulk of GPIO changes for the v3.12 series: 2013-09-07 10:53:00 -07:00
xilinx.txt