1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/qcom,wcd934x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bindings for Qualcomm WCD9340/WCD9341 Audio Codec
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-Fi audio codec IC.
14 It has in-built Soundwire controller, pin controller, interrupt mux and
15 supports both I2S/I2C and SLIMbus audio interfaces.
28 description: GPIO spec for reset line to use
40 description: A reference to the 1.8V buck supply
43 description: A reference to the 1.8V SIDO buck supply
46 description: A reference to the 1.8V rx supply
49 description: A reference to the 1.8V tx supply
52 description: A reference to the vbat supply
55 description: A reference to the 1.8V I/O supply
58 description: A reference to the micbias supply
60 qcom,micbias1-microvolt:
61 description: micbias1 voltage
65 qcom,micbias2-microvolt:
66 description: micbias2 voltage
70 qcom,micbias3-microvolt:
71 description: micbias3 voltage
75 qcom,micbias4-microvolt:
76 description: micbias4 voltage
84 description: Clock frequency of output clk in Hz
86 interrupt-controller: true
105 $ref: ../gpio/qcom,wcd934x-gpio.yaml#
111 WCD934x subnode for each slave devices. Bindings of each subnodes
112 depends on the specific driver providing the functionality and
113 documented in their respective bindings.
128 - interrupt-controller
131 - qcom,micbias1-microvolt
132 - qcom,micbias2-microvolt
133 - qcom,micbias3-microvolt
134 - qcom,micbias4-microvolt
141 additionalProperties: false
146 compatible = "slim217,250";
148 reset-gpios = <&tlmm 64 0>;
149 slim-ifc-dev = <&wcd9340_ifd>;
150 #sound-dai-cells = <1>;
151 interrupt-parent = <&tlmm>;
153 interrupt-controller;
154 #interrupt-cells = <1>;
156 clock-frequency = <9600000>;
157 clock-output-names = "mclk";
158 qcom,micbias1-microvolt = <1800000>;
159 qcom,micbias2-microvolt = <1800000>;
160 qcom,micbias3-microvolt = <1800000>;
161 qcom,micbias4-microvolt = <1800000>;
162 clock-names = "extclk";
163 clocks = <&rpmhcc 2>;
165 #address-cells = <1>;
169 compatible = "qcom,wcd9340-gpio";