linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] arm64: defconfig: Enable GPIO and I2C configs for TI's J721e platform
@ 2020-11-03 19:08 Faiz Abbas
  2020-11-12 17:51 ` Nishanth Menon
  0 siblings, 1 reply; 6+ messages in thread
From: Faiz Abbas @ 2020-11-03 19:08 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel
  Cc: will, catalin.marinas, nm, t-kristo, faiz_abbas

Add configs to 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.

Changes to vmlinux size:
Before:
   text	    data     bss       dec       hex	  filename
20219067  10875634  523924   31618625   1e27641	  vmlinux

After:
   text     data     bss	dec	 hex	  filename
20228755  10880422  524628   31633805	1e2b18d   vmlinux

delta: 15180 (dec)

Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
---

Changes in v3: Added changes to vmlinux size in commit message

Changes in v2: Squashed changes into a single patch

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

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

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

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5cfe3cf6f2ac..bbf42faaddfe 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
@@ -497,6 +498,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


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH v3] arm64: defconfig: Enable GPIO and I2C configs for TI's J721e platform
@ 2020-11-13 15:49 Sekhar Nori
  2020-11-13 17:04 ` Nishanth Menon
  0 siblings, 1 reply; 6+ messages in thread
From: Sekhar Nori @ 2020-11-13 15:49 UTC (permalink / raw)
  To: Nishanth Menon
  Cc: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel, Faiz Abbas

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(+)

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-13 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 19:08 [PATCH v3] arm64: defconfig: Enable GPIO and I2C configs for TI's J721e platform Faiz Abbas
2020-11-12 17:51 ` Nishanth Menon
2020-11-13 15:49 Sekhar Nori
2020-11-13 17:04 ` Nishanth Menon
2020-11-13 17:15   ` Sekhar Nori
2020-11-13 18:33     ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).