diff --git a/bindings/soc/qcom/qcom,wcd939x-i2c.yaml b/bindings/soc/qcom/qcom,wcd939x-i2c.yaml new file mode 100644 index 00000000..92f9ca16 --- /dev/null +++ b/bindings/soc/qcom/qcom,wcd939x-i2c.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,wcd939x-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. (QTI) WCD9395 Device + +description: This device is used for switching orientation of USB-C + analog and for display. It uses I2C communication to set the + registers to configure the switches inside the WCD9395 chip to + change orientation and also to set SBU1/SBU2 connections of USB-C. + +properties: + compatible: + enum: + - qcom,wcd939x-i2c + + reg: + maxItems: 1 + + vdd-usb-cp-supply: + maxItems: 1 + +required: +- compatible +- reg +- vdd-usb-cp-supply + +additionalProperties: false + +examples: + - | + wcd9395_i2c@e { + compatible = "qcom,wcd939x-i2c"; + reg = <0xe>; + vdd-usb-cp-supply = <&L15B>; + }; +... \ No newline at end of file