AT91 pinctrl/gpio fixes

Sascha Hauer s.hauer at
Mon Sep 8 06:23:38 PDT 2014

Unfortunately the transition to pinctrl for AT91 caused some damage.
The 926x do not compile anymore. Even when this is fixed the boards
won't work since the new pinctrl driver uses of_alias_get_id() even
for the platform case to translate the device into a gpio chip.


Sascha Hauer (4):
      ARM: AT91: Add missing include
      ARM: AT91: Make gpio mux functions inline
      pinctrl: AT91: Only use of_alias_get_id when probed from devicetree
      pinctrl: AT91: use alias_idx to calculate the base gpio number

 arch/arm/mach-at91/at91sam926x_lowlevel_init.c |  2 +-
 arch/arm/mach-at91/include/mach/gpio.h         | 42 ++++++++++++--------------
 drivers/pinctrl/pinctrl-at91.c                 |  9 ++++--
 3 files changed, 27 insertions(+), 26 deletions(-)

More information about the barebox mailing list