~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/qcom,wcd9335.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/sound/qcom,wcd9335.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/qcom,wcd9335.yaml (Version linux-6.10.14)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD      1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/sound/qcom,      4 $id: http://devicetree.org/schemas/sound/qcom,wcd9335.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm WCD9335 Audio Codec                 7 title: Qualcomm WCD9335 Audio Codec
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Srinivas Kandagatla <srinivas.kandagatla@li     10   - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
 11                                                    11 
 12 description:                                       12 description:
 13   Qualcomm WCD9335 Codec is a standalone Hi-Fi     13   Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built
 14   Soundwire controller and interrupt mux. It s     14   Soundwire controller and interrupt mux. It supports both I2S/I2C and SLIMbus
 15   audio interfaces.                                15   audio interfaces.
 16                                                    16 
 17 properties:                                        17 properties:
 18   compatible:                                      18   compatible:
 19     const: slim217,1a0                             19     const: slim217,1a0
 20                                                    20 
 21   reg:                                             21   reg:
 22     maxItems: 1                                    22     maxItems: 1
 23                                                    23 
 24   clocks:                                          24   clocks:
 25     maxItems: 2                                    25     maxItems: 2
 26                                                    26 
 27   clock-names:                                     27   clock-names:
 28     items:                                         28     items:
 29       - const: mclk                                29       - const: mclk
 30       - const: slimbus                             30       - const: slimbus
 31                                                    31 
 32   interrupts:                                      32   interrupts:
 33     maxItems: 2                                    33     maxItems: 2
 34                                                    34 
 35   interrupt-names:                                 35   interrupt-names:
 36     items:                                         36     items:
 37       - const: intr1                               37       - const: intr1
 38       - const: intr2                               38       - const: intr2
 39                                                    39 
 40   interrupt-controller: true                       40   interrupt-controller: true
 41                                                    41 
 42   '#interrupt-cells':                              42   '#interrupt-cells':
 43     const: 1                                       43     const: 1
 44                                                    44 
 45   reset-gpios:                                     45   reset-gpios:
 46     maxItems: 1                                    46     maxItems: 1
 47                                                    47 
 48   slim-ifc-dev:                                    48   slim-ifc-dev:
 49     description: SLIM IFC device interface         49     description: SLIM IFC device interface
 50     $ref: /schemas/types.yaml#/definitions/pha     50     $ref: /schemas/types.yaml#/definitions/phandle
 51                                                    51 
 52   '#sound-dai-cells':                              52   '#sound-dai-cells':
 53     const: 1                                       53     const: 1
 54                                                    54 
 55   vdd-buck-supply:                                 55   vdd-buck-supply:
 56     description: 1.8V buck supply                  56     description: 1.8V buck supply
 57                                                    57 
 58   vdd-buck-sido-supply:                            58   vdd-buck-sido-supply:
 59     description: 1.8V SIDO buck supply             59     description: 1.8V SIDO buck supply
 60                                                    60 
 61   vdd-io-supply:                                   61   vdd-io-supply:
 62     description: 1.8V I/O supply                   62     description: 1.8V I/O supply
 63                                                    63 
 64   vdd-micbias-supply:                              64   vdd-micbias-supply:
 65     description: micbias supply                    65     description: micbias supply
 66                                                    66 
 67   vdd-rx-supply:                                   67   vdd-rx-supply:
 68     description: 1.8V rx supply                    68     description: 1.8V rx supply
 69                                                    69 
 70   vdd-tx-supply:                                   70   vdd-tx-supply:
 71     description: 1.8V tx supply                    71     description: 1.8V tx supply
 72                                                    72 
 73   vdd-vbat-supply:                                 73   vdd-vbat-supply:
 74     description: vbat supply                       74     description: vbat supply
 75                                                    75 
 76 required:                                          76 required:
 77   - compatible                                     77   - compatible
 78   - reg                                            78   - reg
 79                                                    79 
 80 allOf:                                             80 allOf:
 81   - $ref: dai-common.yaml#                         81   - $ref: dai-common.yaml#
 82   - if:                                            82   - if:
 83       required:                                    83       required:
 84         - slim-ifc-dev                             84         - slim-ifc-dev
 85     then:                                          85     then:
 86       required:                                    86       required:
 87         - clocks                                   87         - clocks
 88         - clock-names                              88         - clock-names
 89         - interrupts                               89         - interrupts
 90         - interrupt-names                          90         - interrupt-names
 91         - interrupt-controller                     91         - interrupt-controller
 92         - '#interrupt-cells'                       92         - '#interrupt-cells'
 93         - reset-gpios                              93         - reset-gpios
 94         - slim-ifc-dev                             94         - slim-ifc-dev
 95         - '#sound-dai-cells'                       95         - '#sound-dai-cells'
 96         - vdd-buck-supply                          96         - vdd-buck-supply
 97         - vdd-buck-sido-supply                     97         - vdd-buck-sido-supply
 98         - vdd-io-supply                            98         - vdd-io-supply
 99         - vdd-rx-supply                            99         - vdd-rx-supply
