[U-Boot] [PATCH v3 0/2] pinctrl: at91: Add pinctrl driver

Wenyou Yang wenyou.yang at atmel.com
Wed Oct 26 09:13:21 CEST 2016


The purpose of this patch set is to add the pinctrl driver for AT91
PIO controller.

Changes in v3:
 - Add support for OUTPUT config

Changes in v2:
 - Add more information for the PINCTRL_AT91 option's help.
 - Add more comments for the callback of struct at91_pinctrl_mux_ops.
 - Use clrsetbits_le32() in set_drive_strength().
 - Add the brackets for readability.
 - Use debug() to print the message to debug, instead of printf().
 - Remove not veryuseful at91_bank_base().
 - Add Reviewed-by tag.

Wenyou Yang (2):
  gpio: at91_gpio: Remove CPU_HAS_PIO3 macro
  pinctrl: at91: Add pinctrl driver

 arch/arm/mach-at91/include/mach/at91_pio.h      |  67 ++--
 arch/arm/mach-at91/include/mach/at91sam9x5.h    |   1 -
 arch/arm/mach-at91/include/mach/sama5d3.h       |   1 -
 arch/arm/mach-at91/include/mach/sama5d4.h       |   1 -
 board/atmel/sama5d3xek/sama5d3xek.c             |  64 ++--
 board/atmel/sama5d4_xplained/sama5d4_xplained.c | 148 ++++----
 board/atmel/sama5d4ek/sama5d4ek.c               | 136 +++----
 board/denx/ma5d4evk/ma5d4evk.c                  | 178 +++++-----
 board/l+g/vinco/vinco.c                         |  70 ++--
 drivers/gpio/at91_gpio.c                        | 142 +++++---
 drivers/pinctrl/Kconfig                         |  14 +
 drivers/pinctrl/Makefile                        |   1 +
 drivers/pinctrl/pinctrl-at91.c                  | 453 ++++++++++++++++++++++++
 include/dt-bindings/pinctrl/at91.h              |   2 +
 14 files changed, 902 insertions(+), 376 deletions(-)
 create mode 100644 drivers/pinctrl/pinctrl-at91.c

-- 
2.7.4



More information about the U-Boot mailing list