summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-axxia.c
Commit message (Collapse)AuthorAgeFilesLines
* i2c: axxia: Add bus recovery functionalityAlexander Sverdlin2015-06-031-0/+41
| | | | | | | | | Use recovery framework and implement bus recovery using "Bus Monitor" register. Tests show that shortening SDA to GND results in "completion" timeout with "BUSY" bit still set, so initiate recovery in this case. Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
* i2c: axxia: fixup return type of wait_for_completion_timeoutNicholas Mc Guire2015-03-151-8/+8
| | | | | | | | | return type of wait_for_completion_timeout is unsigned long not int. The return variable is renamed to reflect its use and the type adjusted to unsigned long. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
* i2c: axxia: make use of the new infrastructure for quirksWolfram Sang2015-03-131-5/+6
| | | | Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
* i2c: axxia: Add I2C driver for AXM55xxAnders Berg2014-10-031-0/+559
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg <anders.berg@avagotech.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
OpenPOWER on IntegriCloud