Thread (21 messages) 21 messages, 6 authors, 2017-10-11
STALE3166d
Revisions (21)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 [diff vs current]
  6. v1 [diff vs current]
  7. v1 [diff vs current]
  8. v1 [diff vs current]
  9. v1 [diff vs current]
  10. v1 [diff vs current]
  11. v1 [diff vs current]
  12. v1 [diff vs current]
  13. v1 current
  14. v1 [diff vs current]
  15. v1 [diff vs current]
  16. v1 [diff vs current]
  17. v1 [diff vs current]
  18. v1 [diff vs current]
  19. v1 [diff vs current]
  20. v3 [diff vs current]
  21. v1 [diff vs current]

[PATCH 1/7] i2c: gpio: Convert to use descriptors

From: Lee Jones <hidden>
Date: 2017-09-18 08:36:29
Also in: linux-i2c, linux-mips

On Sun, 17 Sep 2017, Linus Walleij wrote:
This converts the GPIO-based I2C-driver to using GPIO
descriptors instead of the old global numberspace-based
GPIO interface. We:
[STUFF]
- The MFD Silicon Motion SM501 is a special case. It dynamically
  spawns an I2C bus off the MFD using sm501_create_subdev().
  We use an approach to dynamically create a machine descriptor
  table and attach this to the "SM501-LOW" or "SM501-HIGH"
  gpiochip. We use chip-local offsets to grab the right lines.
  We can get rid of two local static inline helpers as part
  of this refactoring.

Cc: Steven Miao <redacted>
Cc: Ralf Baechle <redacted>
Cc: Lee Jones <redacted>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Ville Syrj?l? <redacted>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Ben Dooks <redacted>
Cc: Heiko Schocher <redacted>
Acked-by: Olof Johansson <redacted>
Signed-off-by: Linus Walleij <redacted>
---
ChangeLog v1->v2:
- Fix a minor typo in error path (scl was sda from copy-paste)
- Collected Olof's ACK

Steven (Blackfin): requesting ACK for Wolfram to take this patch.
Ralf (MIPS): requesting ACK for Wolfram to take this patch.
Lee: requesting ACK for Wolfram to take this patch.
This ...
SM501 users: requesting Tested-by on this patch.
... loosely depends on this (until it doesn't).

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help