diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2023-05-15 14:36:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-29 15:18:56 +0100 |
commit | 4c186faa7bb36d457939dd5bd4b8e6d5f9251cd6 (patch) | |
tree | c58f16b309cb0704072999cf4c7bec93983a54b2 /Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml | |
parent | 3524fe31538c1a1de1da2571b1f313f9469edf51 (diff) | |
download | linux-stable-4c186faa7bb36d457939dd5bd4b8e6d5f9251cd6.tar.gz linux-stable-4c186faa7bb36d457939dd5bd4b8e6d5f9251cd6.tar.bz2 linux-stable-4c186faa7bb36d457939dd5bd4b8e6d5f9251cd6.zip |
dt-bindings: regulator: qcom,usb-vbus-regulator: Mark reg as required
The regulator code needs to know the location of the register to write to
to switch on/off. Right now we have a driver that does this, a yaml that
partially describes it and no dts that uses it.
Switching on the VBUS for sm8250 shows that we haven't documented reg as a
required property, do so now.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230515133643.3621656-2-bryan.odonoghue@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml index b1cff3adb21b..7a3b59f83609 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml @@ -25,6 +25,7 @@ properties: required: - compatible + - reg additionalProperties: false |