From c482333df082bab427fd1bcfcff2dd8e3935f5e6 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Tue, 4 Feb 2025 19:38:13 +0100 Subject: [PATCH] configs/ti_am62ax_sk_defconfig: Fix kernel configuration The k3-am62a7-sk.dts describes an I2C PMIC TPS659312 which features a number of regulators. One of them, ldo1, is used as power supply for the SD card host controller regulator. When the rootfs is on the SD card (like with this configuration), we need support for these three components (Regulator driver, I2C PMIC glue and PMIC MFD driver) to be built-in in order to avoid boot failures. Tested on an AM62A LP SK. Signed-off-by: Miquel Raynal Reviewed-by: Bryan Brattlof Signed-off-by: Romain Naour (cherry picked from commit 8ba6459ac1413afa72124bc6387a4f3ac4306914) Signed-off-by: Peter Korsgaard --- board/ti/am62ax-sk/linux.config | 3 +++ configs/ti_am62ax_sk_defconfig | 1 + 2 files changed, 4 insertions(+) create mode 100644 board/ti/am62ax-sk/linux.config diff --git a/board/ti/am62ax-sk/linux.config b/board/ti/am62ax-sk/linux.config new file mode 100644 index 0000000000..b0f9d1b737 --- /dev/null +++ b/board/ti/am62ax-sk/linux.config @@ -0,0 +1,3 @@ +CONFIG_MFD_TPS6594=y +CONFIG_MFD_TPS6594_I2C=y +CONFIG_REGULATOR_TPS6594=y diff --git a/configs/ti_am62ax_sk_defconfig b/configs/ti_am62ax_sk_defconfig index 1144577942..68a0e0fb9d 100644 --- a/configs/ti_am62ax_sk_defconfig +++ b/configs/ti_am62ax_sk_defconfig @@ -10,6 +10,7 @@ BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/ti/am62ax-sk/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am62a7-sk" BR2_TARGET_ROOTFS_EXT2=y