[PATCH v2 13/13] configs: j721s2_evm: Enable TP6594 PMIC and AVS0

Jerome Neanne jneanne at baylibre.com
Fri Apr 7 15:33:47 CEST 2023


From: Esteban Blanc <eblanc at baylibre.com>

Add support for TPS6594 family regulators and watchdog.
Add support for AVS0.
PMIC is controlled by SoC through I2C interface.

Add dm, pmic and regulators commands to allow testing.

Signed-off-by: Esteban Blanc <eblanc at baylibre.com>
Signed-off-by: Jerome Neanne <jneanne at baylibre.com>
---
 configs/j721s2_evm_a72_defconfig | 8 ++++++++
 configs/j721s2_evm_r5_defconfig  | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/configs/j721s2_evm_a72_defconfig b/configs/j721s2_evm_a72_defconfig
index 3a91df71d3..f37b4a596d 100644
--- a/configs/j721s2_evm_a72_defconfig
+++ b/configs/j721s2_evm_a72_defconfig
@@ -210,3 +210,11 @@ CONFIG_UFS=y
 CONFIG_CADENCE_UFS=y
 CONFIG_TI_J721E_UFS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_DM_PMIC=y
+CONFIG_PMIC_TPS65941=y
+CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_TPS65941=y
+CONFIG_CMD_PMIC=y
+CONFIG_CMD_REGULATOR=y
+CONFIG_CMD_DM=y
+CONFIG_OF_PLATDATA=y
diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig
index 343e3c1630..b4c67a0bcb 100644
--- a/configs/j721s2_evm_r5_defconfig
+++ b/configs/j721s2_evm_r5_defconfig
@@ -178,3 +178,10 @@ CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
 CONFIG_PANIC_HANG=y
 CONFIG_LIB_RATIONAL=y
 CONFIG_SPL_LIB_RATIONAL=y
+CONFIG_K3_AVS0=y
+CONFIG_CPU_V7R=y
+CONFIG_DM_PMIC=y
+CONFIG_PMIC_TPS65941=y
+CONFIG_DM_REGULATOR=y
+CONFIG_SPL_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_TPS65941=y
\ No newline at end of file
-- 
2.34.1



More information about the U-Boot mailing list