Convert CONFIG_POWER_LTC3676 et al to Kconfig

This converts the following to Kconfig:
   CONFIG_POWER_FSL
   CONFIG_POWER_FSL_MC13892
   CONFIG_POWER_HI6553
   CONFIG_POWER_LTC3676
   CONFIG_POWER_PFUZE100
   CONFIG_POWER_PFUZE3000
   CONFIG_POWER_SPI
   CONFIG_POWER_TPS65090_EC
   CONFIG_POWER_TPS65218
   CONFIG_POWER_TPS65910

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-11-19 18:45:15 -05:00
parent 022dc9e505
commit d9feb83505
64 changed files with 101 additions and 52 deletions

View File

@ -61,7 +61,9 @@ obj-$(CONFIG_TARGET_P4080DS) += ics307_clk.o
obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o
obj-$(CONFIG_VSC_CROSSBAR) += vsc3316_3308.o obj-$(CONFIG_VSC_CROSSBAR) += vsc3316_3308.o
obj-$(CONFIG_ZM7300) += zm7300.o obj-$(CONFIG_ZM7300) += zm7300.o
ifeq ($(CONFIG_$(SPL_)POWER_LEGACY),y)
obj-$(CONFIG_POWER_PFUZE100) += pfuze.o obj-$(CONFIG_POWER_PFUZE100) += pfuze.o
endif
obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze.o obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze.o
obj-$(CONFIG_POWER_MC34VR500) += mc34vr500.o obj-$(CONFIG_POWER_MC34VR500) += mc34vr500.o
ifneq (,$(filter $(SOC), imx8ulp imx9)) ifneq (,$(filter $(SOC), imx8ulp imx9))

View File

@ -79,6 +79,7 @@ CONFIG_PHY_SMSC=y
CONFIG_DM_MDIO=y CONFIG_DM_MDIO=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -76,6 +76,7 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_DM_PMIC=y CONFIG_DM_PMIC=y
# CONFIG_SPL_DM_PMIC is not set # CONFIG_SPL_DM_PMIC is not set
CONFIG_PMIC_TPS65217=y CONFIG_PMIC_TPS65217=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -102,6 +102,7 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_DM_PMIC=y CONFIG_DM_PMIC=y
# CONFIG_SPL_DM_PMIC is not set # CONFIG_SPL_DM_PMIC is not set
CONFIG_PMIC_TPS65217=y CONFIG_PMIC_TPS65217=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -93,6 +93,7 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_DM_PMIC=y CONFIG_DM_PMIC=y
# CONFIG_SPL_DM_PMIC is not set # CONFIG_SPL_DM_PMIC is not set
CONFIG_PMIC_TPS65217=y CONFIG_PMIC_TPS65217=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -80,6 +80,7 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_DM_PMIC=y CONFIG_DM_PMIC=y
# CONFIG_SPL_DM_PMIC is not set # CONFIG_SPL_DM_PMIC is not set
CONFIG_PMIC_TPS65217=y CONFIG_PMIC_TPS65217=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -81,6 +81,7 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_DM_PMIC=y CONFIG_DM_PMIC=y
# CONFIG_SPL_DM_PMIC is not set # CONFIG_SPL_DM_PMIC is not set
CONFIG_PMIC_TPS65217=y CONFIG_PMIC_TPS65217=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -75,6 +75,7 @@ CONFIG_PHY_SMSC=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_PMIC_TPS65217=y CONFIG_PMIC_TPS65217=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -88,6 +88,8 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_PHY=y CONFIG_PHY=y
CONFIG_SPL_PHY=y CONFIG_SPL_PHY=y
CONFIG_OMAP_USB2_PHY=y CONFIG_OMAP_USB2_PHY=y
CONFIG_POWER_TPS65218=y
CONFIG_POWER_TPS62362=y
CONFIG_DM_SERIAL=y CONFIG_DM_SERIAL=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_TI_QSPI=y CONFIG_TI_QSPI=y

View File

@ -53,6 +53,8 @@ CONFIG_SF_DEFAULT_SPEED=48000000
CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_POWER_TPS65218=y
CONFIG_POWER_TPS62362=y
CONFIG_SYS_NS16550_SERIAL=y CONFIG_SYS_NS16550_SERIAL=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_TI_QSPI=y CONFIG_TI_QSPI=y

