From mboxrd@z Thu Jan 1 00:00:00 1970 From: Icenowy Zheng Subject: Re: [PATCH 2/5] arm64: only select PINCTRL_SUNXI for Allwinner platforms Date: Wed, 01 Mar 2017 02:57:20 +0800 Message-ID: <608421488308240@web22h.yandex.ru> References: <20170228172444.59655-1-icenowy@aosc.xyz> <20170228172444.59655-2-icenowy@aosc.xyz> Reply-To: icenowy-ymACFijhrKM@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Andre Przywara , Linus Walleij , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Catalin Marinas , Will Deacon Cc: "linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org" List-Id: linux-gpio@vger.kernel.org 01.03.2017, 02:17, "Andre Przywara" : > Hi, > > On 28/02/17 17:24, Icenowy Zheng wrote: >> =C2=A0As the pinctrl driver selecting is refactored in Kconfig file of >> =C2=A0pinctrl-sunxi, now we can select only PINCTRL_SUNXI for Allwinner >> =C2=A0platform, and the default value of several pinctrl drivers useful = on >> =C2=A0ARM64 Allwinner SoCs will become Y. >> >> =C2=A0Drop the select of per-SoC pinctrl choices, but select PINCTRL_SUN= XI. >> >> =C2=A0Signed-off-by: Icenowy Zheng >> =C2=A0--- >> =C2=A0=C2=A0arch/arm64/Kconfig.platforms | 2 +- >> =C2=A0=C2=A01 file changed, 1 insertion(+), 1 deletion(-) >> >> =C2=A0diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.pla= tforms >> =C2=A0index 129cc5ae4091..f6db2a938b1e 100644 >> =C2=A0--- a/arch/arm64/Kconfig.platforms >> =C2=A0+++ b/arch/arm64/Kconfig.platforms >> =C2=A0@@ -4,7 +4,7 @@ config ARCH_SUNXI >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bool "Allwin= ner sunxi 64-bit SoC Family" >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select GENER= IC_IRQ_CHIP >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select PINCT= RL >> =C2=A0- select PINCTRL_SUN50I_A64 >> =C2=A0+ select PINCTRL_SUNXI > > Why do we need to add this generic PINCTRL_SUNXI here? This is selected > already by the SoC specific PINCTRL symbols (see your previous patch). > > Cheers, > Andre. Oh yes... You're right... > >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0help >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= This enables support for Allwinner sunxi based SoCs like the A64. --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: icenowy@aosc.xyz (Icenowy Zheng) Date: Wed, 01 Mar 2017 02:57:20 +0800 Subject: [linux-sunxi] [PATCH 2/5] arm64: only select PINCTRL_SUNXI for Allwinner platforms In-Reply-To: References: <20170228172444.59655-1-icenowy@aosc.xyz> <20170228172444.59655-2-icenowy@aosc.xyz> Message-ID: <608421488308240@web22h.yandex.ru> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 01.03.2017, 02:17, "Andre Przywara" : > Hi, > > On 28/02/17 17:24, Icenowy Zheng wrote: >> ?As the pinctrl driver selecting is refactored in Kconfig file of >> ?pinctrl-sunxi, now we can select only PINCTRL_SUNXI for Allwinner >> ?platform, and the default value of several pinctrl drivers useful on >> ?ARM64 Allwinner SoCs will become Y. >> >> ?Drop the select of per-SoC pinctrl choices, but select PINCTRL_SUNXI. >> >> ?Signed-off-by: Icenowy Zheng >> ?--- >> ??arch/arm64/Kconfig.platforms | 2 +- >> ??1 file changed, 1 insertion(+), 1 deletion(-) >> >> ?diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms >> ?index 129cc5ae4091..f6db2a938b1e 100644 >> ?--- a/arch/arm64/Kconfig.platforms >> ?+++ b/arch/arm64/Kconfig.platforms >> ?@@ -4,7 +4,7 @@ config ARCH_SUNXI >> ??????????bool "Allwinner sunxi 64-bit SoC Family" >> ??????????select GENERIC_IRQ_CHIP >> ??????????select PINCTRL >> ?- select PINCTRL_SUN50I_A64 >> ?+ select PINCTRL_SUNXI > > Why do we need to add this generic PINCTRL_SUNXI here? This is selected > already by the SoC specific PINCTRL symbols (see your previous patch). > > Cheers, > Andre. Oh yes... You're right... > >> ??????????help >> ????????????This enables support for Allwinner sunxi based SoCs like the A64.