Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-31 | i2c/ARM: davinci: Deep refactoring of I2C recovery | Linus Walleij | 1 | -3/+2 | |
Alter the DaVinci GPIO recovery fetch to use descriptors all the way down into the board files. Signed-off-by: Linus Walleij <[email protected]> Acked-by: Sekhar Nori <[email protected]> Tested-by: Sekhar Nori <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> | |||||
2015-04-10 | i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery | Grygorii Strashko | 1 | -0/+1 | |
Having a board where the I2C bus locks up occasionally made it clear that the bus recovery in the i2c-davinci driver will only work on some boards, because on regular boards, this will only toggle GPIO lines that aren't muxed to the actual pins. The I2C controller on SoCs like da850 (and da830), Keystone 2 has the built-in capability to bit-bang its lines by using the ICPFUNC registers of the i2c controller. Implement the suggested procedure by toggling SCL and checking SDA using the ICPFUNC registers of the I2C controller when present. Allow platforms to indicate the presence of the ICPFUNC registers with a has_pfunc platform data flag and add optional DT property "ti,has-pfunc" to indicate the same in DT. Reviewed-by: Uwe Kleine-König <[email protected]> Acked-by: Alexander Sverdlin <[email protected]> Tested-by: Michael Lawnick <[email protected]> Signed-off-by: Ben Gardiner <[email protected]> Signed-off-by: Mike Looijmans <[email protected]> [[email protected]: combined patches from Ben Gardiner and Mike Looijmans and reimplemented ICPFUNC bus recovery using I2C bus recovery infrastructure] Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> | |||||
2012-09-14 | ARM: davinci: move platform_data definitions | Arnd Bergmann | 1 | -0/+26 | |
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the davinci include directories Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Felipe Balbi <[email protected]> Cc: Sekhar Nori <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: "Ben Dooks" <[email protected]> Cc: "Wolfram Sang" <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Chris Ball <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Grant Likely <[email protected]> Cc: Alan Stern <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: [email protected] |