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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/mt8195-mt6359.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/mt8195-mt6359.yaml (Architecture alpha) and /Documentation/devicetree/bindings/sound/mt8195-mt6359.yaml (Architecture mips)


  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/mt819      4 $id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: MediaTek MT8195 ASoC sound card driver       7 title: MediaTek MT8195 ASoC sound card driver
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Trevor Wu <trevor.wu@mediatek.com>              10   - Trevor Wu <trevor.wu@mediatek.com>
 11                                                    11 
 12 description:                                       12 description:
 13   This binding describes the MT8195 sound card     13   This binding describes the MT8195 sound card.
 14                                                    14 
 15 allOf:                                             15 allOf:
 16   - $ref: sound-card-common.yaml#                  16   - $ref: sound-card-common.yaml#
 17                                                    17 
 18 properties:                                        18 properties:
 19   compatible:                                      19   compatible:
 20     enum:                                          20     enum:
 21       - mediatek,mt8195_mt6359_rt1019_rt5682       21       - mediatek,mt8195_mt6359_rt1019_rt5682
 22       - mediatek,mt8195_mt6359_rt1011_rt5682       22       - mediatek,mt8195_mt6359_rt1011_rt5682
 23       - mediatek,mt8195_mt6359_max98390_rt5682     23       - mediatek,mt8195_mt6359_max98390_rt5682
 24                                                    24 
 25   model:                                           25   model:
 26     $ref: /schemas/types.yaml#/definitions/str     26     $ref: /schemas/types.yaml#/definitions/string
 27     description: User specified audio sound ca     27     description: User specified audio sound card name
 28                                                    28 
 29   audio-routing:                                   29   audio-routing:
 30     description:                                   30     description:
 31       A list of the connections between audio      31       A list of the connections between audio components. Each entry is a
 32       pair of strings, the first being the con     32       pair of strings, the first being the connection's sink, the second
 33       being the connection's source.               33       being the connection's source.
 34       Valid names could be the input or output     34       Valid names could be the input or output widgets of audio components,
 35       power supplies, MicBias of codec and the     35       power supplies, MicBias of codec and the software switch.
 36     minItems: 2                                    36     minItems: 2
 37     items:                                         37     items:
 38       enum:                                        38       enum:
 39         # Sinks                                    39         # Sinks
 40         - Ext Spk                                  40         - Ext Spk
 41         - Headphone                                41         - Headphone
 42         - IN1P                                     42         - IN1P
 43         - Left Spk                                 43         - Left Spk
 44         - Right Spk                                44         - Right Spk
 45                                                    45 
 46         # Sources                                  46         # Sources
 47         - Headset Mic                              47         - Headset Mic
 48         - HPOL                                     48         - HPOL
 49         - HPOR                                     49         - HPOR
 50         - Left BE_OUT                              50         - Left BE_OUT
 51         - Left SPO                                 51         - Left SPO
 52         - Right BE_OUT                             52         - Right BE_OUT
 53         - Right SPO                                53         - Right SPO
 54         - Speaker                                  54         - Speaker
 55                                                    55 
 56   mediatek,platform:                               56   mediatek,platform:
 57     $ref: /schemas/types.yaml#/definitions/pha     57     $ref: /schemas/types.yaml#/definitions/phandle
 58     description: The phandle of MT8195 ASoC pl     58     description: The phandle of MT8195 ASoC platform.
 59                                                    59 
 60   mediatek,dptx-codec:                             60   mediatek,dptx-codec:
 61     $ref: /schemas/types.yaml#/definitions/pha     61     $ref: /schemas/types.yaml#/definitions/phandle
 62     description: The phandle of MT8195 Display     62     description: The phandle of MT8195 Display Port Tx codec node.
 63     deprecated: true                               63     deprecated: true
 64                                                    64 
 65   mediatek,hdmi-codec:                             65   mediatek,hdmi-codec:
 66     $ref: /schemas/types.yaml#/definitions/pha     66     $ref: /schemas/types.yaml#/definitions/phandle
 67     description: The phandle of MT8195 HDMI co     67     description: The phandle of MT8195 HDMI codec node.
 68     deprecated: true                               68     deprecated: true
 69                                                    69 
 70   mediatek,adsp:                                   70   mediatek,adsp:
 71     $ref: /schemas/types.yaml#/definitions/pha     71     $ref: /schemas/types.yaml#/definitions/phandle
 72     description: The phandle of MT8195 ADSP pl     72     description: The phandle of MT8195 ADSP platform.
 73                                                    73 
 74   mediatek,dai-link:                               74   mediatek,dai-link:
 75     $ref: /schemas/types.yaml#/definitions/str     75     $ref: /schemas/types.yaml#/definitions/string-array
 76     description:                                   76     description:
 77       A list of the desired dai-links in the s     77       A list of the desired dai-links in the sound card. Each entry is a
 78       name defined in the machine driver.          78       name defined in the machine driver.
 79                                                    79 
 80 patternProperties:                                 80 patternProperties:
 81   ".*-dai-link$":                                  81   ".*-dai-link$":
 82     type: object                                   82     type: object
 83     additionalProperties: false                    83     additionalProperties: false
 84     description:                                   84     description:
 85       Container for dai-link level properties      85       Container for dai-link level properties and CODEC sub-nodes.
 86                                                    86 
 87     properties:                                    87     properties:
 88       link-name:                                   88       link-name:
 89         description: Indicates dai-link name a     89         description: Indicates dai-link name and PCM stream name
 90         enum:                                      90         enum:
 91           - DPTX_BE                                91           - DPTX_BE
 92           - ETDM1_IN_BE                            92           - ETDM1_IN_BE
 93           - ETDM2_IN_BE                            93           - ETDM2_IN_BE
 94           - ETDM1_OUT_BE                           94           - ETDM1_OUT_BE
 95           - ETDM2_OUT_BE                           95           - ETDM2_OUT_BE
 96           - ETDM3_OUT_BE                           96           - ETDM3_OUT_BE
 97           - PCM1_BE                                97           - PCM1_BE
 98                                                    98 
 99       codec:                                       99       codec:
