From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753219AbbGNG5w (ORCPT ); Tue, 14 Jul 2015 02:57:52 -0400 Received: from muru.com ([72.249.23.125]:35151 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753175AbbGNG5t (ORCPT ); Tue, 14 Jul 2015 02:57:49 -0400 Date: Mon, 13 Jul 2015 23:57:45 -0700 From: Tony Lindgren To: Arun Bharadwaj Cc: =?utf-8?Q?Beno=C3=AEt?= Cousson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Adam YH Lee , Ash Charles Subject: Re: [PATCH 1/3] ARM: dts: Correct audio input route & set mic bias Message-ID: <20150714065745.GE17550@atomide.com> References: <1433441299-18887-1-git-send-email-arun@gumstix.com> <1433441299-18887-2-git-send-email-arun@gumstix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433441299-18887-2-git-send-email-arun@gumstix.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Arun Bharadwaj [150604 11:10]: > From: 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: Ash Charles Can you please repost this with after checking From and Signed-off-by? Regards, Tony > --- > 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 0d35ab6..473d8ee 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 { > @@ -153,7 +154,7 @@ > ti,audio-routing = > "Headphone Jack", "HPLOUT", > "Headphone Jack", "HPROUT", > - "LINE1L", "Line In"; > + "MIC3L", "Mic3L Switch"; > }; > > &mcasp0 { > -- > 2.1.4 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 1/3] ARM: dts: Correct audio input route & set mic bias Date: Mon, 13 Jul 2015 23:57:45 -0700 Message-ID: <20150714065745.GE17550@atomide.com> References: <1433441299-18887-1-git-send-email-arun@gumstix.com> <1433441299-18887-2-git-send-email-arun@gumstix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1433441299-18887-2-git-send-email-arun-EiDWdcs9+yZBDgjK7y7TUQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Arun Bharadwaj Cc: =?utf-8?Q?Beno=C3=AEt?= Cousson , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Adam YH Lee , Ash Charles List-Id: devicetree@vger.kernel.org * Arun Bharadwaj [150604 11:10]: > From: 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: Ash Charles Can you please repost this with after checking From and Signed-off-by? Regards, Tony > --- > 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 0d35ab6..473d8ee 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 { > @@ -153,7 +154,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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 13 Jul 2015 23:57:45 -0700 Subject: [PATCH 1/3] ARM: dts: Correct audio input route & set mic bias In-Reply-To: <1433441299-18887-2-git-send-email-arun@gumstix.com> References: <1433441299-18887-1-git-send-email-arun@gumstix.com> <1433441299-18887-2-git-send-email-arun@gumstix.com> Message-ID: <20150714065745.GE17550@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Arun Bharadwaj [150604 11:10]: > From: 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: Ash Charles Can you please repost this with after checking From and Signed-off-by? Regards, Tony > --- > 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 0d35ab6..473d8ee 100644 > --- a/arch/arm/boot/dts/am335x-pepper.dts > +++ b/arch/arm/boot/dts/am335x-pepper.dts > @@ -74,6 +74,7 @@ > audio_codec: tlv320aic3106 at 1b { > compatible = "ti,tlv320aic3106"; > reg = <0x1b>; > + ai3x-micbias-vg = <0x2>; > }; > > accel: lis331dlh at 1d { > @@ -153,7 +154,7 @@ > ti,audio-routing = > "Headphone Jack", "HPLOUT", > "Headphone Jack", "HPROUT", > - "LINE1L", "Line In"; > + "MIC3L", "Mic3L Switch"; > }; > > &mcasp0 { > -- > 2.1.4 >