summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYixun Lan <[email protected]>2026-01-13 12:01:55 +0800
committerAndre Przywara <[email protected]>2026-01-25 23:29:32 +0000
commit71f07932756fa9f414146618c02ed299d565f092 (patch)
treead52fef143b31ce2715aa783a065cd29cbb2b6a8 /include
parenteb7390797d262eaab589a4d4e71fbb0c156bd61c (diff)
power: regulator: add AXP318W support
The PMIC is also known as AXP819 in vendor pmu code For DCDC6, 8, 9, the underlying hardware support more than two levels voltage step tuning, but for now only first two levels are implemented in this driver, hence highest voltage will be limited at seccond level. It actual meets board requirement in current design, and we've verified it in Radxa Cubie A7A board. Following are detail explanation of voltage tuning stpes for those DCDCs: DCDC | voltage range | units | steps | implemented 6 | 0.5 - 1.2 | 10 mV | 71 | Y . | 1.22 - 1.54 | 20 mV | 17 | Y . | 1.8 - 2.4 | 20 mV | 31 | N . | 2.44 - 2.76 | 40 mV | 9 | N -------------------------------------------------- 8/9 | 0.5 - 1.2 | 10 mV | 71 | Y . | 1.22 - 1.84 | 20 mV | 32 | Y . | 1.9 - 3.4 | 100mV | 16 | N Signed-off-by: Yixun Lan <[email protected]> Reviewed-by: Andre Przywara <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/axp_pmic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/axp_pmic.h b/include/axp_pmic.h
index 1806a7270a0..2f547da74c2 100644
--- a/include/axp_pmic.h
+++ b/include/axp_pmic.h
@@ -39,6 +39,7 @@ enum {
AXP806_ID,
AXP809_ID,
AXP813_ID,
+ AXP318_ID,
};
int axp_set_dcdc1(unsigned int mvolt);