View File

@ -72,6 +72,8 @@ CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_PHY_GIGE=y CONFIG_PHY_GIGE=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_POWER_TPS65218=y
CONFIG_POWER_TPS62362=y
CONFIG_DM_SERIAL=y CONFIG_DM_SERIAL=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_TI_QSPI=y CONFIG_TI_QSPI=y

View File

@ -91,6 +91,8 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_PHY=y CONFIG_PHY=y
CONFIG_SPL_PHY=y CONFIG_SPL_PHY=y
CONFIG_OMAP_USB2_PHY=y CONFIG_OMAP_USB2_PHY=y
CONFIG_POWER_TPS65218=y
CONFIG_POWER_TPS62362=y
CONFIG_DM_SERIAL=y CONFIG_DM_SERIAL=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_TI_QSPI=y CONFIG_TI_QSPI=y

View File

@ -86,6 +86,8 @@ CONFIG_DRIVER_TI_CPSW=y
CONFIG_PHY=y CONFIG_PHY=y
CONFIG_SPL_PHY=y CONFIG_SPL_PHY=y
CONFIG_OMAP_USB2_PHY=y CONFIG_OMAP_USB2_PHY=y
CONFIG_POWER_TPS65218=y
CONFIG_POWER_TPS62362=y
CONFIG_DM_SERIAL=y CONFIG_DM_SERIAL=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_TI_QSPI=y CONFIG_TI_QSPI=y

View File

@ -55,6 +55,8 @@ CONFIG_SF_DEFAULT_SPEED=48000000
CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_POWER_TPS65218=y
CONFIG_POWER_TPS62362=y
CONFIG_SYS_NS16550_SERIAL=y CONFIG_SYS_NS16550_SERIAL=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_TI_QSPI=y CONFIG_TI_QSPI=y

View File

@ -95,6 +95,7 @@ CONFIG_PHY_ATHEROS=y
CONFIG_FEC_MXC=y CONFIG_FEC_MXC=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y

View File

@ -95,6 +95,7 @@ CONFIG_PHY_ATHEROS=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_TPS65218=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_DM_SERIAL=y CONFIG_DM_SERIAL=y
CONFIG_SPI=y CONFIG_SPI=y

View File

@ -119,6 +119,8 @@ CONFIG_PCIE_IMX=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_LTC3676=y
CONFIG_POWER_PFUZE100=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y

View File

@ -123,6 +123,8 @@ CONFIG_PCIE_IMX=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_LTC3676=y
CONFIG_POWER_PFUZE100=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y

View File

@ -129,6 +129,8 @@ CONFIG_PCIE_IMX=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_LTC3676=y
CONFIG_POWER_PFUZE100=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y

View File

@ -34,6 +34,7 @@ CONFIG_HIKEY_GPIO=y
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MMC_DW_K3=y CONFIG_MMC_DW_K3=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_HI6553=y
CONFIG_CONS_INDEX=4 CONFIG_CONS_INDEX=4
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y

View File

@ -88,6 +88,7 @@ CONFIG_PINCTRL_IMX8M=y
CONFIG_SPL_POWER_LEGACY=y CONFIG_SPL_POWER_LEGACY=y
CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN=y
CONFIG_IMX8M_POWER_DOMAIN=y CONFIG_IMX8M_POWER_DOMAIN=y
CONFIG_POWER_PFUZE100=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y CONFIG_DM_REGULATOR_GPIO=y

View File

@ -95,6 +95,7 @@ CONFIG_PINCTRL_IMX8M=y
CONFIG_SPL_POWER_LEGACY=y CONFIG_SPL_POWER_LEGACY=y
CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN=y
CONFIG_IMX8M_POWER_DOMAIN=y CONFIG_IMX8M_POWER_DOMAIN=y
CONFIG_POWER_PFUZE100=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y CONFIG_DM_REGULATOR_GPIO=y

View File

@ -54,6 +54,8 @@ CONFIG_POWER_LEGACY=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y CONFIG_DM_REGULATOR_GPIO=y
CONFIG_POWER_FSL=y
CONFIG_POWER_SPI=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_MXC_SPI=y CONFIG_MXC_SPI=y

View File

@ -58,6 +58,7 @@ CONFIG_POWER_LEGACY=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y CONFIG_DM_REGULATOR_GPIO=y
CONFIG_POWER_FSL=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_USB=y CONFIG_USB=y

