* [PATCH] ARM: dts: imx6qdl-sabresd.dtsi: Fix the microphone route
@ 2014-11-04 12:56 Fabio Estevam
2014-11-04 13:08 ` Shawn Guo
0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2014-11-04 12:56 UTC (permalink / raw)
To: linux-arm-kernel
Since commit e409dfbfccf9a49 ("ASoC: dapm: Add a few supply widget sanity
checks") the following error is seen:
imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
imx-wm8962 sound: Connecting non-supply widget to supply widget is not supported (AMIC -> MICBIAS)
imx-wm8962 sound: ASoC: no dapm match for AMIC --> (null) --> MICBIAS
imx-wm8962 sound: ASoC: Failed to add route AMIC -> direct -> MICBIAS
Invert the route between the microphone and the bias in order to fix it.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Shawn,
commit e409dfbfccf9a49 is not in your tree. It is in Mark's tree at the moment.
If you prefer I can skip mentioning it in the commit log.
The 'AMIC -> MICBIAS' route is also used on mx6sx-sdb and mx6sl-evk boards.
arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index d211d5d..d1319bd 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -107,7 +107,7 @@
"Headphone Jack", "HPOUTR",
"Ext Spk", "SPKOUTL",
"Ext Spk", "SPKOUTR",
- "MICBIAS", "AMIC",
+ "AMIC", "MICBIAS",
"IN3R", "MICBIAS",
"DMIC", "MICBIAS",
"DMICDAT", "DMIC";
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: dts: imx6qdl-sabresd.dtsi: Fix the microphone route
2014-11-04 12:56 [PATCH] ARM: dts: imx6qdl-sabresd.dtsi: Fix the microphone route Fabio Estevam
@ 2014-11-04 13:08 ` Shawn Guo
2014-11-05 12:16 ` Fabio Estevam
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2014-11-04 13:08 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Nov 04, 2014 at 10:56:09AM -0200, Fabio Estevam wrote:
> Since commit e409dfbfccf9a49 ("ASoC: dapm: Add a few supply widget sanity
> checks") the following error is seen:
>
> imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
> imx-wm8962 sound: Connecting non-supply widget to supply widget is not supported (AMIC -> MICBIAS)
> imx-wm8962 sound: ASoC: no dapm match for AMIC --> (null) --> MICBIAS
> imx-wm8962 sound: ASoC: Failed to add route AMIC -> direct -> MICBIAS
Any regression behind that error message?
Shawn
>
> Invert the route between the microphone and the bias in order to fix it.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Shawn,
>
> commit e409dfbfccf9a49 is not in your tree. It is in Mark's tree at the moment.
>
> If you prefer I can skip mentioning it in the commit log.
>
> The 'AMIC -> MICBIAS' route is also used on mx6sx-sdb and mx6sl-evk boards.
>
> arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> index d211d5d..d1319bd 100644
> --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> @@ -107,7 +107,7 @@
> "Headphone Jack", "HPOUTR",
> "Ext Spk", "SPKOUTL",
> "Ext Spk", "SPKOUTR",
> - "MICBIAS", "AMIC",
> + "AMIC", "MICBIAS",
> "IN3R", "MICBIAS",
> "DMIC", "MICBIAS",
> "DMICDAT", "DMIC";
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: dts: imx6qdl-sabresd.dtsi: Fix the microphone route
2014-11-04 13:08 ` Shawn Guo
@ 2014-11-05 12:16 ` Fabio Estevam
2014-11-07 4:47 ` Nicolin Chen
0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2014-11-05 12:16 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Nov 4, 2014 at 11:08 AM, Shawn Guo <shawn.guo@linaro.org> wrote:
> On Tue, Nov 04, 2014 at 10:56:09AM -0200, Fabio Estevam wrote:
>> Since commit e409dfbfccf9a49 ("ASoC: dapm: Add a few supply widget sanity
>> checks") the following error is seen:
>>
>> imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
>> imx-wm8962 sound: Connecting non-supply widget to supply widget is not supported (AMIC -> MICBIAS)
>> imx-wm8962 sound: ASoC: no dapm match for AMIC --> (null) --> MICBIAS
>> imx-wm8962 sound: ASoC: Failed to add route AMIC -> direct -> MICBIAS
>
> Any regression behind that error message?
Playback works fine, but I am having issues with arecord with or
without this patch, so I haven't seen any regression.
Will investigate the arecord problem I am having (maybe it is a
alsamixer config issue).
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: dts: imx6qdl-sabresd.dtsi: Fix the microphone route
2014-11-05 12:16 ` Fabio Estevam
@ 2014-11-07 4:47 ` Nicolin Chen
0 siblings, 0 replies; 4+ messages in thread
From: Nicolin Chen @ 2014-11-07 4:47 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Nov 05, 2014 at 10:16:40AM -0200, Fabio Estevam wrote:
> On Tue, Nov 4, 2014 at 11:08 AM, Shawn Guo <shawn.guo@linaro.org> wrote:
> > On Tue, Nov 04, 2014 at 10:56:09AM -0200, Fabio Estevam wrote:
> >> Since commit e409dfbfccf9a49 ("ASoC: dapm: Add a few supply widget sanity
> >> checks") the following error is seen:
> >>
> >> imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
> >> imx-wm8962 sound: Connecting non-supply widget to supply widget is not supported (AMIC -> MICBIAS)
> >> imx-wm8962 sound: ASoC: no dapm match for AMIC --> (null) --> MICBIAS
> >> imx-wm8962 sound: ASoC: Failed to add route AMIC -> direct -> MICBIAS
> >
> > Any regression behind that error message?
>
> Playback works fine, but I am having issues with arecord with or
> without this patch, so I haven't seen any regression.
>
> Will investigate the arecord problem I am having (maybe it is a
> alsamixer config issue).
I just took a test on imx6sx-sdb with the identical AMIC route
as SabreSD does, but the microphone actually still works even
if the same link error occurs.
So I think the error doesn't break the function on Sabre SD
either...and the reason should be the dts connecting 'IN3R'
directly to MICBIAS, which isn't so accurate.
For the patch, I think the configuration on imx6sx-sdb would
be better.
120 "AMIC", "MICBIAS",
121 "IN3R", "AMIC";
Thanks
Nicolin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-07 4:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04 12:56 [PATCH] ARM: dts: imx6qdl-sabresd.dtsi: Fix the microphone route Fabio Estevam
2014-11-04 13:08 ` Shawn Guo
2014-11-05 12:16 ` Fabio Estevam
2014-11-07 4:47 ` Nicolin Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).