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

Sekhar Nori nsekhar at ti.com
Fri Nov 13 10:49:05 EST 2020


From: Faiz Abbas <faiz_abbas at 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 at ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas at ti.com>
Signed-off-by: Sekhar Nori <nsekhar at 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




More information about the linux-arm-kernel mailing list