View File

@ -95,6 +95,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE100=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y

View File

@ -102,6 +102,7 @@ CONFIG_PCIE_IMX=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE100=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y

View File

@ -79,6 +79,7 @@ CONFIG_PCIE_IMX=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE100=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_DM_THERMAL=y CONFIG_DM_THERMAL=y

View File

@ -56,6 +56,7 @@ CONFIG_SPI_FLASH_WINBOND=y
CONFIG_PHY_SMSC=y CONFIG_PHY_SMSC=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -83,6 +83,7 @@ CONFIG_SYS_NAND_U_BOOT_OFFS=0x20000
CONFIG_DM_SPI_FLASH=y CONFIG_DM_SPI_FLASH=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -84,6 +84,7 @@ CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x100000
CONFIG_DM_SPI_FLASH=y CONFIG_DM_SPI_FLASH=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y CONFIG_DRIVER_TI_CPSW=y
CONFIG_SPL_POWER_TPS65910=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y CONFIG_OMAP3_SPI=y

View File

@ -81,6 +81,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7=y CONFIG_PINCTRL_IMX7=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_IMX_THERMAL=y CONFIG_IMX_THERMAL=y

View File

@ -81,6 +81,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7=y CONFIG_PINCTRL_IMX7=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_IMX_THERMAL=y CONFIG_IMX_THERMAL=y

View File

@ -77,6 +77,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7=y CONFIG_PINCTRL_IMX7=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_CONS_INDEX=4 CONFIG_CONS_INDEX=4
CONFIG_MXC_UART=y CONFIG_MXC_UART=y

View File

@ -81,6 +81,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7=y CONFIG_PINCTRL_IMX7=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_IMX_THERMAL=y CONFIG_IMX_THERMAL=y

View File

@ -81,6 +81,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7=y CONFIG_PINCTRL_IMX7=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_IMX_THERMAL=y CONFIG_IMX_THERMAL=y

View File

@ -81,6 +81,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX7=y CONFIG_PINCTRL_IMX7=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_MXC_UART=y CONFIG_MXC_UART=y
CONFIG_IMX_THERMAL=y CONFIG_IMX_THERMAL=y

View File

@ -57,6 +57,7 @@ CONFIG_MII=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE3000=y
CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_ANATOP=y CONFIG_DM_REGULATOR_ANATOP=y

View File

@ -89,6 +89,7 @@ CONFIG_PCIE_IMX=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y CONFIG_PINCTRL_IMX6=y
CONFIG_POWER_LEGACY=y CONFIG_POWER_LEGACY=y
CONFIG_POWER_PFUZE100=y
CONFIG_POWER_I2C=y CONFIG_POWER_I2C=y
CONFIG_PWM_IMX=y CONFIG_PWM_IMX=y
CONFIG_DM_SERIAL=y CONFIG_DM_SERIAL=y

View File

@ -430,6 +430,10 @@ config PALMAS_POWER
bool "Palmas power support" bool "Palmas power support"
depends on OMAP54XX depends on OMAP54XX
config POWER_FSL
bool "Power control (legacy) for Freescale / NXP platforms"
depends on POWER_LEGACY
config POWER_I2C config POWER_I2C
bool "I2C-based power control for legacy power" bool "I2C-based power control for legacy power"
depends on POWER_LEGACY depends on POWER_LEGACY
@ -440,6 +444,10 @@ config POWER_I2C
Not to be used for new designs and existing ones should be moved to Not to be used for new designs and existing ones should be moved to
the new PMIC interface based on driver model. the new PMIC interface based on driver model.
config POWER_SPI
bool "SPI-based power control for legacy power_fsl driver"
depends on POWER_FSL && !POWER_I2C
config SPL_POWER_I2C config SPL_POWER_I2C
bool "I2C-based power control for legacy power" bool "I2C-based power control for legacy power"
depends on SPL_POWER_LEGACY depends on SPL_POWER_LEGACY
@ -451,4 +459,17 @@ config SPL_POWER_I2C
Not to be used for new designs and existing ones should be moved to Not to be used for new designs and existing ones should be moved to
the new PMIC interface based on driver model. the new PMIC interface based on driver model.
choice
prompt "PMIC chip"
default POWER_FSL_MC13892
depends on POWER_FSL && POWER_I2C
config POWER_FSL_MC13892
bool "MC13892"
config POWER_FSL_MC34704
bool "MC34704"
endchoice
endif endif

