[PATCH 0/4] Add device tree support for gpio-mxs

Shawn Guo shawn.guo at linaro.org
Fri May 4 11:45:25 EDT 2012


This patch series cleans up gpio-mxs a bit, and then adds device tree
support for the driver.  Currently, the irqdomain for gpio is still
added in platform code, and should be moved into driver later with the
help from the generic-irq-chip irqdomain support.

It's based on mxs device tree branch, and might be easier to go
via arm-soc tree.

Shawn Guo (4):
  gpio/mxs: use devm_* helpers to make error handling simple
  gpio/mxs: get rid of the use of cpu_is_xxx
  gpio/mxs: add device tree probe
  ARM: mxs: add gpio support for device tree boot

 .../devicetree/bindings/gpio/gpio-mxs.txt          |   87 +++++++++++
 arch/arm/boot/dts/imx23.dtsi                       |   35 +++++-
 arch/arm/boot/dts/imx28.dtsi                       |   55 +++++++-
 arch/arm/mach-mxs/devices/platform-gpio-mxs.c      |   24 +---
 arch/arm/mach-mxs/include/mach/common.h            |    5 +-
 arch/arm/mach-mxs/mach-mxs.c                       |   12 ++
 arch/arm/mach-mxs/mm.c                             |   10 ++
 drivers/gpio/gpio-mxs.c                            |  156 ++++++++++++--------
 8 files changed, 296 insertions(+), 88 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-mxs.txt

-- 
1.7.5.4




More information about the linux-arm-kernel mailing list