xref: /freebsd/sys/contrib/device-tree/Bindings/sound/max98357a.txt (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1Maxim MAX98357A/MAX98360A audio DAC
2
3This node models the Maxim MAX98357A/MAX98360A DAC.
4
5Required properties:
6- compatible   : "maxim,max98357a" for MAX98357A.
7                 "maxim,max98360a" for MAX98360A.
8
9Optional 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
18Example:
19
20max98357a {
21	compatible = "maxim,max98357a";
22	sdmode-gpios = <&qcom_pinmux 25 0>;
23};
24
25max98360a {
26	compatible = "maxim,max98360a";
27	sdmode-gpios = <&qcom_pinmux 25 0>;
28};
29