View File

@ -393,8 +393,35 @@ config PMIC_TPS65217
only, and you can enable the regulator/charger drivers separately if only, and you can enable the regulator/charger drivers separately if
required. required.
config POWER_TPS65218
bool "Enable legacy driver for TPS65218 PMIC"
config POWER_TPS62362
bool "Enable legacy driver for TPS62362 PMIC"
config SPL_POWER_TPS62362
bool "Enable legacy driver for TPS62362 PMIC in SPL"
default y if POWER_TPS62362
depends on SPL
config SPL_POWER_TPS65910
bool "Enable legacy driver for TPS65910 PMIC in SPL"
depends on SPL
if POWER_LEGACY || SPL_POWER_LEGACY if POWER_LEGACY || SPL_POWER_LEGACY
config POWER_HI6553
bool "Enable legacy driver for HI6553 PMIC"
config POWER_LTC3676
bool "Enable legacy driver for LTC3676 PMIC"
config POWER_PFUZE100
bool "Enable legacy driver for PFUZE100 PMIC"
config POWER_PFUZE3000
bool "Enable legacy driver for PFUZE3000 PMIC"
config POWER_MC34VR500 config POWER_MC34VR500
bool "Enable driver for Freescale MC34VR500 PMIC" bool "Enable driver for Freescale MC34VR500 PMIC"
---help--- ---help---

View File

@ -33,6 +33,7 @@ obj-$(CONFIG_PMIC_STPMIC1) += stpmic1.o
obj-$(CONFIG_PMIC_TPS65217) += pmic_tps65217.o obj-$(CONFIG_PMIC_TPS65217) += pmic_tps65217.o
obj-$(CONFIG_PMIC_TPS65219) += tps65219.o obj-$(CONFIG_PMIC_TPS65219) += tps65219.o
obj-$(CONFIG_PMIC_TPS65941) += tps65941.o obj-$(CONFIG_PMIC_TPS65941) += tps65941.o
obj-$(CONFIG_POWER_TPS65218) += pmic_tps65218.o
ifeq ($(CONFIG_$(SPL_)POWER_LEGACY),y) ifeq ($(CONFIG_$(SPL_)POWER_LEGACY),y)
obj-$(CONFIG_POWER_LTC3676) += pmic_ltc3676.o obj-$(CONFIG_POWER_LTC3676) += pmic_ltc3676.o
@ -40,9 +41,9 @@ obj-$(CONFIG_POWER_MUIC_MAX8997) += muic_max8997.o
obj-$(CONFIG_POWER_PCA9450) += pmic_pca9450.o obj-$(CONFIG_POWER_PCA9450) += pmic_pca9450.o
obj-$(CONFIG_POWER_PFUZE100) += pmic_pfuze100.o obj-$(CONFIG_POWER_PFUZE100) += pmic_pfuze100.o
obj-$(CONFIG_POWER_PFUZE3000) += pmic_pfuze3000.o obj-$(CONFIG_POWER_PFUZE3000) += pmic_pfuze3000.o
obj-$(CONFIG_POWER_TPS62362) += pmic_tps62362.o
obj-$(CONFIG_POWER_TPS65218) += pmic_tps65218.o
obj-$(CONFIG_POWER_TPS65910) += pmic_tps65910.o
obj-$(CONFIG_POWER_HI6553) += pmic_hi6553.o obj-$(CONFIG_POWER_HI6553) += pmic_hi6553.o
obj-$(CONFIG_POWER_MC34VR500) += pmic_mc34vr500.o obj-$(CONFIG_POWER_MC34VR500) += pmic_mc34vr500.o
endif endif
obj-$(CONFIG_$(SPL_)POWER_TPS62362) += pmic_tps62362.o
obj-$(CONFIG_SPL_POWER_TPS65910) += pmic_tps65910.o

View File

@ -49,8 +49,6 @@ int pmic_init(unsigned char bus)
p->interface = PMIC_I2C; p->interface = PMIC_I2C;
p->hw.i2c.addr = CFG_SYS_FSL_PMIC_I2C_ADDR; p->hw.i2c.addr = CFG_SYS_FSL_PMIC_I2C_ADDR;
p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH; p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH;
#else
#error "You must select CONFIG_POWER_SPI or CONFIG_POWER_I2C"
#endif #endif
return 0; return 0;

