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