diff options
author | Abel Vesa <abel.vesa@linaro.org> | 2022-11-12 00:06:30 +0200 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2022-12-29 17:32:51 +0200 |
commit | 45e6c177a5987eda6db9a2a13ab7e9ddbebd651f (patch) | |
tree | 4736673a7573657e583ade6cc5ada4704b00da25 | |
parent | b23c32f2c50c083842531d4f69fb3546db601bd3 (diff) |
dt-bindings: usb: Add qcom,snps-eusb2-repeater schema
Add dt-binding schema for the Qualcomm SNPS eUSB2 repeater.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/usb/qcom,snps-eusb2-repeater.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-eusb2-repeater.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-eusb2-repeater.yaml new file mode 100644 index 000000000000..f2b5ace675eb --- /dev/null +++ b/Documentation/devicetree/bindings/usb/qcom,snps-eusb2-repeater.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/qcom,snps-eusb2-repeater.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Synopsis eUSB2 to USB 2.0 repeater + +maintainers: + - Abel Vesa <abel.vesa@linaro.org> + +properties: + compatible: + const: qcom,pm8550b-eusb2-repeater + + reg: + maxItems: 1 + + vdd18-supply: true + + vdd3-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include <dt-bindings/spmi/spmi.h> + pm8550b: pmic@7 { + compatible = "qcom,pm8550", "qcom,spmi-pmic"; + reg = <0x7 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8550b_eusb2_repeater: usb-repeater@fd00 { + compatible = "qcom,pm8550b-eusb2-repeater"; + reg = <0xfd00>; + }; + }; +... |