On Fri, 2019-05-24 at 09:50 -0300, Fabio Estevam wrote: > When using device model it is required to select the pinctrl > drivers so that the pins can be properly configured via > devicetree. > > mx6sabreauto board is an example of a target that uses DM and does > not select the pinctrl drivers. > > Instead of doing the pinctrl driver selection in each individual > defconfig file, select it at SoC level when DM is used. > > Signed-off-by: Fabio Estevam <feste...@gmail.com>
Reviewed-by: Sjoerd Simons <sjoerd.sim...@collabora.co.uk> > --- > arch/arm/Kconfig | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index efb9aab390..4c361c9a1d 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -787,6 +787,8 @@ config ARCH_MX31 > config ARCH_MX7ULP > bool "NXP MX7ULP" > select CPU_V7A > + select PINCTRL if DM > + select PINCTRL_IMX7ULP if DM > select ROM_UNIFIED_SECTIONS > imply MXC_GPIO > > @@ -795,6 +797,8 @@ config ARCH_MX7 > select ARCH_MISC_INIT > select BOARD_EARLY_INIT_F > select CPU_V7A > + select PINCTRL if DM > + select PINCTRL_IMX7 if DM > select SYS_FSL_HAS_SEC if SECURE_BOOT > select SYS_FSL_SEC_COMPAT_4 > select SYS_FSL_SEC_LE > @@ -803,6 +807,8 @@ config ARCH_MX7 > config ARCH_MX6 > bool "Freescale MX6" > select CPU_V7A > + select PINCTRL if DM > + select PINCTRL_IMX6 if DM > select SYS_FSL_HAS_SEC if SECURE_BOOT > select SYS_FSL_SEC_COMPAT_4 > select SYS_FSL_SEC_LE > @@ -818,6 +824,8 @@ config ARCH_MX5 > bool "Freescale MX5" > select BOARD_EARLY_INIT_F > select CPU_V7A > + select PINCTRL if DM > + select PINCTRL_IMX5 if DM > imply MXC_GPIO > > config ARCH_OWL -- Sjoerd Simons Collabora Ltd. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot