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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.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,lpass-tx-macro.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml (Version linux-6.7.12)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      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,lpass-tx-macro.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: LPASS(Low Power Audio Subsystem) TX Mac      7 title: LPASS(Low Power Audio Subsystem) TX Macro audio codec
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Srinivas Kandagatla <srinivas.kandagatla@li     10   - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     oneOf:                                     !!  14     enum:
 15       - enum:                                  !!  15       - qcom,sc7280-lpass-tx-macro
 16           - qcom,sc7280-lpass-tx-macro         !!  16       - qcom,sm6115-lpass-tx-macro
 17           - qcom,sm6115-lpass-tx-macro         !!  17       - qcom,sm8250-lpass-tx-macro
 18           - qcom,sm8250-lpass-tx-macro         !!  18       - qcom,sm8450-lpass-tx-macro
 19           - qcom,sm8450-lpass-tx-macro         !!  19       - qcom,sm8550-lpass-tx-macro
 20           - qcom,sm8550-lpass-tx-macro         !!  20       - qcom,sc8280xp-lpass-tx-macro
 21           - qcom,sc8280xp-lpass-tx-macro       << 
 22       - items:                                 << 
 23           - enum:                              << 
 24               - qcom,sm8650-lpass-tx-macro     << 
 25               - qcom,x1e80100-lpass-tx-macro   << 
 26           - const: qcom,sm8550-lpass-tx-macro  << 
 27                                                    21 
 28   reg:                                             22   reg:
 29     maxItems: 1                                    23     maxItems: 1
 30                                                    24 
 31   "#sound-dai-cells":                              25   "#sound-dai-cells":
 32     const: 1                                       26     const: 1
 33                                                    27 
 34   '#clock-cells':                                  28   '#clock-cells':
 35     const: 0                                       29     const: 0
 36                                                    30 
 37   clocks:                                          31   clocks:
 38     minItems: 3                                    32     minItems: 3
 39     maxItems: 5                                    33     maxItems: 5
 40                                                    34 
 41   clock-names:                                     35   clock-names:
 42     minItems: 3                                    36     minItems: 3
 43     maxItems: 5                                    37     maxItems: 5
 44                                                    38 
 45   clock-output-names:                              39   clock-output-names:
 46     maxItems: 1                                    40     maxItems: 1
 47                                                    41 
 48   power-domains:                                   42   power-domains:
 49     maxItems: 2                                    43     maxItems: 2
 50                                                    44 
 51   power-domain-names:                              45   power-domain-names:
 52     items:                                         46     items:
 53       - const: macro                               47       - const: macro
 54       - const: dcodec                              48       - const: dcodec
 55                                                    49 
 56   qcom,dmic-sample-rate:                           50   qcom,dmic-sample-rate:
 57     description: dmic sample rate                  51     description: dmic sample rate
 58     $ref: /schemas/types.yaml#/definitions/uin     52     $ref: /schemas/types.yaml#/definitions/uint32
 59                                                    53 
 60 required:                                          54 required:
 61   - compatible                                     55   - compatible
 62   - reg                                            56   - reg
 63   - "#sound-dai-cells"                             57   - "#sound-dai-cells"
 64                                                    58 
 65 allOf:                                             59 allOf:
 66   - $ref: dai-common.yaml#                         60   - $ref: dai-common.yaml#
 67   - if:                                            61   - if:
 68       properties:                                  62       properties:
 69         compatible:                                63         compatible:
 70           enum:                                    64           enum:
 71             - qcom,sc7280-lpass-tx-macro           65             - qcom,sc7280-lpass-tx-macro
 72     then:                                          66     then:
 73       properties:                                  67       properties:
 74         clock-names:                               68         clock-names:
 75           oneOf:                                   69           oneOf:
 76             - items:   # for ADSP based platfo     70             - items:   # for ADSP based platforms
 77                 - const: mclk                      71                 - const: mclk
 78                 - const: npl                       72                 - const: npl
 79                 - const: macro                     73                 - const: macro
 80                 - const: dcodec                    74                 - const: dcodec
 81                 - const: fsgen                     75                 - const: fsgen
 82             - items:   # for ADSP bypass based     76             - items:   # for ADSP bypass based platforms
 83                 - const: mclk                      77                 - const: mclk
 84                 - const: npl                       78                 - const: npl
 85                 - const: fsgen                     79                 - const: fsgen
 86                                                    80 
 87   - if:                                            81   - if:
 88       properties:                                  82       properties:
 89         compatible:                                83         compatible:
 90           enum:                                    84           enum:
 91             - qcom,sc8280xp-lpass-tx-macro         85             - qcom,sc8280xp-lpass-tx-macro
 92             - qcom,sm8250-lpass-tx-macro           86             - qcom,sm8250-lpass-tx-macro
 93             - qcom,sm8450-lpass-tx-macro           87             - qcom,sm8450-lpass-tx-macro
 94     then:                                          88     then:
 95       properties:                                  89       properties:
 96         clocks:                                    90         clocks:
 97           minItems: 5                              91           minItems: 5
 98           maxItems: 5                              92           maxItems: 5
 99         clock-names:                               93         clock-names:
