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

Wenyou Yang wenyou.yang at atmel.com
Thu Mar 23 04:44:35 UTC 2017


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

Changes in v8:
 - Rebase on v2017.03.

Changes in v7:
 - Fix the missing conversion for the at91_emac driver when building
   the at91rm9200 devices.

Changes in v6:
 - Move PIO_SCDR_DIV define from mach/<soc.h> to mach/at91_pio.h
   to fix the build error.

Changes in v5:
 - Rebase on the master branch on git://git.denx.de/u-boot-atmel.git
   commit: 0ff27d4a94637d4b1937c625d33212375bd118d9

Changes in v4:
 - Fix the incomplete conversion of the peripheral configurations on
   the sama5d3, sam9x5, and sam9n12.

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/arm926ejs/at91sam9n12_devices.c | 106 ++---
 arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c  | 112 ++---
 arch/arm/mach-at91/armv7/sama5d3_devices.c         | 140 +++----
 arch/arm/mach-at91/include/mach/at91_pio.h         |  69 ++--
 arch/arm/mach-at91/include/mach/at91sam9x5.h       |   2 -
 arch/arm/mach-at91/include/mach/sama5d3.h          |   2 -
 arch/arm/mach-at91/include/mach/sama5d4.h          |   2 -
 board/atmel/at91sam9n12ek/at91sam9n12ek.c          |  10 +-
 board/atmel/at91sam9x5ek/at91sam9x5ek.c            |  90 ++--
 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/net/at91_emac.c                            |   4 +-
 drivers/pinctrl/Kconfig                            |  14 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-at91.c                     | 453 +++++++++++++++++++++
 include/dt-bindings/pinctrl/at91.h                 |   2 +
 20 files changed, 1135 insertions(+), 610 deletions(-)
 create mode 100644 drivers/pinctrl/pinctrl-at91.c

-- 
2.11.0



More information about the U-Boot mailing list