View File

@ -165,9 +165,6 @@
#define CFG_SYS_NS16550_COM5 0x481a8000 /* UART4 */ #define CFG_SYS_NS16550_COM5 0x481a8000 /* UART4 */
#define CFG_SYS_NS16550_COM6 0x481aa000 /* UART5 */ #define CFG_SYS_NS16550_COM6 0x481aa000 /* UART5 */
/* PMIC support */
#define CONFIG_POWER_TPS65910
#ifdef CONFIG_MTD_RAW_NAND #ifdef CONFIG_MTD_RAW_NAND
/* NAND: device related configs */ /* NAND: device related configs */
/* NAND: driver related configs */ /* NAND: driver related configs */

View File

@ -43,11 +43,4 @@
#define CFG_SYS_NS16550_COM5 0x481a8000 /* UART4 */ #define CFG_SYS_NS16550_COM5 0x481a8000 /* UART4 */
#define CFG_SYS_NS16550_COM6 0x481aa000 /* UART5 */ #define CFG_SYS_NS16550_COM6 0x481aa000 /* UART5 */
/* PMIC support */
#define CONFIG_POWER_TPS65910
/* SPL */
/* Network. */
#endif /* ! __CONFIG_AM335X_SL50_H */ #endif /* ! __CONFIG_AM335X_SL50_H */

View File

@ -16,14 +16,6 @@
/* NS16550 Configuration */ /* NS16550 Configuration */
#define CFG_SYS_NS16550_CLK 48000000 #define CFG_SYS_NS16550_CLK 48000000
/* I2C Configuration */
/* Power */
#define CONFIG_POWER_TPS65218
#define CONFIG_POWER_TPS62362
/* SPL defines. */
/* Enabling L2 Cache */ /* Enabling L2 Cache */
#define CFG_SYS_PL310_BASE 0x48242000 #define CFG_SYS_PL310_BASE 0x48242000

View File

@ -188,9 +188,6 @@
#define CFG_SYS_NS16550_COM5 0x481a8000 /* UART4 */ #define CFG_SYS_NS16550_COM5 0x481a8000 /* UART4 */
#define CFG_SYS_NS16550_COM6 0x481aa000 /* UART5 */ #define CFG_SYS_NS16550_COM6 0x481aa000 /* UART5 */
/* PMIC support */
#define CONFIG_POWER_TPS65910
/* SPL */ /* SPL */
#ifndef CONFIG_NOR_BOOT #ifndef CONFIG_NOR_BOOT

View File

@ -19,7 +19,6 @@
#define IMX_FEC_BASE ENET_IPS_BASE_ADDR #define IMX_FEC_BASE ENET_IPS_BASE_ADDR
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE3000
#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
#define CONFIG_PCA953X #define CONFIG_PCA953X

View File

@ -28,9 +28,6 @@
42, 43, 44, 45, 46, 47, 48, 49, \ 42, 43, 44, 45, 46, 47, 48, 49, \
50, 51, 52, 53, 54, 55, 56, 57, } 50, 51, 52, 53, 54, 55, 56, 57, }
/* Power */
#define CONFIG_POWER_TPS65218
/* Enabling L2 Cache */ /* Enabling L2 Cache */
#define CFG_SYS_PL310_BASE 0x48242000 #define CFG_SYS_PL310_BASE 0x48242000

View File

@ -17,7 +17,6 @@
#define CFG_SYS_FSL_USDHC_NUM 2 #define CFG_SYS_FSL_USDHC_NUM 2
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
/* Commands */ /* Commands */

View File

@ -30,9 +30,7 @@
/* /*
* PMIC * PMIC
*/ */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
#define CONFIG_POWER_LTC3676
#define CONFIG_POWER_LTC3676_I2C_ADDR 0x3c #define CONFIG_POWER_LTC3676_I2C_ADDR 0x3c
/* Various command support */ /* Various command support */

View File

@ -13,8 +13,6 @@
#include <linux/sizes.h> #include <linux/sizes.h>
#define CONFIG_POWER_HI6553
/* Physical Memory Map */ /* Physical Memory Map */
/* CONFIG_TEXT_BASE needs to align with where ATF loads bl33.bin */ /* CONFIG_TEXT_BASE needs to align with where ATF loads bl33.bin */

