3 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, supports
4 Qualcomm Technologies, Inc. (QTI) multimedia solutions, including
5 the MSM8996, MSM8976, and MSM8956 chipsets. It has in-built
6 Soundwire controller, interrupt mux. It supports both I2S/I2C and
7 SLIMbus audio interfaces.
9 Required properties with SLIMbus Interface:
13 Value type: <stringlist>
14 Definition: For SLIMbus interface it should be "slimMID,PID",
15 textual representation of Manufacturer ID, Product Code,
16 shall be in lower case hexadecimal with leading zeroes
17 suppressed. Refer to slimbus/bus.txt for details.
19 "slim217,1a0" for MSM8996 and APQ8096 SoCs with SLIMbus.
24 Definition: Should be ('Device index', 'Instance ID')
28 Value type: <prop-encoded-array>
29 Definition: Interrupts via WCD INTR1 and INTR2 pins
33 Value type: <String array>
34 Definition: Interrupt names of WCD INTR1 and INTR2
35 Should be: "intr1", "intr2"
39 Value type: <String Array>
40 Definition: Reset gpio line
45 Definition: SLIM interface device
49 Value type: <prop-encoded-array>
50 Definition: See clock-bindings.txt section "consumers". List of
51 three clock specifiers for mclk, mclk2 and slimbus clock.
56 Definition: Must contain "mclk", "mclk2" and "slimbus" strings.
61 Definition: Should contain a reference to the 1.8V buck supply
63 - vdd-buck-sido-supply:
66 Definition: Should contain a reference to the 1.8V SIDO buck supply
71 Definition: Should contain a reference to the 1.8V rx supply
76 Definition: Should contain a reference to the 1.8V tx supply
81 Definition: Should contain a reference to the vbat supply
86 Definition: Should contain a reference to the micbias supply
91 Definition: Should contain a reference to the 1.8V io supply
93 - interrupt-controller:
95 Definition: Indicating that this is a interrupt controller
100 Definition: should be 1
105 Definition: Must be 1
108 compatible = "slim217,1a0";
110 interrupts = <&msmgpio 54 IRQ_TYPE_LEVEL_HIGH>;
111 interrupt-names = "intr2"
112 reset-gpios = <&msmgpio 64 0>;
113 slim-ifc-dev = <&wc9335_ifd>;
114 clock-names = "mclk", "native";
115 clocks = <&rpmcc RPM_SMD_DIV_CLK1>,
116 <&rpmcc RPM_SMD_BB_CLK1>;
117 vdd-buck-supply = <&pm8994_s4>;
118 vdd-rx-supply = <&pm8994_s4>;
119 vdd-buck-sido-supply = <&pm8994_s4>;
120 vdd-tx-supply = <&pm8994_s4>;
121 vdd-io-supply = <&pm8994_s4>;
122 #sound-dai-cells = <1>;