diff mbox series

[v3] arm64: defconfig: Enable GPIO and I2C configs for TI's J721e platform

Message ID 20201113154905.40095-1-nsekhar@ti.com (mailing list archive)
State New, archived
Headers show
Series [v3] arm64: defconfig: Enable GPIO and I2C configs for TI's J721e platform | expand

Commit Message

Sekhar Nori Nov. 13, 2020, 3:49 p.m. UTC
From: Faiz Abbas <faiz_abbas@ti.com>

Add configs to help enable regulators that supply power to the SD card
on TI's J721e platform. These regulators are controlled by either
SoC gpios or gpios over i2c expander.

vmlinux size before and after patch follow:

Before:
   text	   data	    bss	    dec	    hex	filename
19755448	10376346	 535572	30667366	1d3f266	vmlinux

After:
   text	   data	    bss	    dec	    hex	filename
19769232	10381390	 536212	30686834	1d43e72	vmlinux

difference is 19,468 (dec)

Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
changes in v3:
- add size delta as requested by Nishanth Menon

 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Nishanth Menon Nov. 13, 2020, 5:04 p.m. UTC | #1
On 21:19-20201113, Sekhar Nori wrote:
> From: Faiz Abbas <faiz_abbas@ti.com>
> 
> Add configs to help enable regulators that supply power to the SD card
> on TI's J721e platform. These regulators are controlled by either
> SoC gpios or gpios over i2c expander.
> 
> vmlinux size before and after patch follow:
> 
Sekhar,

> Before:
>    text	   data	    bss	    dec	    hex	filename
> 19755448	10376346	 535572	30667366	1d3f266	vmlinux
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
> 19769232	10381390	 536212	30686834	1d43e72	vmlinux
> 
> difference is 19,468 (dec)
> 
> Acked-by: Tero Kristo <t-kristo@ti.com>
> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> ---
> changes in v3:
> - add size delta as requested by Nishanth Menon

https://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git/commit/?h=ti-k3-config-next&id=6b133f475a97a0839f02e3c0b937886b9adc2933

https://lore.kernel.org/linux-arm-kernel/20201103190821.30937-1-faiz_abbas@ti.com/


Is this a duplicate patch?
> 
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index c5f404ce2eec..e44d3f438530 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -438,6 +438,7 @@ CONFIG_I2C_IMX=y
>  CONFIG_I2C_IMX_LPI2C=y
>  CONFIG_I2C_MESON=y
>  CONFIG_I2C_MV64XXX=y
> +CONFIG_I2C_OMAP=y
>  CONFIG_I2C_OWL=y
>  CONFIG_I2C_PXA=y
>  CONFIG_I2C_QCOM_CCI=m
> @@ -498,6 +499,7 @@ CONFIG_PINCTRL_SDM845=y
>  CONFIG_PINCTRL_SM8150=y
>  CONFIG_PINCTRL_SM8250=y
>  CONFIG_GPIO_ALTERA=m
> +CONFIG_GPIO_DAVINCI=y
>  CONFIG_GPIO_DWAPB=y
>  CONFIG_GPIO_MB86S7X=y
>  CONFIG_GPIO_MPC8XXX=y
> -- 
> 2.17.1
>
Sekhar Nori Nov. 13, 2020, 5:15 p.m. UTC | #2
On 13/11/20 10:34 PM, Nishanth Menon wrote:
> On 21:19-20201113, Sekhar Nori wrote:
>> From: Faiz Abbas <faiz_abbas@ti.com>
>>
>> Add configs to help enable regulators that supply power to the SD card
>> on TI's J721e platform. These regulators are controlled by either
>> SoC gpios or gpios over i2c expander.
>>
>> vmlinux size before and after patch follow:
>>
> Sekhar,
> 
>> Before:
>>    text	   data	    bss	    dec	    hex	filename
>> 19755448	10376346	 535572	30667366	1d3f266	vmlinux
>>
>> After:
>>    text	   data	    bss	    dec	    hex	filename
>> 19769232	10381390	 536212	30686834	1d43e72	vmlinux
>>
>> difference is 19,468 (dec)
>>
>> Acked-by: Tero Kristo <t-kristo@ti.com>
>> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
>> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
>> ---
>> changes in v3:
>> - add size delta as requested by Nishanth Menon
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git/commit/?h=ti-k3-config-next&id=6b133f475a97a0839f02e3c0b937886b9adc2933
> 
> https://lore.kernel.org/linux-arm-kernel/20201103190821.30937-1-faiz_abbas@ti.com/
> 
> 
> Is this a duplicate patch?

Looks like, please discard. For some reason, Faiz's v3 did not show-up
in my inbox and v2 applied cleanly to linux-next/master. So I assume it
was not refreshed.

Thanks,
Sekhar
Nishanth Menon Nov. 13, 2020, 6:33 p.m. UTC | #3
On 22:45-20201113, Sekhar Nori wrote:
> On 13/11/20 10:34 PM, Nishanth Menon wrote:
> > On 21:19-20201113, Sekhar Nori wrote:
> >> From: Faiz Abbas <faiz_abbas@ti.com>
> >>
> >> Add configs to help enable regulators that supply power to the SD card
> >> on TI's J721e platform. These regulators are controlled by either
> >> SoC gpios or gpios over i2c expander.
> >>
> >> vmlinux size before and after patch follow:
> >>
> > Sekhar,
> > 
> >> Before:
> >>    text	   data	    bss	    dec	    hex	filename
> >> 19755448	10376346	 535572	30667366	1d3f266	vmlinux
> >>
> >> After:
> >>    text	   data	    bss	    dec	    hex	filename
> >> 19769232	10381390	 536212	30686834	1d43e72	vmlinux
> >>
> >> difference is 19,468 (dec)
> >>
> >> Acked-by: Tero Kristo <t-kristo@ti.com>
> >> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> >> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> >> ---
> >> changes in v3:
> >> - add size delta as requested by Nishanth Menon
> > 
> > https://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git/commit/?h=ti-k3-config-next&id=6b133f475a97a0839f02e3c0b937886b9adc2933
> > 
> > https://lore.kernel.org/linux-arm-kernel/20201103190821.30937-1-faiz_abbas@ti.com/
> > 
> > 
> > Is this a duplicate patch?
> 
> Looks like, please discard. For some reason, Faiz's v3 did not show-up
> in my inbox and v2 applied cleanly to linux-next/master. So I assume it
> was not refreshed.


OK. Thanks for confirming - keeping Faiz's version in the tree. :)
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index c5f404ce2eec..e44d3f438530 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -438,6 +438,7 @@  CONFIG_I2C_IMX=y
 CONFIG_I2C_IMX_LPI2C=y
 CONFIG_I2C_MESON=y
 CONFIG_I2C_MV64XXX=y
+CONFIG_I2C_OMAP=y
 CONFIG_I2C_OWL=y
 CONFIG_I2C_PXA=y
 CONFIG_I2C_QCOM_CCI=m
@@ -498,6 +499,7 @@  CONFIG_PINCTRL_SDM845=y
 CONFIG_PINCTRL_SM8150=y
 CONFIG_PINCTRL_SM8250=y
 CONFIG_GPIO_ALTERA=m
+CONFIG_GPIO_DAVINCI=y
 CONFIG_GPIO_DWAPB=y
 CONFIG_GPIO_MB86S7X=y
 CONFIG_GPIO_MPC8XXX=y