Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mfd: axp20x: Introduce bindings for AXP813

The X-Powers AXP813 is a PMIC designed to be paired with Allwinner's
A83T SoC. There is also an AXP818, which is paired with the H8 SoC.

The two models seem to be identical, apart from the external markings.

This patch introduces the basic mfd and regulator bindings for the
AXP813.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Chen-Yu Tsai and committed by
Lee Jones
462ae141 7303733a

+44 -5
+44 -5
Documentation/devicetree/bindings/mfd/axp20x.txt
··· 9 9 axp803 (X-Powers) 10 10 axp806 (X-Powers) 11 11 axp809 (X-Powers) 12 + axp813 (X-Powers) 13 + 14 + The AXP813 is 2 chips packaged into 1. The 2 chips do not share anything 15 + other than the packaging. Pins are routed separately. As such they should 16 + be treated as separate entities. The other half is an AC100 RTC/codec 17 + combo chip. Please see ./ac100.txt for its bindings. 12 18 13 19 Required properties: 14 20 - compatible: should be one of: ··· 26 20 * "x-powers,axp803" 27 21 * "x-powers,axp806" 28 22 * "x-powers,axp809" 23 + * "x-powers,axp813" 29 24 - reg: The I2C slave address or RSB hardware address for the AXP chip 30 25 - interrupt-parent: The parent interrupt controller 31 26 - interrupts: SoC NMI / GPIO interrupt connected to the PMIC's IRQ pin ··· 36 29 Optional properties: 37 30 - x-powers,dcdc-freq: defines the work frequency of DC-DC in KHz 38 31 AXP152/20X: range: 750-1875, Default: 1.5 MHz 39 - AXP22X/80X: range: 1800-4050, Default: 3 MHz 32 + AXP22X/8XX: range: 1800-4050, Default: 3 MHz 40 33 41 - - x-powers,drive-vbus-en: axp221 / axp223 only boolean, set this when the 42 - N_VBUSEN pin is used as an output pin to control an external 43 - regulator to drive the OTG VBus, rather then as an input pin 44 - which signals whether the board is driving OTG VBus or not. 34 + - x-powers,drive-vbus-en: boolean, set this when the N_VBUSEN pin is 35 + used as an output pin to control an external 36 + regulator to drive the OTG VBus, rather then 37 + as an input pin which signals whether the 38 + board is driving OTG VBus or not. 39 + (axp221 / axp223 / axp813 only) 45 40 46 41 - x-powers,master-mode: Boolean (axp806 only). Set this when the PMIC is 47 42 wired for master mode. The default is slave mode. ··· 180 171 LDO_IO1 : LDO : ips-supply : GPIO 1 181 172 RTC_LDO : LDO : ips-supply : always on 182 173 SW : On/Off Switch : swin-supply 174 + 175 + AXP813 regulators, type, and corresponding input supply names: 176 + 177 + Regulator Type Supply Name Notes 178 + --------- ---- ----------- ----- 179 + DCDC1 : DC-DC buck : vin1-supply 180 + DCDC2 : DC-DC buck : vin2-supply : poly-phase capable 181 + DCDC3 : DC-DC buck : vin3-supply : poly-phase capable 182 + DCDC4 : DC-DC buck : vin4-supply 183 + DCDC5 : DC-DC buck : vin5-supply : poly-phase capable 184 + DCDC6 : DC-DC buck : vin6-supply : poly-phase capable 185 + DCDC7 : DC-DC buck : vin7-supply 186 + ALDO1 : LDO : aldoin-supply : shared supply 187 + ALDO2 : LDO : aldoin-supply : shared supply 188 + ALDO3 : LDO : aldoin-supply : shared supply 189 + DLDO1 : LDO : dldoin-supply : shared supply 190 + DLDO2 : LDO : dldoin-supply : shared supply 191 + DLDO3 : LDO : dldoin-supply : shared supply 192 + DLDO4 : LDO : dldoin-supply : shared supply 193 + ELDO1 : LDO : eldoin-supply : shared supply 194 + ELDO2 : LDO : eldoin-supply : shared supply 195 + ELDO3 : LDO : eldoin-supply : shared supply 196 + FLDO1 : LDO : fldoin-supply : shared supply 197 + FLDO2 : LDO : fldoin-supply : shared supply 198 + FLDO3 : LDO : fldoin-supply : shared supply 199 + LDO_IO0 : LDO : ips-supply : GPIO 0 200 + LDO_IO1 : LDO : ips-supply : GPIO 1 201 + RTC_LDO : LDO : ips-supply : always on 202 + SW : On/Off Switch : swin-supply 203 + DRIVEVBUS : Enable output : drivevbus-supply : external regulator 183 204 184 205 Example: 185 206