1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/sound/qcom,wcd9335.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm WCD9335 Audio Codec
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built
14 Soundwire controller and interrupt mux. It supports both I2S/I2C and SLIMbus
40 interrupt-controller: true
49 description: SLIM IFC device interface
50 $ref: /schemas/types.yaml#/definitions/phandle
56 description: 1.8V buck supply
59 description: 1.8V SIDO buck supply
62 description: 1.8V I/O supply
65 description: micbias supply
68 description: 1.8V rx supply
71 description: 1.8V tx supply
74 description: vbat supply
81 - $ref: dai-common.yaml#
91 - interrupt-controller
97 - vdd-buck-sido-supply
106 interrupt-names: false
107 interrupt-controller: false
108 '#interrupt-cells': false
111 '#sound-dai-cells': false
112 vdd-buck-supply: false
113 vdd-buck-sido-supply: false
115 vdd-micbias-supply: false
118 vdd-vbat-supply: false
120 additionalProperties: false
124 #include <dt-bindings/clock/qcom,rpmcc.h>
125 #include <dt-bindings/gpio/gpio.h>
126 #include <dt-bindings/interrupt-controller/irq.h>
128 tasha_ifd: codec@0,0 {
129 compatible = "slim217,1a0";
134 compatible = "slim217,1a0";
137 clock-names = "mclk", "slimbus";
138 clocks = <&div1_mclk>, <&rpmcc RPM_SMD_BB_CLK1>;
140 interrupt-parent = <&tlmm>;
141 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,
142 <53 IRQ_TYPE_LEVEL_HIGH>;
143 interrupt-names = "intr1", "intr2";
144 interrupt-controller;
145 #interrupt-cells = <1>;
147 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
148 slim-ifc-dev = <&tasha_ifd>;
149 #sound-dai-cells = <1>;
151 vdd-buck-supply = <&vreg_s4a_1p8>;
152 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
153 vdd-tx-supply = <&vreg_s4a_1p8>;
154 vdd-rx-supply = <&vreg_s4a_1p8>;
155 vdd-io-supply = <&vreg_s4a_1p8>;