Even a regulator remotely controlled by the EC will have a power supply
input.
Add a property to describe the power supply input.
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
---
.../bindings/regulator/google,cros-ec-regulator.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
index 5a6491a81fda..c2bafbc1e9e1 100644
--- a/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml
@@ -24,6 +24,9 @@ properties:
maxItems: 1
description: Identifier for the voltage regulator to ChromeOS EC.
+ vin-supply:
+ description: Input supply phandle
+
required:
- compatible
- reg@@ -48,6 +51,7 @@ examples:
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
reg = <0>;
+ vin-supply = <&pp4200_s5>;
};
};
};--
2.53.0.959.g497ff81fa9-goog