]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
regulator: dt-bindings: cros-ec: Add regulator supply
authorChen-Yu Tsai <wenst@chromium.org>
Fri, 20 Mar 2026 08:31:32 +0000 (16:31 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 23 Mar 2026 22:38:54 +0000 (22:38 +0000)
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>
Link: https://patch.msgid.link/20260320083135.2455444-2-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/google,cros-ec-regulator.yaml

index 5a6491a81fda09429e3c707bfa8b3a0c0f0a4522..c2bafbc1e9e1ddef5c5803291acf0a077f4101f9 100644 (file)
@@ -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>;
             };
         };
     };