Linux-libre 5.4.48-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / sound / max98357a.txt
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 };