u-boot/arch/arm/mach-imx/mxs/Kconfig
Lukasz Majewski 249a3cc1af arm: mxs: Provide Kconfig option to disable battery charging at IMX28 PMU
This new Kconfig option allows disabling the in-PMU battery charging
block. This may be required when DCDC_BAT source is powered not from
battery, but from already regulated, good quality source.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
2023-07-11 14:40:03 +02:00

69 lines
1.1 KiB
Text

if ARCH_MX23
config MX23
bool
default y
choice
prompt "MX23 board select"
optional
config TARGET_MX23_OLINUXINO
bool "Support mx23_olinuxino"
select BOARD_EARLY_INIT_F
config TARGET_MX23EVK
bool "Support mx23evk"
select BOARD_EARLY_INIT_F
config TARGET_XFI3
bool "Support xfi3"
endchoice
config SYS_SOC
default "mxs"
source "board/olimex/mx23_olinuxino/Kconfig"
source "board/freescale/mx23evk/Kconfig"
endif
if ARCH_MX28
config MX28
bool
default y
choice
prompt "MX28 board select"
optional
config TARGET_MX28EVK
bool "Support mx28evk"
select BOARD_EARLY_INIT_F
config TARGET_XEA
bool "Support XEA"
endchoice
config SYS_SOC
default "mxs"
config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
bool "Force minimal current draw from VDD5V by MX28 PMU"
default n
help
After setting this option, the current drawn from VDD5V
by the PMU is reduced to zero - the DCDC_BATT is used as
the main power source for PMU.
config SPL_MXS_PMU_DISABLE_BATT_CHARGE
bool "Disable Battery Charging in MX28 PMU"
default n
source "board/freescale/mx28evk/Kconfig"
source "board/liebherr/xea/Kconfig"
endif