Skip to content

gpio: dt: add gpio-export support

Jean-Christophe PLAGNIOL-VILLARD linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpiolib: add gpio_export_with_namearch/mips/include/asm/mach-au1x00/gpio-au1000.h arch/mips/include/asm/mach-au1x00/gpio-au1300.h drivers/gpio/gpiolib.c +2 more+37 -106 replies
1/2gpiolib: add gpio_export_with_name+0 -00 replies
1/2gpiolib: add gpio_export_with_name+0 -01 reply
2/2gpiolib-of: ad gpio-export supportDocumentation/devicetree/bindings/gpio/gpio.txt drivers/gpio/gpiolib-of.c+121 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] gpio: dt: add gpio-export support

HI,

This patch serie add the support of gpio-export to DT

This also extend to gpio_export with the possibility to specify a name for the gpio.
When you support different hardware you do not need to knwon which gpio is used at application level just you have it

based on next-20121115 tested on AT91 Animeo IP

gpiolib-of: ad gpio-export support (2012-11-19 20:36:03 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (2):
gpiolib: add gpio_export_with_name
gpiolib-of: ad gpio-export support

 Documentation/devicetree/bindings/gpio/gpio.txt |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/mips/include/asm/mach-au1x00/gpio-au1000.h |    3 ++-
 arch/mips/include/asm/mach-au1x00/gpio-au1300.h |    3 ++-
 drivers/gpio/gpiolib-of.c                       |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpio/gpiolib.c                          |   12 +++++++-----
 include/asm-generic/gpio.h                      |    6 ++++--
 include/linux/gpio.h                            |   23 ++++++++++++++++++++++-
 7 files changed, 158 insertions(+), 10 deletions(-)

Best Regards,
J.