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

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