Simon Glass | 59ddd3a | 2020-07-07 21:32:18 -0600 | [diff] [blame] | 1 | Maxim MAX98357A audio DAC |
| 2 | |
| 3 | This node models the Maxim MAX98357A DAC. |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible : "maxim,max98357a" |
| 7 | |
| 8 | Optional properties: |
| 9 | - sdmode-gpios : GPIO specifier for the chip's SD_MODE pin. |
| 10 | If this option is not specified then driver does not manage |
| 11 | the pin state (e.g. chip is always on). |
| 12 | - sdmode-delay : specify delay time for SD_MODE pin. |
| 13 | If this option is specified, which means it's required i2s clocks |
| 14 | ready before SD_MODE is unmuted in order to avoid the speaker pop noise. |
| 15 | It's observed that 5ms is sufficient. |
| 16 | |
| 17 | Example: |
| 18 | |
| 19 | max98357a { |
| 20 | compatible = "maxim,max98357a"; |
| 21 | sdmode-gpios = <&qcom_pinmux 25 0>; |
| 22 | }; |