Johan Hovold
d939c02359
dt-bindings: regulator: qcom,usb-vbus-regulator: clean up example
...
Devicetree node names should be generic; fix up the
qcom,usb-vbus-regulator binding example accordingly.
While at it, drop an unnecessary label and add a newline separator
before the child node to improve readability.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Link: https://msgid.link/r/20231219075749.25308-1-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-12-19 13:23:58 +00:00
Bryan O'Donoghue
581d79f7de
dt-bindings: regulator: qcom,usb-vbus-regulator: Mark regulator-*-microamp required
...
The VBUS driver needs to know the regulator-min-microamp and
regulator-max-microamp so they should both be marked as required.
regulator.yaml defines those two dependencies so include regulator.yaml.
We need to change from additionalProperties: false to
unevaluatedProperties: false.
Reviewed-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-3-bryan.odonoghue@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-05-29 15:18:57 +01:00
Bryan O'Donoghue
4c186faa7b
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 >
2023-05-29 15:18:56 +01:00
Luca Weiss
d13da2f4c8
regulator: dt-bindings: qcom,usb-vbus-regulator: change node name
...
usb-vbus-regulator is a better generic node name than dcdc to change the
example to match.
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Luca Weiss <luca@z3ntu.xyz >
Link: https://lore.kernel.org/r/20221229191542.123367-1-luca@z3ntu.xyz
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-12-29 19:21:46 +00:00
Wesley Cheng
e059da384f
dt-bindings: Update QCOM USB subsystem maintainer information
...
Update devicetree binding files with the proper maintainer, and updated
contact email.
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220603021432.13365-1-quic_wcheng@quicinc.com
2022-06-06 08:30:51 -05:00
Wesley Cheng
a824bab7c6
regulator: Add dt-binding for QCOM PMIC VBUS output regulator
...
This describes how to enable the Qualcomm PMIC VBUS booster used for
providing power to connected USB peripherals when the USB role is host
mode. The driver itself will register the vbus_usb regulator, so that
external drivers can utilize the enable/disable regulator APIs.
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org >
Link: https://lore.kernel.org/r/20200626185516.18018-6-wcheng@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2020-07-01 18:07:20 +01:00