regulator: axp20x: add support for the AXP717
The X-Powers AXP717 is a typical PMIC from X-Powers, featuring four DC/DC converters and 15 LDOs, on the regulator side. Describe the chip's voltage settings and switch registers, how the voltages are encoded, and connect this to the MFD device via its regulator ID. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Mark Brown <broonie@kernel.org> Tested-by: Ryan Walklin <ryan@testtoast.com> Link: https://lore.kernel.org/r/20240310010211.28653-5-andre.przywara@arm.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
committed by
Lee Jones
parent
b5bfc8ab24
commit
d2ac3df75c
@@ -466,6 +466,27 @@ enum {
|
||||
AXP313A_REG_ID_MAX,
|
||||
};
|
||||
|
||||
enum {
|
||||
AXP717_DCDC1 = 0,
|
||||
AXP717_DCDC2,
|
||||
AXP717_DCDC3,
|
||||
AXP717_DCDC4,
|
||||
AXP717_ALDO1,
|
||||
AXP717_ALDO2,
|
||||
AXP717_ALDO3,
|
||||
AXP717_ALDO4,
|
||||
AXP717_BLDO1,
|
||||
AXP717_BLDO2,
|
||||
AXP717_BLDO3,
|
||||
AXP717_BLDO4,
|
||||
AXP717_CLDO1,
|
||||
AXP717_CLDO2,
|
||||
AXP717_CLDO3,
|
||||
AXP717_CLDO4,
|
||||
AXP717_CPUSLDO,
|
||||
AXP717_REG_ID_MAX,
|
||||
};
|
||||
|
||||
enum {
|
||||
AXP806_DCDCA = 0,
|
||||
AXP806_DCDCB,
|
||||
|
||||
Reference in New Issue
Block a user