1 # SPDX-License-Identifier: GPL-2.0-only 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,s 5 $schema: http://devicetree.org/meta-schemas/co 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 32 33 VDDA-supply: 34 description: the regulator provider of VDD 35 36 VDDIO-supply: 37 description: the regulator provider of VDD 38 39 VDDD-supply: 40 description: the regulator provider of VDD 41 42 micbias-resistor-k-ohms: 43 description: The bias resistor to be used 44 values of 2k, 4k or 8k. If set to 0 it w 45 mentioned or if the value is unknown, th 46 4k. 47 enum: [ 0, 2, 4, 8 ] 48 49 micbias-voltage-m-volts: 50 description: The bias voltage to be used i 51 values from 1.25V to 3V by 250mV steps. 52 or the value is unknown, then the value 53 $ref: /schemas/types.yaml#/definitions/uin 54 enum: [ 1250, 1500, 1750, 2000, 2250, 2500 55 56 lrclk-strength: 57 description: | 58 The LRCLK pad strength. Possible values 59 table below: 60 61 VDDIO 1.8V 2.5V 62 0 = Disable 63 1 = 1.66 mA 2.87 m 64 2 = 3.33 mA 5.74 m 65 3 = 4.99 mA 8.61 m 66 $ref: /schemas/types.yaml#/definitions/uin 67 enum: [ 0, 1, 2, 3 ] 68 69 sclk-strength: 70 description: | 71 The SCLK pad strength. Possible values a 72 table below: 73 74 VDDIO 1.8V 2.5V 75 0 = Disable 76 1 = 1.66 mA 2.87 m 77 2 = 3.33 mA 5.74 m 78 3 = 4.99 mA 8.61 m 79 $ref: /schemas/types.yaml#/definitions/uin 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 = <®_3p3v>; 110 VDDIO-supply = <®_3p3v>; 111 }; 112 }; 113 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.