09da4cf89d
AXP192 is a small and simple power management IC featuring different LDOs, DCDCs, AINs and also GPIOs. It also offers functionaltiy for battery management. This change includes the basic regulator driver functionaltiy for LDO2-3 and DCDC1-3 as well as the mfd driver layer. Further drivers for GPIO and ADC will follow. Drivers have been developed and tested on M5StackCore2, an ESP32-based board. Support for M5StackCore2 is still in progress. Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
24 lines
548 B
Plaintext
24 lines
548 B
Plaintext
# Copyright (c) 2023 Martin Kiepfer
|
|
# SPDX -License-Identifier: Apache-2.0
|
|
|
|
config REGULATOR_AXP192
|
|
bool "X-Power AXP192 PMIC regulator driver"
|
|
default y
|
|
depends on DT_HAS_X_POWERS_AXP192_REGULATOR_ENABLED
|
|
depends on DT_HAS_X_POWERS_AXP192_ENABLED
|
|
select I2C
|
|
select MFD
|
|
help
|
|
Enable the AXP PMIC regulator driver
|
|
|
|
if REGULATOR_AXP192
|
|
|
|
config REGULATOR_AXP192_INIT_PRIORITY
|
|
int "AXP192 regulator driver init priority"
|
|
default 76
|
|
help
|
|
Init priority for the axp192 regulator driver. It must be
|
|
greater than MFD_INIT_PRIORITY.
|
|
|
|
endif
|