From: Zain Wang Date: Fri, 18 Mar 2016 13:21:58 +0000 (+0800) Subject: regulator: add devicetree bindings for mp8865 regulators X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ce81f98e5650cdd6b5d1b327dcbc08de7c21640b;p=firefly-linux-kernel-4.4.55.git regulator: add devicetree bindings for mp8865 regulators Change-Id: Ie837faba6a9f599dcfc5cdbdaffe12ca81060957 Signed-off-by: Zain Wang --- diff --git a/Documentation/devicetree/bindings/regulator/mp8865-regulator.txt b/Documentation/devicetree/bindings/regulator/mp8865-regulator.txt new file mode 100644 index 000000000000..a1326956d62a --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/mp8865-regulator.txt @@ -0,0 +1,24 @@ +MPS MP8865 Regulator Driver + +Required properties: +- compatible: "mps,mp8865" +- reg: I2C slave address +- regulators: List of regulators provided by this controller. + The definition for each of these nodes is defined using the standard binding + for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. + +example: + mp8865: mp8865@68 { + compatible = "mps,mp8865"; + reg = <0x68>; + status = "okay"; + regulators { + vdd_gpu: mp8865_dcdc1 { + regulator-name = "vdd_gpu"; + regulator-min-microvolt = <712500>; + regulator-max-microvolt = <1500000>; + regulator-always-on; + regulator-boot-on; + }; + }; + };