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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/samsung,odroid.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/samsung,odroid.yaml (Architecture i386) and /Documentation/devicetree/bindings/sound/samsung,odroid.yaml (Architecture alpha)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/sound/samsu      4 $id: http://devicetree.org/schemas/sound/samsung,odroid.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Samsung Exynos Odroid XU3/XU4 audio com      7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Krzysztof Kozlowski <krzk@kernel.org>           10   - Krzysztof Kozlowski <krzk@kernel.org>
 11   - Sylwester Nawrocki <s.nawrocki@samsung.com>     11   - Sylwester Nawrocki <s.nawrocki@samsung.com>
 12                                                    12 
 13 allOf:                                             13 allOf:
 14   - $ref: sound-card-common.yaml#                  14   - $ref: sound-card-common.yaml#
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     oneOf:                                         18     oneOf:
 19       - const: hardkernel,odroid-xu3-audio         19       - const: hardkernel,odroid-xu3-audio
 20                                                    20 
 21       - const: hardkernel,odroid-xu4-audio         21       - const: hardkernel,odroid-xu4-audio
 22         deprecated: true                           22         deprecated: true
 23                                                    23 
 24       - const: samsung,odroid-xu3-audio            24       - const: samsung,odroid-xu3-audio
 25         deprecated: true                           25         deprecated: true
 26                                                    26 
 27       - const: samsung,odroid-xu4-audio            27       - const: samsung,odroid-xu4-audio
 28         deprecated: true                           28         deprecated: true
 29                                                    29 
 30   cpu:                                             30   cpu:
 31     type: object                                   31     type: object
 32     additionalProperties: false                    32     additionalProperties: false
 33     properties:                                    33     properties:
 34       sound-dai:                                   34       sound-dai:
 35         description: phandles to the I2S contr     35         description: phandles to the I2S controllers
 36                                                    36 
 37   codec:                                           37   codec:
 38     type: object                                   38     type: object
 39     additionalProperties: false                    39     additionalProperties: false
 40     properties:                                    40     properties:
 41       sound-dai:                                   41       sound-dai:
 42         minItems: 1                                42         minItems: 1
 43         items:                                     43         items:
 44           - description: phandle of the HDMI I     44           - description: phandle of the HDMI IP block node
 45           - description: phandle of the MAX980     45           - description: phandle of the MAX98090 CODEC
 46                                                    46 
 47   samsung,audio-routing:                           47   samsung,audio-routing:
 48     $ref: /schemas/types.yaml#/definitions/non     48     $ref: /schemas/types.yaml#/definitions/non-unique-string-array
 49     deprecated: true                               49     deprecated: true
 50     description: |                                 50     description: |
 51       List of the connections between audio        51       List of the connections between audio
 52       components;  each entry is a pair of str     52       components;  each entry is a pair of strings, the first being the
 53       connection's sink, the second being the      53       connection's sink, the second being the connection's source;
 54       valid names for sources and sinks are th     54       valid names for sources and sinks are the MAX98090's pins (as
 55       documented in its binding), and the jack     55       documented in its binding), and the jacks on the board.
 56       For Odroid X2: "Headphone Jack", "Mic Ja     56       For Odroid X2: "Headphone Jack", "Mic Jack", "DMIC"
 57       For Odroid U3, XU3: "Headphone Jack", "S     57       For Odroid U3, XU3: "Headphone Jack", "Speakers"
 58       For Odroid XU4: no entries                   58       For Odroid XU4: no entries
 59       Deprecated, use audio-routing.               59       Deprecated, use audio-routing.
 60                                                    60 
 61   samsung,audio-widgets:                           61   samsung,audio-widgets:
 62     $ref: /schemas/types.yaml#/definitions/non     62     $ref: /schemas/types.yaml#/definitions/non-unique-string-array
 63     description: |                                 63     description: |
 64       This property specifies off-codec audio      64       This property specifies off-codec audio elements
 65       like headphones or speakers, for details     65       like headphones or speakers, for details see widgets.txt
 66                                                    66 
 67 required:                                          67 required:
 68   - compatible                                     68   - compatible
 69   - cpu                                            69   - cpu
 70   - codec                                          70   - codec
 71                                                    71 
 72 unevaluatedProperties: false                       72 unevaluatedProperties: false
 73                                                    73 
 74 examples:                                          74 examples:
 75   - |                                              75   - |
 76     sound {                                        76     sound {
 77         compatible = "hardkernel,odroid-xu3-au     77         compatible = "hardkernel,odroid-xu3-audio";
 78         model = "Odroid-XU3";                      78         model = "Odroid-XU3";
 79         audio-routing =                            79         audio-routing =
 80                 "Headphone Jack", "HPL",           80                 "Headphone Jack", "HPL",
 81                 "Headphone Jack", "HPR",           81                 "Headphone Jack", "HPR",
 82                 "IN1", "Mic Jack",                 82                 "IN1", "Mic Jack",
 83                 "Mic Jack", "MICBIAS";             83                 "Mic Jack", "MICBIAS";
 84                                                    84 
 85         cpu {                                      85         cpu {
 86             sound-dai = <&i2s0 0>;                 86             sound-dai = <&i2s0 0>;
 87         };                                         87         };
 88                                                    88 
 89         codec {                                    89         codec {
 90             sound-dai = <&hdmi>, <&max98090>;      90             sound-dai = <&hdmi>, <&max98090>;
 91         };                                         91         };
 92     };                                             92     };
                                                      

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