pinctrl: add gpio and pinctrl driver for sama5d2 PIO4
The sama5d2 features a GPIO and pin controller different than the one
we support in barebox. The device tree bindings are different as well,
so it makes sense to have a separate driver for it.

Add the pin control and GPIO driver as well as some helpers usable
from PBL, should we want to do pinmuxing that early.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6210321 commit 3042dd2d4237dc3fc82fa160be2dd0df5d7a7a1a
@Ahmad Fatoum Ahmad Fatoum authored on 26 Sep 2019
Sascha Hauer committed on 14 Oct 2019
Showing 8 changed files
View
arch/arm/Kconfig
View
arch/arm/mach-at91/Kconfig
View
arch/arm/mach-at91/include/mach/at91_pio.h
View
arch/arm/mach-at91/include/mach/gpio.h
View
drivers/pinctrl/Kconfig
View
drivers/pinctrl/Makefile
View
drivers/pinctrl/pinctrl-at91-pio4.c 0 → 100644
View
drivers/pinctrl/pinctrl-at91.c