]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: axp20x: Add support for AXP323
authorAndre Przywara <andre.przywara@arm.com>
Mon, 7 Oct 2024 00:14:07 +0000 (01:14 +0100)
committerLee Jones <lee@kernel.org>
Thu, 31 Oct 2024 15:51:29 +0000 (15:51 +0000)
commit35fec94afe045856456faca4879b9c560e39d1e3
tree94e4e09eeb5fc74b7ba5ad57cccebbdaf94a7b43
parente37ec32188701efa01455b9be42a392adab06ce4
mfd: axp20x: Add support for AXP323

The X-Powers AXP323 is a very close sibling of the AXP313A. The only
difference seems to be the ability to dual-phase the first two DC/DC
converter, which adds another register.

Add the required boilerplate to introduce a new PMIC to the AXP MFD
driver. Where possible, this just maps into the existing structs defined
for the AXP313A, only deviating where needed.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20241007001408.27249-5-andre.przywara@arm.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/axp20x-i2c.c
drivers/mfd/axp20x.c
include/linux/mfd/axp20x.h