]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_POWER_PCA9450 to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 21:42:26 +0000 (16:42 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 15:31:48 +0000 (10:31 -0500)
This converts the following to Kconfig:
   CONFIG_POWER_PCA9450

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/imx8mp-icore-mx8mp-edimm2.2_defconfig
configs/imx8mp_evk_defconfig
configs/phycore-imx8mp_defconfig
configs/verdin-imx8mp_defconfig
drivers/power/pmic/Kconfig
include/configs/imx8mp_evk.h
include/configs/imx8mp_icore_mx8mp.h
include/configs/phycore_imx8mp.h
include/configs/verdin-imx8mp.h

index f679fbe251454dd2cc5a744a54b335ef92be005e..e3588473d59f7845a5b2a74ccbe7156ae486a4c5 100644 (file)
@@ -99,6 +99,7 @@ CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 CONFIG_PINCTRL_IMX8M=y
 CONFIG_SPL_POWER_LEGACY=y
+CONFIG_POWER_PCA9450=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
index 91ec39d0237491b07b6aa13f9df12565f9cbaa59..10802eb9619515e8a305061f28742f722d1164d4 100644 (file)
@@ -99,6 +99,7 @@ CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 CONFIG_PINCTRL_IMX8M=y
 CONFIG_SPL_POWER_LEGACY=y
+CONFIG_POWER_PCA9450=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
index 248631b7a8fd6aaeb40907de113aafb8498e21e4..82e4f1ed970acf222924c43aac3367dc7ca84334 100644 (file)
@@ -107,6 +107,7 @@ CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 CONFIG_PINCTRL_IMX8M=y
 CONFIG_SPL_POWER_LEGACY=y
+CONFIG_POWER_PCA9450=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
index bae8179bfde5f5d61a2f980ddefe16718b3481e0..153c7c15197da040ef2a1fabc7237731163ec5bb 100644 (file)
@@ -143,6 +143,7 @@ CONFIG_SPL_POWER_LEGACY=y
 CONFIG_POWER_DOMAIN=y
 CONFIG_IMX8M_POWER_DOMAIN=y
 CONFIG_IMX8MP_HSIOMIX_BLKCTRL=y
+CONFIG_POWER_PCA9450=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
index d94048db5f7edc4ac4a707d6d4becf47222467fe..176fb07c651a55af1ae70fca86136a19d6fee2eb 100644 (file)
@@ -416,6 +416,9 @@ config POWER_HI6553
 config POWER_LTC3676
        bool "Enable legacy driver for LTC3676 PMIC"
 
+config POWER_PCA9450
+       bool "Enable legacy driver for PCA9450 PMIC"
+
 config POWER_PFUZE100
        bool "Enable legacy driver for PFUZE100 PMIC"
 
index 738677ff37cd99180a557ec4673d2a30bf246f61..137bd3b095272e5bf93cfd1c457bf9bd497df2fa 100644 (file)
 
 #define CFG_SYS_UBOOT_BASE     (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
 
-#ifdef CONFIG_SPL_BUILD
-/*#define CONFIG_ENABLE_DDR_TRAINING_DEBUG*/
-
-
-#define CONFIG_POWER_PCA9450
-
-#endif
-
 #if defined(CONFIG_CMD_NET)
 #define CONFIG_FEC_MXC_PHYADDR          1
 
index d67bad8971ddf392f58701e8b77db20a5787c1df..b261a81e44a47dff517d1cc85528572858d20c0d 100644 (file)
 
 #define CFG_SYS_UBOOT_BASE     (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
 
-#ifdef CONFIG_SPL_BUILD
-/*#define CONFIG_ENABLE_DDR_TRAINING_DEBUG*/
-
-#define CONFIG_POWER_PCA9450
-
-#endif
-
 #if defined(CONFIG_CMD_NET)
 #define CONFIG_FEC_MXC_PHYADDR          1
 
index 11a833bb12761b85b9093bfc70b62be0e1a1d27c..7a38382034a69adf0c27fc87c8beccb0f98f550e 100644 (file)
 #define CFG_SYS_UBOOT_BASE \
                (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
 
-#ifdef CONFIG_SPL_BUILD
-
-#define CONFIG_POWER_PCA9450
-
-#endif
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "image=Image\0" \
        "console=ttymxc0,115200\0" \
index 88839a6e561ac070caf5f22514a37368f9a0bc35..22dc364223ce1cb427348293d73c27d7459f4a95 100644 (file)
@@ -19,9 +19,6 @@
 #define CONFIG_MALLOC_F_ADDR                           0x184000
 /* For RAW image gives a error info not panic */
 
-#define CONFIG_POWER_PCA9450
-
-#define CONFIG_SYS_I2C
 #endif /* CONFIG_SPL_BUILD */
 
 #define MEM_LAYOUT_ENV_SETTINGS \