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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.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/mt8192-mt6359-rt1015-rt5682.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml (Architecture sparc)


  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/mt8192-mt6359-rt1015-rt5682.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Mediatek MT8192 with MT6359, RT1015 and      7 title: Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Jiaxin Yu <jiaxin.yu@mediatek.com>              10   - Jiaxin Yu <jiaxin.yu@mediatek.com>
 11   - Shane Chien <shane.chien@mediatek.com>          11   - Shane Chien <shane.chien@mediatek.com>
 12                                                    12 
 13 description:                                       13 description:
 14   This binding describes the MT8192 sound card     14   This binding describes the MT8192 sound card.
 15                                                    15 
 16 allOf:                                             16 allOf:
 17   - $ref: sound-card-common.yaml#                  17   - $ref: sound-card-common.yaml#
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     enum:                                          21     enum:
 22       - mediatek,mt8192_mt6359_rt1015_rt5682       22       - mediatek,mt8192_mt6359_rt1015_rt5682
 23       - mediatek,mt8192_mt6359_rt1015p_rt5682      23       - mediatek,mt8192_mt6359_rt1015p_rt5682
 24       - mediatek,mt8192_mt6359_rt1015p_rt5682s     24       - mediatek,mt8192_mt6359_rt1015p_rt5682s
 25                                                    25 
 26   audio-routing:                                   26   audio-routing:
 27     description:                                   27     description:
 28       A list of the connections between audio      28       A list of the connections between audio components. Each entry is a
 29       pair of strings, the first being the con     29       pair of strings, the first being the connection's sink, the second
 30       being the connection's source.               30       being the connection's source.
 31       Valid names could be the input or output     31       Valid names could be the input or output widgets of audio components,
 32       power supplies, MicBias of codec and the     32       power supplies, MicBias of codec and the software switch.
 33     minItems: 2                                    33     minItems: 2
 34     items:                                         34     items:
 35       enum:                                        35       enum:
 36         # Sinks                                    36         # Sinks
 37         - Speakers                                 37         - Speakers
 38         - Headphone Jack                           38         - Headphone Jack
 39         - IN1P                                     39         - IN1P
 40         - Left Spk                                 40         - Left Spk
 41         - Right Spk                                41         - Right Spk
 42                                                    42 
 43         # Sources                                  43         # Sources
 44         - Headset Mic                              44         - Headset Mic
 45         - HPOL                                     45         - HPOL
 46         - HPOR                                     46         - HPOR
 47         - Left SPO                                 47         - Left SPO
 48         - Right SPO                                48         - Right SPO
 49         - Speaker                                  49         - Speaker
 50                                                    50 
 51   mediatek,platform:                               51   mediatek,platform:
 52     $ref: /schemas/types.yaml#/definitions/pha     52     $ref: /schemas/types.yaml#/definitions/phandle
 53     description: The phandle of MT8192 ASoC pl     53     description: The phandle of MT8192 ASoC platform.
 54                                                    54 
 55   mediatek,hdmi-codec:                             55   mediatek,hdmi-codec:
 56     $ref: /schemas/types.yaml#/definitions/pha     56     $ref: /schemas/types.yaml#/definitions/phandle
 57     description: The phandle of HDMI codec.        57     description: The phandle of HDMI codec.
 58     deprecated: true                               58     deprecated: true
 59                                                    59 
 60   headset-codec:                                   60   headset-codec:
 61     type: object                                   61     type: object
 62     additionalProperties: false                    62     additionalProperties: false
 63     deprecated: true                               63     deprecated: true
 64                                                    64 
 65     properties:                                    65     properties:
 66       sound-dai:                                   66       sound-dai:
 67         maxItems: 1                                67         maxItems: 1
 68     required:                                      68     required:
 69       - sound-dai                                  69       - sound-dai
 70                                                    70 
 71   speaker-codecs:                                  71   speaker-codecs:
 72     type: object                                   72     type: object
 73     additionalProperties: false                    73     additionalProperties: false
 74     deprecated: true                               74     deprecated: true
 75                                                    75 
 76     properties:                                    76     properties:
 77       sound-dai:                                   77       sound-dai:
 78         minItems: 1                                78         minItems: 1
 79         maxItems: 2                                79         maxItems: 2
 80         items:                                     80         items:
 81           maxItems: 1                              81           maxItems: 1
 82     required:                                      82     required:
 83       - sound-dai                                  83       - sound-dai
 84                                                    84 
 85 patternProperties:                                 85 patternProperties:
 86   ".*-dai-link$":                                  86   ".*-dai-link$":
 87     type: object                                   87     type: object
 88     additionalProperties: false                    88     additionalProperties: false
 89                                                    89 
 90     description:                                   90     description:
 91       Container for dai-link level properties      91       Container for dai-link level properties and CODEC sub-nodes.
 92                                                    92 
 93     properties:                                    93     properties:
 94       link-name:                                   94       link-name:
 95         description: Indicates dai-link name a     95         description: Indicates dai-link name and PCM stream name
 96         enum:                                      96         enum:
 97           - I2S0                                   97           - I2S0
 98           - I2S1                                   98           - I2S1
 99           - I2S2                                   99           - I2S2
