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

regulator: act8865: add device tree binding doc

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Wenyou Yang and committed by
Mark Brown
cbfadd3d 33036f48

+61
+60
Documentation/devicetree/bindings/regulator/act8865-regulator.txt
··· 1 + ACT8865 regulator 2 + ------------------- 3 + 4 + Required properties: 5 + - compatible: "active-semi,act8865" 6 + - reg: I2C slave address 7 + 8 + Any standard regulator properties can be used to configure the single regulator. 9 + 10 + The valid names for regulators are: 11 + DCDC_REG1, DCDC_REG2, DCDC_REG3, LDO_REG1, LDO_REG2, LDO_REG3, LDO_REG4. 12 + 13 + Example: 14 + -------- 15 + 16 + i2c1: i2c@f0018000 { 17 + pmic: act8865@5b { 18 + compatible = "active-semi,act8865"; 19 + reg = <0x5b>; 20 + status = "disabled"; 21 + 22 + regulators { 23 + vcc_1v8_reg: DCDC_REG1 { 24 + regulator-name = "VCC_1V8"; 25 + regulator-min-microvolt = <1800000>; 26 + regulator-max-microvolt = <1800000>; 27 + regulator-always-on; 28 + }; 29 + 30 + vcc_1v2_reg: DCDC_REG2 { 31 + regulator-name = "VCC_1V2"; 32 + regulator-min-microvolt = <1100000>; 33 + regulator-max-microvolt = <1300000>; 34 + regulator-suspend-mem-microvolt = <1150000>; 35 + regulator-suspend-standby-microvolt = <1150000>; 36 + regulator-always-on; 37 + }; 38 + 39 + vcc_3v3_reg: DCDC_REG3 { 40 + regulator-name = "VCC_3V3"; 41 + regulator-min-microvolt = <3300000>; 42 + regulator-max-microvolt = <3300000>; 43 + regulator-always-on; 44 + }; 45 + 46 + vddana_reg: LDO_REG1 { 47 + regulator-name = "VDDANA"; 48 + regulator-min-microvolt = <3300000>; 49 + regulator-max-microvolt = <3300000>; 50 + regulator-always-on; 51 + }; 52 + 53 + vddfuse_reg: LDO_REG2 { 54 + regulator-name = "FUSE_2V5"; 55 + regulator-min-microvolt = <2500000>; 56 + regulator-max-microvolt = <2500000>; 57 + }; 58 + }; 59 + }; 60 + };
+1
Documentation/devicetree/bindings/vendor-prefixes.txt
··· 3 3 This isn't an exhaustive list, but you should add new prefixes to it before 4 4 using them to avoid name-space collisions. 5 5 6 + active-semi Active-Semi International Inc 6 7 ad Avionic Design GmbH 7 8 adi Analog Devices, Inc. 8 9 aeroflexgaisler Aeroflex Gaisler AB