View File

@ -18,7 +18,6 @@
#define CONFIG_MALLOC_F_ADDR 0x182000 #define CONFIG_MALLOC_F_ADDR 0x182000
/* For RAW image gives a error info not panic */ /* For RAW image gives a error info not panic */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
#endif #endif

View File

@ -20,7 +20,6 @@
/* For RAW image gives a error info not panic */ /* For RAW image gives a error info not panic */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
#endif #endif

View File

@ -21,8 +21,6 @@
#define CONFIG_MXC_UART_BASE UART1_BASE #define CONFIG_MXC_UART_BASE UART1_BASE
/* PMIC Controller */ /* PMIC Controller */
#define CONFIG_POWER_SPI
#define CONFIG_POWER_FSL
#define CONFIG_FSL_PMIC_BUS 0 #define CONFIG_FSL_PMIC_BUS 0
#define CONFIG_FSL_PMIC_CS 0 #define CONFIG_FSL_PMIC_CS 0
#define CONFIG_FSL_PMIC_CLK 2500000 #define CONFIG_FSL_PMIC_CLK 2500000

View File

@ -22,8 +22,6 @@
#define CONFIG_MXC_USB_FLAGS 0 #define CONFIG_MXC_USB_FLAGS 0
/* PMIC Controller */ /* PMIC Controller */
#define CONFIG_POWER_FSL
#define CONFIG_POWER_FSL_MC13892
#define CFG_SYS_DIALOG_PMIC_I2C_ADDR 0x48 #define CFG_SYS_DIALOG_PMIC_I2C_ADDR 0x48
#define CFG_SYS_FSL_PMIC_I2C_ADDR 0x8 #define CFG_SYS_FSL_PMIC_I2C_ADDR 0x8

View File

@ -37,7 +37,6 @@
/* DMA stuff, needed for GPMI/MXS NAND support */ /* DMA stuff, needed for GPMI/MXS NAND support */
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
#endif /* __MX6SABREAUTO_CONFIG_H */ #endif /* __MX6SABREAUTO_CONFIG_H */

View File

@ -25,7 +25,6 @@
#endif #endif
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
/* USB Configs */ /* USB Configs */

View File

@ -50,7 +50,6 @@
#endif #endif
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
/* UART */ /* UART */

View File

@ -22,8 +22,6 @@
#define CFG_SYS_SDRAM_BASE 0x20000000 #define CFG_SYS_SDRAM_BASE 0x20000000
#define CONFIG_POWER_TPS65090_EC
/* DRAM Memory Banks */ /* DRAM Memory Banks */
#define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */ #define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */

View File

@ -79,8 +79,6 @@
#define V_OSCK 25000000 /* Clock output from T2 */ #define V_OSCK 25000000 /* Clock output from T2 */
#define V_SCLK V_OSCK #define V_SCLK V_OSCK
#define CONFIG_POWER_TPS65910
#ifdef CONFIG_MTD_RAW_NAND #ifdef CONFIG_MTD_RAW_NAND
/* NAND: device related configs */ /* NAND: device related configs */
/* NAND: driver related configs */ /* NAND: driver related configs */

View File

@ -98,7 +98,6 @@
#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE3000
#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
/* FLASH and environment organization */ /* FLASH and environment organization */

View File

@ -31,7 +31,6 @@
#define CONFIG_I2C_MULTI_BUS #define CONFIG_I2C_MULTI_BUS
#if !defined(CONFIG_DM_PMIC) #if !defined(CONFIG_DM_PMIC)
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
#define TQMA6_PFUZE100_I2C_BUS 2 #define TQMA6_PFUZE100_I2C_BUS 2
#endif #endif

View File

@ -62,7 +62,6 @@
#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE3000
#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
#define PFUZE3000_I2C_BUS 0 #define PFUZE3000_I2C_BUS 0

View File

@ -31,7 +31,6 @@
#define CFG_SYS_FSL_ESDHC_ADDR USDHC4_BASE_ADDR #define CFG_SYS_FSL_ESDHC_ADDR USDHC4_BASE_ADDR
/* PMIC */ /* PMIC */
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
/* Network */ /* Network */