100           - I2S3                                  100           - I2S3
101           - I2S4                                  101           - I2S4
102           - I2S5                                  102           - I2S5
103           - I2S6                                  103           - I2S6
104           - I2S7                                  104           - I2S7
105           - I2S8                                  105           - I2S8
106           - I2S9                                  106           - I2S9
107           - TDM                                   107           - TDM
108                                                   108 
109       codec:                                      109       codec:
110         description: Holds subnode which indic    110         description: Holds subnode which indicates codec dai.
111         type: object                              111         type: object
112         additionalProperties: false               112         additionalProperties: false
113         properties:                               113         properties:
114           sound-dai:                              114           sound-dai:
115             minItems: 1                           115             minItems: 1
116             maxItems: 2                           116             maxItems: 2
117         required:                                 117         required:
118           - sound-dai                             118           - sound-dai
119                                                   119 
120       dai-format:                                 120       dai-format:
121         description: audio format                 121         description: audio format
122         enum: [ i2s, right_j, left_j, dsp_a, d    122         enum: [ i2s, right_j, left_j, dsp_a, dsp_b ]
123                                                   123 
124       mediatek,clk-provider:                      124       mediatek,clk-provider:
125         $ref: /schemas/types.yaml#/definitions    125         $ref: /schemas/types.yaml#/definitions/string
126         description: Indicates dai-link clock     126         description: Indicates dai-link clock master.
127         enum: [ cpu, codec ]                      127         enum: [ cpu, codec ]
128                                                   128 
129     required:                                     129     required:
130       - link-name                                 130       - link-name
131                                                   131 
132 unevaluatedProperties: false                      132 unevaluatedProperties: false
133                                                   133 
134 required:                                         134 required:
135   - compatible                                    135   - compatible
136   - mediatek,platform                             136   - mediatek,platform
137                                                   137 
138 # Disallow legacy properties if xxx-dai-link n    138 # Disallow legacy properties if xxx-dai-link nodes are specified
139 if:                                               139 if:
140   not:                                            140   not:
141     patternProperties:                            141     patternProperties:
142       ".*-dai-link$": false                       142       ".*-dai-link$": false
143 then:                                             143 then:
144   properties:                                     144   properties:
145     headset-codec: false                          145     headset-codec: false
146     speaker-codecs: false                         146     speaker-codecs: false
147     mediatek,hdmi-codec: false                    147     mediatek,hdmi-codec: false
148                                                   148 
149 examples:                                         149 examples:
150   - |                                             150   - |
151                                                   151 
152     sound: mt8192-sound {                         152     sound: mt8192-sound {
153         compatible = "mediatek,mt8192_mt6359_r    153         compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
154         model = "mt8192_mt6359_rt1015_rt5682";    154         model = "mt8192_mt6359_rt1015_rt5682";
155         pinctrl-names = "aud_clk_mosi_off",       155         pinctrl-names = "aud_clk_mosi_off",
156                         "aud_clk_mosi_on";        156                         "aud_clk_mosi_on";
157         pinctrl-0 = <&aud_clk_mosi_off>;          157         pinctrl-0 = <&aud_clk_mosi_off>;
158         pinctrl-1 = <&aud_clk_mosi_on>;           158         pinctrl-1 = <&aud_clk_mosi_on>;
159         mediatek,platform = <&afe>;               159         mediatek,platform = <&afe>;
160                                                   160 
161         audio-routing =                           161         audio-routing =
162                 "Headphone Jack", "HPOL",         162                 "Headphone Jack", "HPOL",
163                 "Headphone Jack", "HPOR",         163                 "Headphone Jack", "HPOR",
164                 "IN1P", "Headset Mic",            164                 "IN1P", "Headset Mic",
165                 "Speakers", "Speaker";            165                 "Speakers", "Speaker";
166                                                   166 
167         spk-playback-dai-link {                   167         spk-playback-dai-link {
168                 link-name = "I2S3";               168                 link-name = "I2S3";
169                 dai-format = "i2s";               169                 dai-format = "i2s";
170                 mediatek,clk-provider = "cpu";    170                 mediatek,clk-provider = "cpu";
171                 codec {                           171                 codec {
172                         sound-dai = <&rt1015p>    172                         sound-dai = <&rt1015p>;
173                 };                                173                 };
174         };                                        174         };
175                                                   175 
176         hs-playback-dai-link {                    176         hs-playback-dai-link {
177                 link-name = "I2S8";               177                 link-name = "I2S8";
178                 dai-format = "i2s";               178                 dai-format = "i2s";
179                 mediatek,clk-provider = "cpu";    179                 mediatek,clk-provider = "cpu";
180                 codec {                           180                 codec {
181                         sound-dai = <&rt5682 0    181                         sound-dai = <&rt5682 0>;
182                 };                                182                 };
183         };                                        183         };
184                                                   184 
185         hs-capture-dai-link {                     185         hs-capture-dai-link {
186                 link-name = "I2S9";               186                 link-name = "I2S9";
187                 dai-format = "i2s";               187                 dai-format = "i2s";
188                 mediatek,clk-provider = "cpu";    188                 mediatek,clk-provider = "cpu";
189                 codec {                           189                 codec {
190                         sound-dai = <&rt5682 0    190                         sound-dai = <&rt5682 0>;
191                 };                                191                 };
192         };                                        192         };
193                                                   193 
194         displayport-dai-link {                    194         displayport-dai-link {
195                 link-name = "TDM";                195                 link-name = "TDM";
196                 dai-format = "dsp_a";             196                 dai-format = "dsp_a";
197                 codec {                           197                 codec {
198                         sound-dai = <&anx_brid    198                         sound-dai = <&anx_bridge_dp>;
199                 };                                199                 };
200         };                                        200         };
201     };                                            201     };
202                                                   202 
203 ...                                               203 ...
                                                      

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