Skip to content

Commit bd42511

Browse files
wensLee Jones
authored andcommitted
mfd: axp20x: Add bindings for AXP809 PMIC
This patch adds the basic and regulator bindings for the X-Powers AXP809 PMIC. Also update the DC-DC converter operating frequency for AXP22X/AXP80X. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent 20147f0 commit bd42511

1 file changed

Lines changed: 29 additions & 2 deletions

File tree

‎Documentation/devicetree/bindings/mfd/axp20x.txt‎

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ axp202 (X-Powers)
66
axp209 (X-Powers)
77
axp221 (X-Powers)
88
axp223 (X-Powers)
9+
axp809 (X-Powers)
910

1011
Required properties:
1112
- compatible: "x-powers,axp152", "x-powers,axp202", "x-powers,axp209",
12-
"x-powers,axp221", "x-powers,axp223"
13+
"x-powers,axp221", "x-powers,axp223", "x-powers,axp809"
1314
- reg: The I2C slave address or RSB hardware address for the AXP chip
1415
- interrupt-parent: The parent interrupt controller
1516
- interrupts: SoC NMI / GPIO interrupt connected to the PMIC's IRQ pin
@@ -18,7 +19,9 @@ Required properties:
1819

1920
Optional properties:
2021
- x-powers,dcdc-freq: defines the work frequency of DC-DC in KHz
21-
(range: 750-1875). Default: 1.5MHz
22+
AXP152/20X: range: 750-1875, Default: 1.5 MHz
23+
AXP22X/80X: range: 1800-4050, Default: 3 MHz
24+
2225
- <input>-supply: a phandle to the regulator supply node. May be omitted if
2326
inputs are unregulated, such as using the IPSOUT output
2427
from the PMIC.
@@ -77,6 +80,30 @@ LDO_IO0 : LDO : ips-supply : GPIO 0
7780
LDO_IO1 : LDO : ips-supply : GPIO 1
7881
RTC_LDO : LDO : ips-supply : always on
7982

83+
AXP809 regulators, type, and corresponding input supply names:
84+
85+
Regulator Type Supply Name Notes
86+
--------- ---- ----------- -----
87+
DCDC1 : DC-DC buck : vin1-supply
88+
DCDC2 : DC-DC buck : vin2-supply
89+
DCDC3 : DC-DC buck : vin3-supply
90+
DCDC4 : DC-DC buck : vin4-supply
91+
DCDC5 : DC-DC buck : vin5-supply
92+
DC1SW : On/Off Switch : : DCDC1 secondary output
93+
DC5LDO : LDO : : input from DCDC5
94+
ALDO1 : LDO : aldoin-supply : shared supply
95+
ALDO2 : LDO : aldoin-supply : shared supply
96+
ALDO3 : LDO : aldoin-supply : shared supply
97+
DLDO1 : LDO : dldoin-supply : shared supply
98+
DLDO2 : LDO : dldoin-supply : shared supply
99+
ELDO1 : LDO : eldoin-supply : shared supply
100+
ELDO2 : LDO : eldoin-supply : shared supply
101+
ELDO3 : LDO : eldoin-supply : shared supply
102+
LDO_IO0 : LDO : ips-supply : GPIO 0
103+
LDO_IO1 : LDO : ips-supply : GPIO 1
104+
RTC_LDO : LDO : ips-supply : always on
105+
SW : On/Off Switch : swin-supply
106+
80107
Example:
81108

82109
axp209: pmic@34 {

0 commit comments

Comments
 (0)