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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/samsung,tm2.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,tm2.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/samsung,tm2.yaml (Version linux-6.0.19)


  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/samsu      4 $id: http://devicetree.org/schemas/sound/samsung,tm2.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Samsung Exynos5433 TM2(E) audio complex      7 title: Samsung Exynos5433 TM2(E) audio complex with WM5110 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:                                         << 
 14   - $ref: sound-card-common.yaml#              << 
 15                                                << 
 16 properties:                                        13 properties:
 17   compatible:                                      14   compatible:
 18     const: samsung,tm2-audio                       15     const: samsung,tm2-audio
 19                                                    16 
 20   audio-amplifier:                                 17   audio-amplifier:
 21     description: Phandle to the MAX98504 ampli     18     description: Phandle to the MAX98504 amplifier.
 22     $ref: /schemas/types.yaml#/definitions/pha     19     $ref: /schemas/types.yaml#/definitions/phandle
 23                                                    20 
 24   audio-codec:                                     21   audio-codec:
 25     description: Phandles to the codecs.           22     description: Phandles to the codecs.
 26     $ref: /schemas/types.yaml#/definitions/pha     23     $ref: /schemas/types.yaml#/definitions/phandle-array
 27     items:                                         24     items:
 28       - items:                                 !!  25       - description: Phandle to the WM5110 audio codec.
 29           - description: Phandle to the WM5110 !!  26       - description: Phandle to the HDMI transmitter node.
 30       - items:                                 << 
 31           - description: Phandle to the HDMI t << 
 32                                                << 
 33                                                    27 
 34   samsung,audio-routing:                           28   samsung,audio-routing:
 35     description: |                                 29     description: |
 36       List of the connections between audio co     30       List of the connections between audio components; each entry is
 37       a pair of strings, the first being the c     31       a pair of strings, the first being the connection's sink, the second
 38       being the connection's source; valid nam     32       being the connection's source; valid names for sources and sinks are the
 39       WM5110's and MAX98504's pins and the jac     33       WM5110's and MAX98504's pins and the jacks on the board: HP, SPK, Main
 40       Mic, Sub Mic, Third Mic, Headset Mic.        34       Mic, Sub Mic, Third Mic, Headset Mic.
 41       Deprecated, use audio-routing.           << 
 42     deprecated: true                           << 
 43     $ref: /schemas/types.yaml#/definitions/non     35     $ref: /schemas/types.yaml#/definitions/non-unique-string-array
 44                                                    36 
 45   i2s-controller:                                  37   i2s-controller:
 46     description: Phandles to the I2S controlle     38     description: Phandles to the I2S controllers.
 47     $ref: /schemas/types.yaml#/definitions/pha     39     $ref: /schemas/types.yaml#/definitions/phandle-array
 48     items:                                         40     items:
 49       - description: Phandle to I2S0.              41       - description: Phandle to I2S0.
 50       - description: Phandle to I2S1.              42       - description: Phandle to I2S1.
 51                                                    43 
 52   mic-bias-gpios:                                  44   mic-bias-gpios:
 53     description: GPIO pin that enables the Mai     45     description: GPIO pin that enables the Main Mic bias regulator.
 54                                                    46 
                                                   >>  47   model:
                                                   >>  48     description: The user-visible name of this sound complex.
                                                   >>  49     $ref: /schemas/types.yaml#/definitions/string
                                                   >>  50 
 55 required:                                          51 required:
 56   - compatible                                     52   - compatible
 57   - audio-amplifier                                53   - audio-amplifier
 58   - audio-codec                                    54   - audio-codec
 59   - audio-routing                              !!  55   - samsung,audio-routing
 60   - i2s-controller                                 56   - i2s-controller
 61   - mic-bias-gpios                                 57   - mic-bias-gpios
                                                   >>  58   - model
 62                                                    59 
 63 unevaluatedProperties: false                   !!  60 additionalProperties: false
 64                                                    61 
 65 examples:                                          62 examples:
 66   - |                                              63   - |
 67     #include <dt-bindings/gpio/gpio.h>             64     #include <dt-bindings/gpio/gpio.h>
 68                                                    65 
 69     sound {                                        66     sound {
 70         compatible = "samsung,tm2-audio";          67         compatible = "samsung,tm2-audio";
 71         audio-codec = <&wm5110>, <&hdmi>;          68         audio-codec = <&wm5110>, <&hdmi>;
 72         i2s-controller = <&i2s0 0>, <&i2s1 0>;     69         i2s-controller = <&i2s0 0>, <&i2s1 0>;
 73         audio-amplifier = <&max98504>;             70         audio-amplifier = <&max98504>;
 74         mic-bias-gpios = <&gpr3 2 GPIO_ACTIVE_     71         mic-bias-gpios = <&gpr3 2 GPIO_ACTIVE_HIGH>;
 75         model = "wm5110";                          72         model = "wm5110";
 76         audio-routing = "HP", "HPOUT1L",       !!  73         samsung,audio-routing = "HP", "HPOUT1L",
 77                                 "HP", "HPOUT1R     74                                 "HP", "HPOUT1R",
 78                                 "SPK", "SPKOUT     75                                 "SPK", "SPKOUT",
 79                                 "SPKOUT", "HPO     76                                 "SPKOUT", "HPOUT2L",
 80                                 "SPKOUT", "HPO     77                                 "SPKOUT", "HPOUT2R",
 81                                 "RCV", "HPOUT3     78                                 "RCV", "HPOUT3L",
 82                                 "RCV", "HPOUT3     79                                 "RCV", "HPOUT3R";
 83     };                                             80     };
                                                      

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