Convert CONFIG_TPS6586X_POWER et al to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:35 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:08:37 +0000 (16:08 -0500)
This converts the following to Kconfig:
   CONFIG_TPS6586X_POWER
   CONFIG_TWL6030_POWER

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/omap4_panda_defconfig
configs/omap4_sdp4430_defconfig
configs/seaboard_defconfig
drivers/power/Kconfig
include/configs/seaboard.h
include/configs/ti_omap4_common.h

index 0cae1c6..79807f1 100644 (file)
@@ -45,6 +45,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_MMC_OMAP_HS=y
+CONFIG_TWL6030_POWER=y
 CONFIG_CONS_INDEX=3
 CONFIG_SYS_NS16550_SERIAL=y
 CONFIG_USB=y
index e15c6d5..e2f1bc6 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_MMC_OMAP_HS=y
+CONFIG_TWL6030_POWER=y
 CONFIG_CONS_INDEX=3
 CONFIG_SYS_NS16550_SERIAL=y
 CONFIG_USB=y
index 686a3c0..2375040 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_SYS_NAND_ONFI_DETECTION=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_TPS6586X_POWER=y
 CONFIG_PWM_TEGRA=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
index 5dbcde3..7f3b990 100644 (file)
@@ -411,6 +411,9 @@ config SY8106A_VOUT1_VOLT
        is typically used to power the VDD-CPU and should be 1200mV.
        Values can range from 680mV till 1950mV.
 
+config TPS6586X_POWER
+       bool "Enable legacy driver for TI TPS6586x power management chip"
+
 config TWL4030_POWER
        depends on OMAP34XX
        bool "Enable driver for TI TWL4030 power management chip"
@@ -419,6 +422,10 @@ config TWL4030_POWER
        The TWL4030 in a combination audio CODEC/power management with
        GPIO and it is commonly used with the OMAP3 family of processors
 
+config TWL6030_POWER
+       depends on OMAP44XX
+       bool "Enable driver for TI TWL6030 power management chip"
+
 config POWER_MT6323
        bool "Poweroff driver for mediatek mt6323"
        select CMD_POWEROFF
index 4887747..73b738b 100644 (file)
@@ -12,7 +12,6 @@
 /* LP0 suspend / resume */
 #define CONFIG_TEGRA_LP0
 #define CONFIG_TEGRA_PMU
-#define CONFIG_TPS6586X_POWER
 #define CONFIG_TEGRA_CLOCK_SCALING
 
 #include "tegra20-common.h"
index 9a068e2..64ec59d 100644 (file)
@@ -32,9 +32,6 @@
 #define CFG_SYS_NS16550_COM3           UART3_BASE
 #endif
 
-/* TWL6030 */
-#define CONFIG_TWL6030_POWER           1
-
 /*
  * Environment setup
  */