Skip to content

Commit f806dac

Browse files
committed
ARM: pxa: activate pinctrl for device-tree machines
Pincontrol is not yet ready for all PXA platforms. For example, a legacy platform, if PINCTRL was activated, will fail its calls to gpio_request() or gpio_direction_output(), as the pinctrl driver might not be available, such as for pxa25x and pxa3xx. As a step forward, activate pincontrol for all device-tree available machines, ie. pxa27x device-tree based and pxa3xx device-tree based. If it appears later that pincontrol is also required for legacy platforms and if the mfp->pinctrl conversion can be achieved, then PINCTRL will be activated for the whole PXA architecture. Cc: Masahiro Yamada <[email protected]> Signed-off-by: Robert Jarzmik <[email protected]> Acked-by: Linus Walleij <[email protected]>
1 parent f55532a commit f806dac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/mach-pxa/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ comment "Intel/Marvell Dev Platforms (sorted by hardware release time)"
66

77
config MACH_PXA27X_DT
88
bool "Support PXA27x platforms from device tree"
9+
select PINCTRL
910
select POWER_SUPPLY
1011
select PXA27x
1112
select USE_OF
@@ -17,6 +18,7 @@ config MACH_PXA27X_DT
1718
config MACH_PXA3XX_DT
1819
bool "Support PXA3xx platforms from device tree"
1920
select CPU_PXA300
21+
select PINCTRL
2022
select POWER_SUPPLY
2123
select PXA3xx
2224
select USE_OF

0 commit comments

Comments
 (0)