100         description: Holds subnode which indic    100         description: Holds subnode which indicates codec dai.
101         type: object                              101         type: object
102         additionalProperties: false               102         additionalProperties: false
103         properties:                               103         properties:
104           sound-dai:                              104           sound-dai:
105             minItems: 1                           105             minItems: 1
106             maxItems: 2                           106             maxItems: 2
107         required:                                 107         required:
108           - sound-dai                             108           - sound-dai
109                                                   109 
110       dai-format:                                 110       dai-format:
111         description: audio format                 111         description: audio format
112         enum: [ i2s, right_j, left_j, dsp_a, d    112         enum: [ i2s, right_j, left_j, dsp_a, dsp_b ]
113                                                   113 
114       mediatek,clk-provider:                      114       mediatek,clk-provider:
115         $ref: /schemas/types.yaml#/definitions    115         $ref: /schemas/types.yaml#/definitions/string
116         description: Indicates dai-link clock     116         description: Indicates dai-link clock master.
117         enum: [ cpu, codec ]                      117         enum: [ cpu, codec ]
118                                                   118 
119     required:                                     119     required:
120       - link-name                                 120       - link-name
121                                                   121 
122 additionalProperties: false                       122 additionalProperties: false
123                                                   123 
124 required:                                         124 required:
125   - compatible                                    125   - compatible
126   - mediatek,platform                             126   - mediatek,platform
127                                                   127 
128 # Disallow legacy properties if xxx-dai-link n    128 # Disallow legacy properties if xxx-dai-link nodes are specified
129 if:                                               129 if:
130   not:                                            130   not:
131     patternProperties:                            131     patternProperties:
132       ".*-dai-link$": false                       132       ".*-dai-link$": false
133 then:                                             133 then:
134   properties:                                     134   properties:
135     mediatek,dptx-codec: false                    135     mediatek,dptx-codec: false
136     mediatek,hdmi-codec: false                    136     mediatek,hdmi-codec: false
137                                                   137 
138 examples:                                         138 examples:
139   - |                                             139   - |
140                                                   140 
141     sound: mt8195-sound {                         141     sound: mt8195-sound {
142         compatible = "mediatek,mt8195_mt6359_r    142         compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
143         model = "mt8195_r1019_5682";              143         model = "mt8195_r1019_5682";
144         mediatek,platform = <&afe>;               144         mediatek,platform = <&afe>;
145         pinctrl-names = "default";                145         pinctrl-names = "default";
146         pinctrl-0 = <&aud_pins_default>;          146         pinctrl-0 = <&aud_pins_default>;
147                                                   147 
148         audio-routing =                           148         audio-routing =
149                 "Headphone", "HPOL",              149                 "Headphone", "HPOL",
150                 "Headphone", "HPOR",              150                 "Headphone", "HPOR",
151                 "IN1P", "Headset Mic",            151                 "IN1P", "Headset Mic",
152                 "Ext Spk", "Speaker";             152                 "Ext Spk", "Speaker";
153                                                   153 
154         mm-dai-link {                             154         mm-dai-link {
155                 link-name = "ETDM1_IN_BE";        155                 link-name = "ETDM1_IN_BE";
156                 mediatek,clk-provider = "cpu";    156                 mediatek,clk-provider = "cpu";
157         };                                        157         };
158                                                   158 
159         hs-playback-dai-link {                    159         hs-playback-dai-link {
160                 link-name = "ETDM1_OUT_BE";       160                 link-name = "ETDM1_OUT_BE";
161                 mediatek,clk-provider = "cpu";    161                 mediatek,clk-provider = "cpu";
162                 codec {                           162                 codec {
163                         sound-dai = <&headset_    163                         sound-dai = <&headset_codec>;
164                 };                                164                 };
165         };                                        165         };
166                                                   166 
167         hs-capture-dai-link {                     167         hs-capture-dai-link {
168                 link-name = "ETDM2_IN_BE";        168                 link-name = "ETDM2_IN_BE";
169                 mediatek,clk-provider = "cpu";    169                 mediatek,clk-provider = "cpu";
170                 codec {                           170                 codec {
171                         sound-dai = <&headset_    171                         sound-dai = <&headset_codec>;
172                 };                                172                 };
173         };                                        173         };
174                                                   174 
175         spk-playback-dai-link {                   175         spk-playback-dai-link {
176                 link-name = "ETDM2_OUT_BE";       176                 link-name = "ETDM2_OUT_BE";
177                 mediatek,clk-provider = "cpu";    177                 mediatek,clk-provider = "cpu";
178                 codec {                           178                 codec {
179                         sound-dai = <&spk_ampl    179                         sound-dai = <&spk_amplifier>;
180                 };                                180                 };
181         };                                        181         };
182                                                   182 
183         hdmi-dai-link {                           183         hdmi-dai-link {
184                 link-name = "ETDM3_OUT_BE";       184                 link-name = "ETDM3_OUT_BE";
185                 codec {                           185                 codec {
186                         sound-dai = <&hdmi_tx>    186                         sound-dai = <&hdmi_tx>;
187                 };                                187                 };
188         };                                        188         };
189                                                   189 
190         displayport-dai-link {                    190         displayport-dai-link {
191                 link-name = "DPTX_BE";            191                 link-name = "DPTX_BE";
192                 codec {                           192                 codec {
193                         sound-dai = <&dp_tx>;     193                         sound-dai = <&dp_tx>;
194                 };                                194                 };
195         };                                        195         };
196     };                                            196     };
197                                                   197 
198 ...                                               198 ...
                                                      

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