* [PATCH V2] arm:DTS Correct audio input route & set mic bias @ 2015-07-14 18:17 Adam YH Lee [not found] ` <1436897844-6908-1-git-send-email-adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Adam YH Lee @ 2015-07-14 18:17 UTC (permalink / raw) To: linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA Cc: Adam YH Lee Audio-in was incorrectly routed to Line In. It should be Mic3L as per schematic. Using mic-bias voltage at 2.0v (<0x1>) does not work for some reason. There is no voltage seen on micbias (R127). Mic-bias voltage of 2.5v (<0x2>) works. I see voltage of 2.475v across GND and micbias. With these changes, I can record audio with a pair of proliferate TRRS earbuds. Signed-off-by: Adam YH Lee <adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- arch/arm/boot/dts/am335x-pepper.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index d627dc6..73b4cc3 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts @@ -74,6 +74,7 @@ audio_codec: tlv320aic3106@1b { compatible = "ti,tlv320aic3106"; reg = <0x1b>; + ai3x-micbias-vg = <0x2>; }; accel: lis331dlh@1d { @@ -152,7 +153,7 @@ ti,audio-routing = "Headphone Jack", "HPLOUT", "Headphone Jack", "HPROUT", - "LINE1L", "Line In"; + "MIC3L", "Mic3L Switch"; }; &mcasp0 { -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1436897844-6908-1-git-send-email-adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH V2] arm:DTS Correct audio input route & set mic bias [not found] ` <1436897844-6908-1-git-send-email-adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2015-07-14 18:38 ` Ash Charles [not found] ` <CAK8F28=0ttDiyzNKkYog7Pe_qWXGSRXkE_vOZ1QNpQiwbY0Vxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Ash Charles @ 2015-07-14 18:38 UTC (permalink / raw) To: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tony Lindgren Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Adam YH Lee, Arun Bharadwaj On Tue, Jul 14, 2015 at 11:17 AM, Adam YH Lee <adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Audio-in was incorrectly routed to Line In. It should be Mic3L as per > schematic. > > Using mic-bias voltage at 2.0v (<0x1>) does not work for some reason. There > is no voltage seen on micbias (R127). Mic-bias voltage of 2.5v (<0x2>) works. > I see voltage of 2.475v across GND and micbias. > > With these changes, I can record audio with a pair of proliferate TRRS earbuds. > > Signed-off-by: Adam YH Lee <adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > --- > arch/arm/boot/dts/am335x-pepper.dts | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts > index d627dc6..73b4cc3 100644 > --- a/arch/arm/boot/dts/am335x-pepper.dts > +++ b/arch/arm/boot/dts/am335x-pepper.dts > @@ -74,6 +74,7 @@ > audio_codec: tlv320aic3106@1b { > compatible = "ti,tlv320aic3106"; > reg = <0x1b>; > + ai3x-micbias-vg = <0x2>; > }; > > accel: lis331dlh@1d { > @@ -152,7 +153,7 @@ > ti,audio-routing = > "Headphone Jack", "HPLOUT", > "Headphone Jack", "HPROUT", > - "LINE1L", "Line In"; > + "MIC3L", "Mic3L Switch"; > }; > > &mcasp0 { Note, this is getting resent to correct the sign-offs as requested https://lkml.org/lkml/2015/7/14/56 Acked-by: Ash Charles <ashcharles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CAK8F28=0ttDiyzNKkYog7Pe_qWXGSRXkE_vOZ1QNpQiwbY0Vxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH V2] arm:DTS Correct audio input route & set mic bias [not found] ` <CAK8F28=0ttDiyzNKkYog7Pe_qWXGSRXkE_vOZ1QNpQiwbY0Vxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2015-07-15 5:30 ` Tony Lindgren 0 siblings, 0 replies; 3+ messages in thread From: Tony Lindgren @ 2015-07-15 5:30 UTC (permalink / raw) To: Ash Charles Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Adam YH Lee, Arun Bharadwaj * Ash Charles <ashcharles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [150714 11:41]: > On Tue, Jul 14, 2015 at 11:17 AM, Adam YH Lee <adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Audio-in was incorrectly routed to Line In. It should be Mic3L as per > > schematic. > > > > Using mic-bias voltage at 2.0v (<0x1>) does not work for some reason. There > > is no voltage seen on micbias (R127). Mic-bias voltage of 2.5v (<0x2>) works. > > I see voltage of 2.475v across GND and micbias. > > > > With these changes, I can record audio with a pair of proliferate TRRS earbuds. > > > > Signed-off-by: Adam YH Lee <adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > --- > > arch/arm/boot/dts/am335x-pepper.dts | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts > > index d627dc6..73b4cc3 100644 > > --- a/arch/arm/boot/dts/am335x-pepper.dts > > +++ b/arch/arm/boot/dts/am335x-pepper.dts > > @@ -74,6 +74,7 @@ > > audio_codec: tlv320aic3106@1b { > > compatible = "ti,tlv320aic3106"; > > reg = <0x1b>; > > + ai3x-micbias-vg = <0x2>; > > }; > > > > accel: lis331dlh@1d { > > @@ -152,7 +153,7 @@ > > ti,audio-routing = > > "Headphone Jack", "HPLOUT", > > "Headphone Jack", "HPROUT", > > - "LINE1L", "Line In"; > > + "MIC3L", "Mic3L Switch"; > > }; > > > > &mcasp0 { > Note, this is getting resent to correct the sign-offs as requested > https://lkml.org/lkml/2015/7/14/56 > Acked-by: Ash Charles <ashcharles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Thanks applying into omap-for-v4.2/fixes. Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-15 5:30 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-07-14 18:17 [PATCH V2] arm:DTS Correct audio input route & set mic bias Adam YH Lee [not found] ` <1436897844-6908-1-git-send-email-adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2015-07-14 18:38 ` Ash Charles [not found] ` <CAK8F28=0ttDiyzNKkYog7Pe_qWXGSRXkE_vOZ1QNpQiwbY0Vxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-07-15 5:30 ` Tony Lindgren
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).