arm-trusted-firmware/plat/allwinner
Andre Przywara 03851367db feat(allwinner): h616: add support for AXP313 PMIC
Many newer boards with the H616 and its sibling H618 are now paired
with the X-Powers AXP313 PMIC. This is a simpler PMIC, with only a few
voltage rails and no extra functionality except the power key support.
In contrast to the AXP305 it can only be controlled via I2C.

Add a check to look for the AXP313 compatible string in the devicetree,
and set the PMIC type and I2C address accordingly, if one is found.
With only very few voltage rails available, all of them are mostly in
use and are thus enabled at reset already, so we can skip the regulator
setup entirely.

Change-Id: I01962854109e43793b4f56553c1ca9e1f752e30d
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2024-07-09 15:55:23 +02:00
..
common fix(allwinner): remove unneeded header inclusion 2024-06-10 15:56:29 +01:00
sun50i_a64 feat(allwinner): add function to detect H616 die variant 2023-04-26 17:45:29 +01:00
sun50i_h6 feat(allwinner): add function to detect H616 die variant 2023-04-26 17:45:29 +01:00
sun50i_h616 feat(allwinner): h616: add support for AXP313 PMIC 2024-07-09 15:55:23 +02:00
sun50i_r329 refactor(allwinner): consolidate sunxi_cfg.h files 2023-04-26 17:45:29 +01:00