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

mfd: Add documentation for ACT8945A DT bindings

The Active-semi ACT8945A PMIC is a Multi-Function Device, it has
two subdevices:
- Regulator
- Charger

This patch adds documentation for ACT8945A DT bindings.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Wenyou Yang and committed by
Lee Jones
2cd9ad0c b25c6b7d

+76
+76
Documentation/devicetree/bindings/mfd/act8945a.txt
··· 1 + Device-Tree bindings for Active-semi ACT8945A MFD driver 2 + 3 + Required properties: 4 + - compatible: "active-semi,act8945a". 5 + - reg: the I2C slave address for the ACT8945A chip 6 + 7 + The chip exposes two subdevices: 8 + - a regulators: see ../regulator/act8945a-regulator.txt 9 + - a charger: see ../power/act8945a-charger.txt 10 + 11 + Example: 12 + pmic@5b { 13 + compatible = "active-semi,act8945a"; 14 + reg = <0x5b>; 15 + status = "okay"; 16 + 17 + pinctrl-names = "default"; 18 + pinctrl-0 = <&pinctrl_charger_chglev>; 19 + active-semi,chglev-gpio = <&pioA 12 GPIO_ACTIVE_HIGH>; 20 + active-semi,input-voltage-threshold-microvolt = <6600>; 21 + active-semi,precondition-timeout = <40>; 22 + active-semi,total-timeout = <3>; 23 + 24 + active-semi,vsel-high; 25 + 26 + regulators { 27 + vdd_1v35_reg: REG_DCDC1 { 28 + regulator-name = "VDD_1V35"; 29 + regulator-min-microvolt = <1350000>; 30 + regulator-max-microvolt = <1350000>; 31 + regulator-always-on; 32 + }; 33 + 34 + vdd_1v2_reg: REG_DCDC2 { 35 + regulator-name = "VDD_1V2"; 36 + regulator-min-microvolt = <1100000>; 37 + regulator-max-microvolt = <1300000>; 38 + regulator-always-on; 39 + }; 40 + 41 + vdd_3v3_reg: REG_DCDC3 { 42 + regulator-name = "VDD_3V3"; 43 + regulator-min-microvolt = <3300000>; 44 + regulator-max-microvolt = <3300000>; 45 + regulator-always-on; 46 + }; 47 + 48 + vdd_fuse_reg: REG_LDO1 { 49 + regulator-name = "VDD_FUSE"; 50 + regulator-min-microvolt = <2500000>; 51 + regulator-max-microvolt = <2500000>; 52 + regulator-always-on; 53 + }; 54 + 55 + vdd_3v3_lp_reg: REG_LDO2 { 56 + regulator-name = "VDD_3V3_LP"; 57 + regulator-min-microvolt = <3300000>; 58 + regulator-max-microvolt = <3300000>; 59 + regulator-always-on; 60 + }; 61 + 62 + vdd_led_reg: REG_LDO3 { 63 + regulator-name = "VDD_LED"; 64 + regulator-min-microvolt = <3300000>; 65 + regulator-max-microvolt = <3300000>; 66 + regulator-always-on; 67 + }; 68 + 69 + vdd_sdhc_1v8_reg: REG_LDO4 { 70 + regulator-name = "VDD_SDHC_1V8"; 71 + regulator-min-microvolt = <1800000>; 72 + regulator-max-microvolt = <1800000>; 73 + regulator-always-on; 74 + }; 75 + }; 76 + };