Shawn Guo | 58e4942 | 2011-07-22 00:28:51 +0800 | [diff] [blame] | 1 | * Freescale SGTL5000 Stereo Codec |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : "fsl,sgtl5000". |
| 5 | |
Fabio Estevam | ddb6706 | 2012-04-24 01:11:09 -0300 | [diff] [blame] | 6 | - reg : the I2C address of the device |
| 7 | |
Fabio Estevam | 77845b1 | 2013-06-10 10:24:42 -0300 | [diff] [blame] | 8 | - clocks : the clock provider of SYS_MCLK |
| 9 | |
Fabio Estevam | 10ff080 | 2016-05-31 17:41:50 -0300 | [diff] [blame] | 10 | - VDDA-supply : the regulator provider of VDDA |
| 11 | |
| 12 | - VDDIO-supply: the regulator provider of VDDIO |
| 13 | |
| 14 | Optional properties: |
| 15 | |
| 16 | - VDDD-supply : the regulator provider of VDDD |
| 17 | |
Jean-Michel Hautbois | bd0593f | 2014-10-14 08:43:11 +0200 | [diff] [blame] | 18 | - micbias-resistor-k-ohms : the bias resistor to be used in kOmhs |
| 19 | The resistor can take values of 2k, 4k or 8k. |
| 20 | If set to 0 it will be off. |
| 21 | If this node is not mentioned or if the value is unknown, then |
| 22 | micbias resistor is set to 4K. |
| 23 | |
Jean-Michel Hautbois | 8735779 | 2014-10-14 08:43:12 +0200 | [diff] [blame] | 24 | - micbias-voltage-m-volts : the bias voltage to be used in mVolts |
| 25 | The voltage can take values from 1.25V to 3V by 250mV steps |
Fabio Estevam | 10ff080 | 2016-05-31 17:41:50 -0300 | [diff] [blame] | 26 | If this node is not mentioned or the value is unknown, then |
Jean-Michel Hautbois | 8735779 | 2014-10-14 08:43:12 +0200 | [diff] [blame] | 27 | the value is set to 1.25V. |
Jean-Michel Hautbois | bd0593f | 2014-10-14 08:43:11 +0200 | [diff] [blame] | 28 | |
Shawn Guo | 58e4942 | 2011-07-22 00:28:51 +0800 | [diff] [blame] | 29 | Example: |
| 30 | |
| 31 | codec: sgtl5000@0a { |
| 32 | compatible = "fsl,sgtl5000"; |
| 33 | reg = <0x0a>; |
Fabio Estevam | 77845b1 | 2013-06-10 10:24:42 -0300 | [diff] [blame] | 34 | clocks = <&clks 150>; |
Jean-Michel Hautbois | 8735779 | 2014-10-14 08:43:12 +0200 | [diff] [blame] | 35 | micbias-resistor-k-ohms = <2>; |
| 36 | micbias-voltage-m-volts = <2250>; |
Fabio Estevam | c171b12 | 2014-10-14 11:11:02 -0300 | [diff] [blame] | 37 | VDDA-supply = <®_3p3v>; |
| 38 | VDDIO-supply = <®_3p3v>; |
Shawn Guo | 58e4942 | 2011-07-22 00:28:51 +0800 | [diff] [blame] | 39 | }; |