Re: [PATCH 0/2] Enable GPIO and I2C configs for TI's J721e platform

From: Tero Kristo
Date: Tue Oct 06 2020 - 09:11:00 EST


On 06/10/2020 16:03, Faiz Abbas wrote:
Hi Tero,

On 06/10/20 5:21 pm, Tero Kristo wrote:
On 02/10/2020 19:45, Faiz Abbas wrote:
The following patches enable configs in the arm64 defconfig to support
GPIO and I2C support on TI's J721e platform.

Faiz Abbas (2):
   arm64: defconfig: Enable OMAP I2C driver
   arm64: defconfig: Enable DAVINCI_GPIO driver

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


Why are you enabling these?

Are they required for booting the board?

If not, they shall not be enabled, as it just clutters the arm64 defconfig unnecessarily.


They are required because the SD card regulators need gpio over i2c expander and also
soc gpio support to come up in UHS modes.

Is that needed for boot support? If it is only needed with UHS cards, that does not seem important enough for me. We can already boot the board via other means.


But in general isn't any feature we add supposed to be enabled in the arm64 defconfig?

That is debatable, as it just increases the kernel size / build time for everybody. Personally I would merge only things that are absolutely necessary, for everything else we can just do local config modifications.

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki