Message ID | 1344689809-6223-12-git-send-email-sebastian.hesselbarth@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sat, Aug 11, 2012 at 2:56 PM, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> wrote: > diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig > index 2e86b31..cb07e64 100644 > --- a/arch/arm/configs/mvebu_defconfig > +++ b/arch/arm/configs/mvebu_defconfig > @@ -21,6 +21,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" > CONFIG_SERIAL_8250=y > CONFIG_SERIAL_8250_CONSOLE=y > CONFIG_SERIAL_OF_PLATFORM=y > +CONFIG_PINCTRL_ARMADA_370=y > +CONFIG_PINCTRL_ARMADA_XP=y If the system is not even booting without pinctrl you should (IMHO) select these from the machine's Kconfig entry insteaf. If they boot fine without I'm fine with this ... the arch maintainer gets to choose anyway. Yours, Linus Walleij
On 08/20/2012 04:31 PM, Linus Walleij wrote: > On Sat, Aug 11, 2012 at 2:56 PM, Sebastian Hesselbarth > <sebastian.hesselbarth@gmail.com> wrote: >> +CONFIG_PINCTRL_ARMADA_370=y >> +CONFIG_PINCTRL_ARMADA_XP=y > > If the system is not even booting without pinctrl you should > (IMHO) select these from the machine's Kconfig entry insteaf. I don't have a strong opinion on this but I think most systems will boot just fine without pinctrl. The basic stuff is set up by u-boot. Anyway, I think we should enable pinctrl for each soc by default. Sebastian
Le Mon, 20 Aug 2012 16:54:27 +0200, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> a écrit : > On 08/20/2012 04:31 PM, Linus Walleij wrote: > > On Sat, Aug 11, 2012 at 2:56 PM, Sebastian Hesselbarth > > <sebastian.hesselbarth@gmail.com> wrote: > >> +CONFIG_PINCTRL_ARMADA_370=y > >> +CONFIG_PINCTRL_ARMADA_XP=y > > > > If the system is not even booting without pinctrl you should > > (IMHO) select these from the machine's Kconfig entry insteaf. > > I don't have a strong opinion on this but I think most systems > will boot just fine without pinctrl. The basic stuff is set up > by u-boot. Anyway, I think we should enable pinctrl for each soc > by default. Yes, the system boots fine without the pinctrl support. So I don't think that MACH_ARMADA_370_XP should forcefully select the pinctrl code, but it's nice to have the default defconfig for this platform select the pinctrl support. Best regards, Thomas
diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig index 2e86b31..cb07e64 100644 --- a/arch/arm/configs/mvebu_defconfig +++ b/arch/arm/configs/mvebu_defconfig @@ -21,6 +21,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_PINCTRL_ARMADA_370=y +CONFIG_PINCTRL_ARMADA_XP=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y # CONFIG_EXT3_FS_XATTR is not set