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