[PATCH 3/4] ASoC: wm8904: extend device tree support

2022-03-07 Thread Alifer Moraes
-names - retune-mobile-cfg-rates Signed-off-by: Pierluigi Passaro Signed-off-by: Alifer Moraes --- .../devicetree/bindings/sound/wm8904.txt | 53 sound/soc/codecs/wm8904.c | 113 +- 2 files changed, 164 insertions(+), 2 deletions(-) diff --git a

[PATCH 4/4] ASoC: wm8904: add DMIC support

2022-03-07 Thread Alifer Moraes
From: Pierluigi Passaro The WM8904 codec supports both ADC and DMIC inputs. Add dedicated controls to support the additional routing. Signed-off-by: Pierluigi Passaro Signed-off by: Alifer Moraes --- sound/soc/codecs/wm8904.c | 34 ++ 1 file changed, 34

[PATCH 2/4] ASoC: bindings: fsl-asoc-card: Add compatible string for wm8904

2022-03-07 Thread Alifer Moraes
Add compatible string for the wm8904 codec. Signed-off-by: Alifer Moraes --- Documentation/devicetree/bindings/sound/fsl-asoc-card.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt b/Documentation/devicetree/bindings/sound/fsl

[PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support

2022-03-07 Thread Alifer Moraes
, so there is no need to set again PLL and SYSCLK and actually there's no need at all the set_bias_level function. Also, when esai is used, a dedicated snd_soc_dai_set_tdm_slot call is required. Signed-off-by: Pierluigi Passaro Signed-off by: Alifer Moraes --- sound/soc/fsl/fsl-asoc-card.c