mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
cec5b01f8f
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>
23 lines
674 B
Plaintext
23 lines
674 B
Plaintext
Maxim MAX98357A audio DAC
|
|
|
|
This node models the Maxim MAX98357A DAC.
|
|
|
|
Required properties:
|
|
- compatible : "maxim,max98357a"
|
|
|
|
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:
|
|
|
|
max98357a {
|
|
compatible = "maxim,max98357a";
|
|
sdmode-gpios = <&qcom_pinmux 25 0>;
|
|
};
|