Am Mittwoch, 11. September 2013, 22:58:07 schrieb Jason Gunthorpe: > This is based on the work of Teddy Reed <teddy@xxxxxxxxxxxx> published > on GitHub: > https://github.com/theopolis/tpm-i2c-atmel.git > 34894b988b67e0ae55088d6388e77b0dbf10c07d > > That driver was never merged, I have taken it as a starting point, > 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_smbus_write_i2c_block_data and > i2c_master_recv for data xfer > - Use the timeout system from the core code, by faking out a status > register > - checkpatch cleanups > - Testing on ARM Kirkwood, with this device tree, using a > AT97SC3204T-X1A180 > tpm@29 { > compatible = "atmel,at97sc3204t"; > reg = <0x29>; > }; > > PENDING: Teddy will need to provide a Signed-Off line for this driver, > although very little of his original text remained unchanged, the > work to discover the protocol is entirely his and he will need to > certify the Developer Certification of Origin that it is suitable > for mainline inclusion. > > [jgg: revised and tested] > Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> Hi Jason, thanks for porting yet another driver. I think I'll stage them (nuvoton, st and atmel) all in a temporary branch "testing-and-review" so it's easier for people to try them out. Thanks, Peter -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html