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

regulator: max8925: update dt regulator binding doc

remove linux specific references, enumerates all supported
regulators

Signed-off-by: Qing Xu <qingx@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

authored by

Qing Xu and committed by
Mark Brown
560615ef 45b6f8e8

+31 -20
+31 -20
Documentation/devicetree/bindings/regulator/max8925-regulator.txt
··· 1 1 Max8925 Voltage regulators 2 2 3 - max8925 regulator device register is still handled by mfd_add_devices, not by 4 - of_xxx, so, it is not necessary to add compatible name. Also, those reg 5 - offset and id info is stored in mfd_cell(see max8925-core.c), as a result 6 - there is not private properties in dts. 7 - 8 - node's name should match with the definition in max8925_regulator_matches 9 - (see max8925-regulator.c) 10 - 3 + Required nodes: 4 + -nodes: 5 + - SDV1 for SDV SDV1 6 + - SDV2 for SDV SDV2 7 + - SDV3 for SDV SDV3 8 + - LDO1 for LDO LDO1 9 + - LDO2 for LDO LDO2 10 + - LDO3 for LDO LDO3 11 + - LDO4 for LDO LDO4 12 + - LDO5 for LDO LDO5 13 + - LDO6 for LDO LDO6 14 + - LDO7 for LDO LDO7 15 + - LDO8 for LDO LDO8 16 + - LDO9 for LDO LDO9 17 + - LDO10 for LDO LDO10 18 + - LDO11 for LDO LDO11 19 + - LDO12 for LDO LDO12 20 + - LDO13 for LDO LDO13 21 + - LDO14 for LDO LDO14 22 + - LDO15 for LDO LDO15 23 + - LDO16 for LDO LDO16 24 + - LDO17 for LDO LDO17 25 + - LDO18 for LDO LDO18 26 + - LDO19 for LDO LDO19 27 + - LDO20 for LDO LDO20 11 28 12 29 Optional properties: 13 30 - Any optional property defined in bindings/regulator/regulator.txt 14 31 15 - 16 32 Example: 17 33 34 + SDV1 { 35 + regulator-min-microvolt = <637500>; 36 + regulator-max-microvolt = <1425000>; 37 + regulator-boot-on; 38 + regulator-always-on; 39 + }; 18 40 19 - regulators { 20 - SDV1 { 21 - regulator-min-microvolt = <637500>; 22 - regulator-max-microvolt = <1425000>; 23 - regulator-boot-on; 24 - regulator-always-on; 25 - }; 26 - 27 - ... 28 - ... 29 - }