100           items:                                   94           items:
101             - const: mclk                          95             - const: mclk
102             - const: npl                           96             - const: npl
103             - const: macro                         97             - const: macro
104             - const: dcodec                        98             - const: dcodec
105             - const: fsgen                         99             - const: fsgen
106                                                   100 
107   - if:                                           101   - if:
108       properties:                                 102       properties:
109         compatible:                               103         compatible:
110           enum:                                   104           enum:
111             - qcom,sm6115-lpass-tx-macro          105             - qcom,sm6115-lpass-tx-macro
112     then:                                         106     then:
113       properties:                                 107       properties:
114         clocks:                                   108         clocks:
115           minItems: 4                             109           minItems: 4
116           maxItems: 4                             110           maxItems: 4
117         clock-names:                              111         clock-names:
118           items:                                  112           items:
119             - const: mclk                         113             - const: mclk
120             - const: npl                          114             - const: npl
121             - const: dcodec                       115             - const: dcodec
122             - const: fsgen                        116             - const: fsgen
123                                                   117 
124   - if:                                           118   - if:
125       properties:                                 119       properties:
126         compatible:                               120         compatible:
127           contains:                            !! 121           enum:
128             enum:                              !! 122             - qcom,sm8550-lpass-tx-macro
129               - qcom,sm8550-lpass-tx-macro     << 
130     then:                                         123     then:
131       properties:                                 124       properties:
132         clocks:                                   125         clocks:
133           minItems: 4                             126           minItems: 4
134           maxItems: 4                             127           maxItems: 4
135         clock-names:                              128         clock-names:
136           items:                                  129           items:
137             - const: mclk                         130             - const: mclk
138             - const: macro                        131             - const: macro
139             - const: dcodec                       132             - const: dcodec
140             - const: fsgen                        133             - const: fsgen
141                                                   134 
142 unevaluatedProperties: false                      135 unevaluatedProperties: false
143                                                   136 
144 examples:                                         137 examples:
145   - |                                             138   - |
146     #include <dt-bindings/sound/qcom,q6afe.h>     139     #include <dt-bindings/sound/qcom,q6afe.h>
147     codec@3220000 {                               140     codec@3220000 {
148       compatible = "qcom,sm8250-lpass-tx-macro    141       compatible = "qcom,sm8250-lpass-tx-macro";
149       reg = <0x3220000 0x1000>;                   142       reg = <0x3220000 0x1000>;
150       #sound-dai-cells = <1>;                     143       #sound-dai-cells = <1>;
151       #clock-cells = <0>;                         144       #clock-cells = <0>;
152       clocks = <&aoncc 0>,                        145       clocks = <&aoncc 0>,
153                <&aoncc 1>,                        146                <&aoncc 1>,
154                <&q6afecc LPASS_HW_MACRO_VOTE L    147                <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
155                <&q6afecc LPASS_HW_DCODEC_VOTE     148                <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
156                <&vamacro>;                        149                <&vamacro>;
157       clock-names = "mclk", "npl", "macro", "d    150       clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
158       clock-output-names = "mclk";                151       clock-output-names = "mclk";
159       qcom,dmic-sample-rate = <600000>;           152       qcom,dmic-sample-rate = <600000>;
160     };                                            153     };
                                                      

~ [ 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