forked from Minki/linux
a2871c62e1
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: Teddy Reed <teddy@prosauce.org> [jgg: revised and tested] Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> [phuewe: minor whitespace changes] Signed-off-by: Peter Huewe <peterhuewe@gmx.de> |
||
---|---|---|
.. | ||
brcm,bcm2835-i2c.txt | ||
i2c-arb-gpio-challenge.txt | ||
i2c-at91.txt | ||
i2c-cbus-gpio.txt | ||
i2c-davinci.txt | ||
i2c-designware.txt | ||
i2c-gpio.txt | ||
i2c-imx.txt | ||
i2c-mpc.txt | ||
i2c-mux-gpio.txt | ||
i2c-mux-pinctrl.txt | ||
i2c-mux.txt | ||
i2c-mv64xxx.txt | ||
i2c-mxs.txt | ||
i2c-nomadik.txt | ||
i2c-ocores.txt | ||
i2c-octeon.txt | ||
i2c-omap.txt | ||
i2c-pnx.txt | ||
i2c-pxa-pci-ce4100.txt | ||
i2c-pxa.txt | ||
i2c-s3c2410.txt | ||
i2c-sirf.txt | ||
i2c-st-ddci2c.txt | ||
i2c-versatile.txt | ||
i2c-vt8500.txt | ||
i2c-xiic.txt | ||
ina2xx.txt | ||
ina209.txt | ||
max6697.txt | ||
nvidia,tegra20-i2c.txt | ||
trivial-devices.txt |