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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/mediatek,mt8365-mt6357.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/mediatek,mt8365-mt6357.yaml (Architecture i386) and /Documentation/devicetree/bindings/sound/mediatek,mt8365-mt6357.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/media      4 $id: http://devicetree.org/schemas/sound/mediatek,mt8365-mt6357.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: MediaTek MT8365 ASoC sound card              7 title: MediaTek MT8365 ASoC sound card
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Alexandre Mergnat <amergnat@baylibre.com>       10   - Alexandre Mergnat <amergnat@baylibre.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     const: mediatek,mt8365-mt6357                  14     const: mediatek,mt8365-mt6357
 15                                                    15 
 16   pinctrl-names:                                   16   pinctrl-names:
 17     minItems: 1                                    17     minItems: 1
 18     items:                                         18     items:
 19       - const: default                             19       - const: default
 20       - const: dmic                                20       - const: dmic
 21       - const: miso_off                            21       - const: miso_off
 22       - const: miso_on                             22       - const: miso_on
 23       - const: mosi_off                            23       - const: mosi_off
 24       - const: mosi_on                             24       - const: mosi_on
 25                                                    25 
 26   mediatek,platform:                               26   mediatek,platform:
 27     $ref: /schemas/types.yaml#/definitions/pha     27     $ref: /schemas/types.yaml#/definitions/phandle
 28     description: The phandle of MT8365 ASoC pl     28     description: The phandle of MT8365 ASoC platform.
 29                                                    29 
 30 patternProperties:                                 30 patternProperties:
 31   "^dai-link-[0-9]+$":                             31   "^dai-link-[0-9]+$":
 32     type: object                                   32     type: object
 33     description:                                   33     description:
 34       Container for dai-link level properties      34       Container for dai-link level properties and CODEC sub-nodes.
 35                                                    35 
 36     properties:                                    36     properties:
 37       codec:                                       37       codec:
 38         type: object                               38         type: object
 39         description: Holds subnode which indic     39         description: Holds subnode which indicates codec dai.
 40                                                    40 
 41         properties:                                41         properties:
 42           sound-dai:                               42           sound-dai:
 43             maxItems: 1                            43             maxItems: 1
 44             description: phandle of the codec      44             description: phandle of the codec DAI
 45                                                    45 
 46         additionalProperties: false                46         additionalProperties: false
 47                                                    47 
 48       link-name:                                   48       link-name:
 49         description: Indicates dai-link name a     49         description: Indicates dai-link name and PCM stream name
 50         enum:                                      50         enum:
 51           - I2S_IN_BE                              51           - I2S_IN_BE
 52           - I2S_OUT_BE                             52           - I2S_OUT_BE
 53           - PCM1_BE                                53           - PCM1_BE
 54           - PDM1_BE                                54           - PDM1_BE
 55           - PDM2_BE                                55           - PDM2_BE
 56           - PDM3_BE                                56           - PDM3_BE
 57           - PDM4_BE                                57           - PDM4_BE
 58           - SPDIF_IN_BE                            58           - SPDIF_IN_BE
 59           - SPDIF_OUT_BE                           59           - SPDIF_OUT_BE
 60           - TDM_IN_BE                              60           - TDM_IN_BE
 61           - TDM_OUT_BE                             61           - TDM_OUT_BE
 62                                                    62 
 63       sound-dai:                                   63       sound-dai:
 64         maxItems: 1                                64         maxItems: 1
 65         description: phandle of the CPU DAI        65         description: phandle of the CPU DAI
 66                                                    66 
 67     required:                                      67     required:
 68       - link-name                                  68       - link-name
 69       - sound-dai                                  69       - sound-dai
 70                                                    70 
 71     additionalProperties: false                    71     additionalProperties: false
 72                                                    72 
 73 required:                                          73 required:
 74   - compatible                                     74   - compatible
 75   - pinctrl-names                                  75   - pinctrl-names
 76   - mediatek,platform                              76   - mediatek,platform
 77                                                    77 
 78 additionalProperties: false                        78 additionalProperties: false
 79                                                    79 
 80 examples:                                          80 examples:
 81   - |                                              81   - |
 82     sound {                                        82     sound {
 83         compatible = "mediatek,mt8365-mt6357";     83         compatible = "mediatek,mt8365-mt6357";
 84         pinctrl-names = "default",                 84         pinctrl-names = "default",
 85                         "dmic",                    85                         "dmic",
 86                         "miso_off",                86                         "miso_off",
 87                         "miso_on",                 87                         "miso_on",
 88                         "mosi_off",                88                         "mosi_off",
 89                         "mosi_on";                 89                         "mosi_on";
 90         pinctrl-0 = <&aud_default_pins>;           90         pinctrl-0 = <&aud_default_pins>;
 91         pinctrl-1 = <&aud_dmic_pins>;              91         pinctrl-1 = <&aud_dmic_pins>;
 92         pinctrl-2 = <&aud_miso_off_pins>;          92         pinctrl-2 = <&aud_miso_off_pins>;
 93         pinctrl-3 = <&aud_miso_on_pins>;           93         pinctrl-3 = <&aud_miso_on_pins>;
 94         pinctrl-4 = <&aud_mosi_off_pins>;          94         pinctrl-4 = <&aud_mosi_off_pins>;
 95         pinctrl-5 = <&aud_mosi_on_pins>;           95         pinctrl-5 = <&aud_mosi_on_pins>;
 96         mediatek,platform = <&afe>;                96         mediatek,platform = <&afe>;
 97                                                    97 
 98         /* hdmi interface */                       98         /* hdmi interface */
 99         dai-link-0 {                               99         dai-link-0 {
100             link-name = "I2S_OUT_BE";             100             link-name = "I2S_OUT_BE";
101             sound-dai = <&afe>;                   101             sound-dai = <&afe>;
102                                                   102 
103             codec {                               103             codec {
104                 sound-dai = <&it66121hdmitx>;     104                 sound-dai = <&it66121hdmitx>;
105             };                                    105             };
106         };                                        106         };
107     };                                            107     };
                                                      

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