RFC Rework OpenFirmware GPIO handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Rework OpenFirmware GPIO handlingdrivers/ drivers/ include/ +1 more | +77 | 5 replies | |
| 2/5 | mcu_mpc8349emitx: port to new of gpio interfacearch/ | +5 | 2 replies | |
| 3/5 | mpc8xxx_gpio: port to new of gpio interfacearch/ | +1 | 0 replies | |
| 4/5 | simple_gpio: port to new of gpio interfacearch/ | +1 | 0 replies | |
| 5/5 | qe_gpio: port to new of gpio interfacearch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/5] Rework OpenFirmware GPIO handling
This is an RFC serie of patches containing rework of OpenFirmware GPIO binding.
It permits very simple binding of most i2c/spi/etc. GPIO expanders (e.g. to use pcf8574x driver I had only to patch in support for working w/o platform data, no OF-specific code at all).
Dmitry Eremin-Solenikov (5):
Rework OpenFirmware GPIO handling
mcu_mpc8349emitx: port to new of gpio interface
mpc8xxx_gpio: port to new of gpio interface
simple_gpio: port to new of gpio interface
qe_gpio: port to new of gpio interface
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 11 +++--- arch/powerpc/sysdev/mpc8xxx_gpio.c | 2 +- arch/powerpc/sysdev/qe_lib/gpio.c | 4 +- arch/powerpc/sysdev/simple_gpio.c | 2 +- drivers/gpio/gpiolib.c | 6 +++ drivers/of/gpio.c | 42 ++++++++++++++++++++--- include/asm-generic/gpio.h | 19 +++++++++++ include/linux/of_gpio.h | 29 +++++++++------- 8 files changed, 86 insertions(+), 29 deletions(-)