[U-Boot] [PATCH v2 0/5] ARM: AT91: add AT91 PIO4 pinctrl driver

Wenyou Yang wenyou.yang at atmel.com
Wed May 4 07:27:34 CEST 2016


AT91 PIO4 controller is a combined gpio-controller, pin-mux and
pin-config module. This patch is to add the pinctrl driver with
driver model and device tree support.

Changes in v2:
 - remove meaningless comment.
 - add else path for argument of pinconf.
 - add inline attribute for atmel_pio4_bank_base().
 - add handle if the pinmux entries is greater maximum value.
 - add detailed example to show how to configure pinctrl for device.
 - remove interrupt and gpio property description.
 - add reviewed-by tag.
 - integrate the gpio rework patch into this patch series.
 - add the new patch to move the PIO4 definitions to head file
   and rephrase them.
 - add the new patch to add #ifndef before CONFIG_ATMEL_PIO4
   in configs/sama5d2_xplained.h

Wenyou Yang (5):
  gpio: atmel_pio4: move PIO4 definitions to head file
  pinctrl: at91-pio4: add pinctrl driver
  atmel: bring in at91 pio4 device tree file and bindings
  gpio: atmel_pio4: rework to support driver model & DT
  configs: sama5d2_xplained: add #ifndef before CONFIG_ATMEL_PIO4

 arch/arm/dts/sama5d2-pinfunc.h                     | 880 +++++++++++++++++++++
 arch/arm/mach-at91/include/mach/atmel_pio4.h       |  35 +
 .../pinctrl/atmel,at91-pio4-pinctrl.txt            |  66 ++
 drivers/gpio/Kconfig                               |   2 +-
 drivers/gpio/atmel_pio4.c                          | 167 ++--
 drivers/pinctrl/Kconfig                            |   7 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-at91-pio4.c                | 181 +++++
 include/configs/sama5d2_xplained.h                 |   2 +
 9 files changed, 1271 insertions(+), 70 deletions(-)
 create mode 100644 arch/arm/dts/sama5d2-pinfunc.h
 create mode 100644 doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
 create mode 100644 drivers/pinctrl/pinctrl-at91-pio4.c

-- 
2.7.4



More information about the U-Boot mailing list