summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/max98357a.txt
diff options
context:
space:
mode:
authorMac Chiang <mac.chiang@intel.com>2019-06-19 13:18:33 +0300
committerMark Brown <broonie@kernel.org>2019-07-02 17:53:38 +0300
commitcec5b01f8f1c6064037f3181e7690e3765ed995b (patch)
tree949b286a836edef11b1abb61976680a2bcbf94de /Documentation/devicetree/bindings/sound/max98357a.txt
parent4b9b73b86571e8a03fb09232ff72177e66bf9ef9 (diff)
downloadlinux-cec5b01f8f1c6064037f3181e7690e3765ed995b.tar.xz
ASoC: max98357a: avoid speaker pop when playback startup
Loud speaker pop happens during playback even when in slience playback. Specify Max98357a amp delay times to make sure clocks are always earlier than sdmode on. Signed-off-by: Mac Chiang <mac.chiang@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/max98357a.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/max98357a.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/max98357a.txt b/Documentation/devicetree/bindings/sound/max98357a.txt
index 28645a2ff885..4bce14ce806f 100644
--- a/Documentation/devicetree/bindings/sound/max98357a.txt
+++ b/Documentation/devicetree/bindings/sound/max98357a.txt
@@ -9,6 +9,10 @@ Optional properties:
- sdmode-gpios : GPIO specifier for the chip's SD_MODE pin.
If this option is not specified then driver does not manage
the pin state (e.g. chip is always on).
+- sdmode-delay : specify delay time for SD_MODE pin.
+ If this option is specified, which means it's required i2s clocks
+ ready before SD_MODE is unmuted in order to avoid the speaker pop noise.
+ It's observed that 5ms is sufficient.
Example: