[PATCH 4/4] configs: j721e_evm_defconfig: Enable PCA953x IO expander

Faiz Abbas faiz_abbas at ti.com
Tue Jan 28 10:34:13 CET 2020


Hi Vignesh,

On 27/01/20 11:22 pm, Vignesh Raghavendra wrote:
> Enable PCA953x IO expander to control MMC/SD power lines.
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
> ---
>  configs/j721e_evm_a72_defconfig | 4 ++++
>  configs/j721e_evm_r5_defconfig  | 1 +
>  2 files changed, 5 insertions(+)
> 
> diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig
> index 162fa3b53caf..c9591eb25723 100644
> --- a/configs/j721e_evm_a72_defconfig
> +++ b/configs/j721e_evm_a72_defconfig
> @@ -1,5 +1,6 @@
>  CONFIG_ARM=y
>  CONFIG_ARCH_K3=y
> +CONFIG_SPL_GPIO_SUPPORT=y
>  CONFIG_SPL_LIBCOMMON_SUPPORT=y
>  CONFIG_SPL_LIBGENERIC_SUPPORT=y
>  CONFIG_SYS_MALLOC_F_LEN=0x8000
> @@ -43,6 +44,7 @@ CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_DFU=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
> +CONFIG_CMD_GPIO=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_MTD=y
> @@ -89,6 +91,8 @@ CONFIG_FASTBOOT_FLASH=y
>  CONFIG_FASTBOOT_FLASH_MMC_DEV=0
>  CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
>  CONFIG_TI_SCI_PROTOCOL=y
> +CONFIG_DM_GPIO=y
> +CONFIG_DM_PCA953X=y
>  CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_OMAP24XX=y
>  CONFIG_DM_MAILBOX=y
> diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig
> index 116470fb5e47..19fbd450c754 100644
> --- a/configs/j721e_evm_r5_defconfig
> +++ b/configs/j721e_evm_r5_defconfig
> @@ -66,6 +66,7 @@ CONFIG_SPL_CLK=y
>  CONFIG_CLK_TI_SCI=y
>  CONFIG_TI_SCI_PROTOCOL=y
>  CONFIG_DA8XX_GPIO=y
> +CONFIG_DM_PCA953X=y

You also need to enable SPL_DM_PCA953X for this to work in SPL.

Thanks,
Faiz


More information about the U-Boot mailing list