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

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


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/sound/fsl,s      4 $id: http://devicetree.org/schemas/sound/fsl,sgtl5000.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale SGTL5000 Stereo Codec              7 title: Freescale SGTL5000 Stereo Codec
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Fabio Estevam <festevam@gmail.com>              10   - Fabio Estevam <festevam@gmail.com>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: dai-common.yaml#                         13   - $ref: dai-common.yaml#
 14                                                    14 
 15 properties:                                        15 properties:
 16   compatible:                                      16   compatible:
 17     const: fsl,sgtl5000                            17     const: fsl,sgtl5000
 18                                                    18 
 19   reg:                                             19   reg:
 20     maxItems: 1                                    20     maxItems: 1
 21                                                    21 
 22   "#sound-dai-cells":                              22   "#sound-dai-cells":
 23     const: 0                                       23     const: 0
 24                                                    24 
 25   assigned-clock-parents: true                     25   assigned-clock-parents: true
 26   assigned-clock-rates: true                       26   assigned-clock-rates: true
 27   assigned-clocks: true                            27   assigned-clocks: true
 28                                                    28 
 29   clocks:                                          29   clocks:
 30     items:                                         30     items:
 31       - description: the clock provider of SYS     31       - description: the clock provider of SYS_MCLK
 32                                                    32 
 33   VDDA-supply:                                     33   VDDA-supply:
 34     description: the regulator provider of VDD     34     description: the regulator provider of VDDA
 35                                                    35 
 36   VDDIO-supply:                                    36   VDDIO-supply:
 37     description: the regulator provider of VDD     37     description: the regulator provider of VDDIO
 38                                                    38 
 39   VDDD-supply:                                     39   VDDD-supply:
 40     description: the regulator provider of VDD     40     description: the regulator provider of VDDD
 41                                                    41 
 42   micbias-resistor-k-ohms:                         42   micbias-resistor-k-ohms:
 43     description: The bias resistor to be used      43     description: The bias resistor to be used in kOhms. The resistor can take
 44       values of 2k, 4k or 8k. If set to 0 it w     44       values of 2k, 4k or 8k. If set to 0 it will be off. If this node is not
 45       mentioned or if the value is unknown, th     45       mentioned or if the value is unknown, then micbias resistor is set to
 46       4k.                                          46       4k.
 47     enum: [ 0, 2, 4, 8 ]                           47     enum: [ 0, 2, 4, 8 ]
 48                                                    48 
 49   micbias-voltage-m-volts:                         49   micbias-voltage-m-volts:
 50     description: The bias voltage to be used i     50     description: The bias voltage to be used in mVolts. The voltage can take
 51       values from 1.25V to 3V by 250mV steps.      51       values from 1.25V to 3V by 250mV steps. If this node is not mentioned
 52       or the value is unknown, then the value      52       or the value is unknown, then the value is set to 1.25V.
 53     $ref: /schemas/types.yaml#/definitions/uin     53     $ref: /schemas/types.yaml#/definitions/uint32
 54     enum: [ 1250, 1500, 1750, 2000, 2250, 2500     54     enum: [ 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000 ]
 55                                                    55 
 56   lrclk-strength:                                  56   lrclk-strength:
 57     description: |                                 57     description: |
 58       The LRCLK pad strength. Possible values      58       The LRCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the
 59       table below:                                 59       table below:
 60                                                    60 
 61         VDDIO           1.8V            2.5V       61         VDDIO           1.8V            2.5V            3.3V
 62         0 =             Disable                    62         0 =             Disable
 63         1 =             1.66 mA         2.87 m     63         1 =             1.66 mA         2.87 mA         4.02  mA
 64         2 =             3.33 mA         5.74 m     64         2 =             3.33 mA         5.74 mA         8.03  mA
 65         3 =             4.99 mA         8.61 m     65         3 =             4.99 mA         8.61 mA         12.05 mA
 66     $ref: /schemas/types.yaml#/definitions/uin     66     $ref: /schemas/types.yaml#/definitions/uint32
 67     enum: [ 0, 1, 2, 3 ]                           67     enum: [ 0, 1, 2, 3 ]
 68                                                    68 
 69   sclk-strength:                                   69   sclk-strength:
 70     description: |                                 70     description: |
 71       The SCLK pad strength. Possible values a     71       The SCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the
 72       table below:                                 72       table below:
 73                                                    73 
 74         VDDIO           1.8V            2.5V       74         VDDIO           1.8V            2.5V            3.3V
 75         0 =             Disable                    75         0 =             Disable
 76         1 =             1.66 mA         2.87 m     76         1 =             1.66 mA         2.87 mA         4.02  mA
 77         2 =             3.33 mA         5.74 m     77         2 =             3.33 mA         5.74 mA         8.03  mA
 78         3 =             4.99 mA         8.61 m     78         3 =             4.99 mA         8.61 mA         12.05 mA
 79     $ref: /schemas/types.yaml#/definitions/uin     79     $ref: /schemas/types.yaml#/definitions/uint32
 80     enum: [ 0, 1, 2, 3 ]                           80     enum: [ 0, 1, 2, 3 ]
 81                                                    81 
 82   port:                                            82   port:
 83     $ref: audio-graph-port.yaml#                   83     $ref: audio-graph-port.yaml#
 84     unevaluatedProperties: false                   84     unevaluatedProperties: false
 85                                                    85 
 86 required:                                          86 required:
 87   - compatible                                     87   - compatible
 88   - reg                                            88   - reg
 89   - "#sound-dai-cells"                             89   - "#sound-dai-cells"
 90   - clocks                                         90   - clocks
 91   - VDDA-supply                                    91   - VDDA-supply
 92   - VDDIO-supply                                   92   - VDDIO-supply
 93                                                    93 
 94 unevaluatedProperties: false                       94 unevaluatedProperties: false
 95                                                    95 
 96 examples:                                          96 examples:
 97   - |                                              97   - |
 98     i2c {                                          98     i2c {
 99         #address-cells = <1>;                      99         #address-cells = <1>;
100         #size-cells = <0>;                        100         #size-cells = <0>;
101                                                   101 
102         codec@a {                                 102         codec@a {
103             compatible = "fsl,sgtl5000";          103             compatible = "fsl,sgtl5000";
104             reg = <0x0a>;                         104             reg = <0x0a>;
105             #sound-dai-cells = <0>;               105             #sound-dai-cells = <0>;
106             clocks = <&clks 150>;                 106             clocks = <&clks 150>;
107             micbias-resistor-k-ohms = <2>;        107             micbias-resistor-k-ohms = <2>;
108             micbias-voltage-m-volts = <2250>;     108             micbias-voltage-m-volts = <2250>;
109             VDDA-supply = <&reg_3p3v>;            109             VDDA-supply = <&reg_3p3v>;
110             VDDIO-supply = <&reg_3p3v>;           110             VDDIO-supply = <&reg_3p3v>;
111         };                                        111         };
112     };                                            112     };
113 ...                                               113 ...
                                                      

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