regulator: axp20x: add support for the AXP717
authorAndre Przywara <andre.przywara@arm.com>
Sun, 10 Mar 2024 01:02:11 +0000 (01:02 +0000)
committerLee Jones <lee@kernel.org>
Thu, 28 Mar 2024 09:51:03 +0000 (09:51 +0000)
commitd2ac3df75c3a995064cfac0171e082a30d8c4c66
tree1e5fa7af43f0d7780b7531c40eecd19e4c96ed94
parentb5bfc8ab2484e8e62ae3ffccaecfe5d82c19f51f
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>
drivers/regulator/axp20x-regulator.c
include/linux/mfd/axp20x.h