diff mbox series

[V2,RESEND,2/4] arm64: defconfig: Build in CONFIG_GPIO_MXC by default

Message ID 1600054147-29997-2-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State New, archived
Headers show
Series [V2,RESEND,1/4] gpio: mxc: Support module build | expand

Commit Message

Anson Huang Sept. 14, 2020, 3:29 a.m. UTC
i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC
as built-in manually.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
No change.
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Krzysztof Kozlowski Sept. 15, 2020, 3:58 p.m. UTC | #1
On Mon, 14 Sep 2020 at 05:36, Anson Huang <Anson.Huang@nxp.com> wrote:
>
> i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC
> as built-in manually.

Maybe it should stay not enabled? Please explain in commit msg why it
should be enabled.

Best regards,
Krzysztof
Anson Huang Sept. 16, 2020, 1:59 a.m. UTC | #2
Hi, Krzysztof

> Subject: Re: [PATCH V2 RESEND 2/4] arm64: defconfig: Build in
> CONFIG_GPIO_MXC by default
> 
> On Mon, 14 Sep 2020 at 05:36, Anson Huang <Anson.Huang@nxp.com>
> wrote:
> >
> > i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as
> > built-in manually.
> 
> Maybe it should stay not enabled? Please explain in commit msg why it should
> be enabled.

The CONFIG_GPIO_MXC is necessary for all the i.MX SoCs, as it provides the basic
function of GPIO pin operations and IRQ operations, it is enabled by default previously
with " def_bool y " in Kconfig, now it is changed to tristate, so it should be explicitly
enabled in defconfig to make sure it does NOT break any existing functions, that is
why I list " i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as 
built-in manually " in commit msg, it aims to NOT change any previous behaviors.

thanks,
Anson
Krzysztof Kozlowski Sept. 16, 2020, 6:03 a.m. UTC | #3
On Wed, 16 Sep 2020 at 03:59, Anson Huang <anson.huang@nxp.com> wrote:
>
> Hi, Krzysztof
>
> > Subject: Re: [PATCH V2 RESEND 2/4] arm64: defconfig: Build in
> > CONFIG_GPIO_MXC by default
> >
> > On Mon, 14 Sep 2020 at 05:36, Anson Huang <Anson.Huang@nxp.com>
> > wrote:
> > >
> > > i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as
> > > built-in manually.
> >
> > Maybe it should stay not enabled? Please explain in commit msg why it should
> > be enabled.
>
> The CONFIG_GPIO_MXC is necessary for all the i.MX SoCs, as it provides the basic
> function of GPIO pin operations and IRQ operations, it is enabled by default previously
> with " def_bool y " in Kconfig, now it is changed to tristate, so it should be explicitly
> enabled in defconfig to make sure it does NOT break any existing functions, that is
> why I list " i.MX GPIO is NOT default enabled now, so select CONFIG_GPIO_MXC as
> built-in manually " in commit msg, it aims to NOT change any previous behaviors.

Sure, I was just saying that all this should be in commit msg. The
commit should explain why it is there in the Linux kernel.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 63003ec..c8fca1a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -510,6 +510,7 @@  CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_GPIO_BD9571MWV=m
 CONFIG_GPIO_MAX77620=y
+CONFIG_GPIO_MXC=y
 CONFIG_POWER_AVS=y
 CONFIG_QCOM_CPR=y
 CONFIG_ROCKCHIP_IODOMAIN=y