100         - vdd-tx-supply                           100         - vdd-tx-supply
101     else:                                         101     else:
102       properties:                                 102       properties:
103         clocks: false                             103         clocks: false
104         clock-names: false                        104         clock-names: false
105         interrupts: false                         105         interrupts: false
106         interrupt-names: false                    106         interrupt-names: false
107         interrupt-controller: false               107         interrupt-controller: false
108         '#interrupt-cells': false                 108         '#interrupt-cells': false
109         reset-gpios: false                        109         reset-gpios: false
110         slim-ifc-dev: false                       110         slim-ifc-dev: false
111         '#sound-dai-cells': false                 111         '#sound-dai-cells': false
112         vdd-buck-supply: false                    112         vdd-buck-supply: false
113         vdd-buck-sido-supply: false               113         vdd-buck-sido-supply: false
114         vdd-io-supply: false                      114         vdd-io-supply: false
115         vdd-micbias-supply: false                 115         vdd-micbias-supply: false
116         vdd-rx-supply: false                      116         vdd-rx-supply: false
117         vdd-tx-supply: false                      117         vdd-tx-supply: false
118         vdd-vbat-supply: false                    118         vdd-vbat-supply: false
119                                                   119 
120 additionalProperties: false                       120 additionalProperties: false
121                                                   121 
122 examples:                                         122 examples:
123   - |                                             123   - |
124     #include <dt-bindings/clock/qcom,rpmcc.h>     124     #include <dt-bindings/clock/qcom,rpmcc.h>
125     #include <dt-bindings/gpio/gpio.h>            125     #include <dt-bindings/gpio/gpio.h>
126     #include <dt-bindings/interrupt-controller    126     #include <dt-bindings/interrupt-controller/irq.h>
127                                                   127 
128     tasha_ifd: codec@0,0 {                        128     tasha_ifd: codec@0,0 {
129         compatible = "slim217,1a0";               129         compatible = "slim217,1a0";
130         reg = <0 0>;                              130         reg = <0 0>;
131     };                                            131     };
132                                                   132 
133     codec@1,0 {                                   133     codec@1,0 {
134         compatible = "slim217,1a0";               134         compatible = "slim217,1a0";
135         reg = <1 0>;                              135         reg = <1 0>;
136                                                   136 
137         clock-names = "mclk", "slimbus";          137         clock-names = "mclk", "slimbus";
138         clocks = <&div1_mclk>, <&rpmcc RPM_SMD    138         clocks = <&div1_mclk>, <&rpmcc RPM_SMD_BB_CLK1>;
139                                                   139 
140         interrupt-parent = <&tlmm>;               140         interrupt-parent = <&tlmm>;
141         interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,    141         interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,
142                      <53 IRQ_TYPE_LEVEL_HIGH>;    142                      <53 IRQ_TYPE_LEVEL_HIGH>;
143         interrupt-names = "intr1", "intr2";       143         interrupt-names = "intr1", "intr2";
144         interrupt-controller;                     144         interrupt-controller;
145         #interrupt-cells = <1>;                   145         #interrupt-cells = <1>;
146                                                   146 
147         reset-gpios = <&tlmm 64 GPIO_ACTIVE_LO    147         reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
148         slim-ifc-dev = <&tasha_ifd>;              148         slim-ifc-dev = <&tasha_ifd>;
149         #sound-dai-cells = <1>;                   149         #sound-dai-cells = <1>;
150                                                   150 
151         vdd-buck-supply = <&vreg_s4a_1p8>;        151         vdd-buck-supply = <&vreg_s4a_1p8>;
152         vdd-buck-sido-supply = <&vreg_s4a_1p8>    152         vdd-buck-sido-supply = <&vreg_s4a_1p8>;
153         vdd-tx-supply = <&vreg_s4a_1p8>;          153         vdd-tx-supply = <&vreg_s4a_1p8>;
154         vdd-rx-supply = <&vreg_s4a_1p8>;          154         vdd-rx-supply = <&vreg_s4a_1p8>;
155         vdd-io-supply = <&vreg_s4a_1p8>;          155         vdd-io-supply = <&vreg_s4a_1p8>;
156     };                                            156     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php