Merge tag 'for-5.15/parisc' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / max98357a.txt
1 Maxim MAX98357A/MAX98360A audio DAC
2
3 This node models the Maxim MAX98357A/MAX98360A DAC.
4
5 Required properties:
6 - compatible   : "maxim,max98357a" for MAX98357A.
7                  "maxim,max98360a" for MAX98360A.
8
9 Optional properties:
10 - sdmode-gpios : GPIO specifier for the chip's SD_MODE pin.
11         If this option is not specified then driver does not manage
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.
17
18 Example:
19
20 max98357a {
21         compatible = "maxim,max98357a";
22         sdmode-gpios = <&qcom_pinmux 25 0>;
23 };
24
25 max98360a {
26         compatible = "maxim,max98360a";
27         sdmode-gpios = <&qcom_pinmux 25 0>;
28 };