* [PATCH] ARM: dst: OMAP3-N900: Add microphone bias voltages
@ 2015-01-30 19:23 Jarkko Nikula
[not found] ` <1422645800-21287-1-git-send-email-jarkko.nikula-FVTvWyuFUl3QT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jarkko Nikula @ 2015-01-30 19:23 UTC (permalink / raw)
To: devicetree
Cc: Benoît Cousson, Tony Lindgren, linux-omap, Pavel Machek,
Jarkko Nikula
From: Pavel Machek <pavel@ucw.cz>
N900 audio recording needs that codec provides bias voltage for integrated
digital microphone and headset microphone depending which one is used.
Digital microphone uses 2 V bias and it comes from the codec A part. Codec
B part drives the headset microphone bias and that is set to 2.5 V.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
[Jarkko: Headset mic bias changed to 2 (2.5 V) as it was before commit
e2e8bfdf6157 ("ASoC: tlv320aic3x: Convert mic bias to a supply widget")]
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
---
Pavel: I hope you don't mind I took your diff from
http://marc.info/?l=linux-kernel&m=142249383224678&w=2
and added your Signed-off-by?
---
arch/arm/boot/dts/omap3-n900.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index b550c41b46f1..f7858f5974e3 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -478,6 +478,8 @@
DRVDD-supply = <&vmmc2>;
IOVDD-supply = <&vio>;
DVDD-supply = <&vio>;
+
+ ai3x-micbias-vg = <1>;
};
tlv320aic3x_aux: tlv320aic3x@19 {
@@ -489,6 +491,8 @@
DRVDD-supply = <&vmmc2>;
IOVDD-supply = <&vio>;
DVDD-supply = <&vio>;
+
+ ai3x-micbias-vg = <2>;
};
tsl2563: tsl2563@29 {
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dst: OMAP3-N900: Add microphone bias voltages
[not found] ` <1422645800-21287-1-git-send-email-jarkko.nikula-FVTvWyuFUl3QT0dZR+AlfA@public.gmane.org>
@ 2015-01-30 20:03 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2015-01-30 20:03 UTC (permalink / raw)
To: Jarkko Nikula
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Benoît Cousson,
Tony Lindgren, linux-omap-u79uwXL29TY76Z2rM5mHXA
On Fri 2015-01-30 21:23:20, Jarkko Nikula wrote:
> From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
>
> N900 audio recording needs that codec provides bias voltage for integrated
> digital microphone and headset microphone depending which one is used.
> Digital microphone uses 2 V bias and it comes from the codec A part. Codec
> B part drives the headset microphone bias and that is set to 2.5 V.
>
> Signed-off-by: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
> [Jarkko: Headset mic bias changed to 2 (2.5 V) as it was before commit
> e2e8bfdf6157 ("ASoC: tlv320aic3x: Convert mic bias to a supply widget")]
> Signed-off-by: Jarkko Nikula <jarkko.nikula-FVTvWyuFUl3QT0dZR+AlfA@public.gmane.org>
> ---
> Pavel: I hope you don't mind I took your diff from
> http://marc.info/?l=linux-kernel&m=142249383224678&w=2
> and added your Signed-off-by?
No problem, my patches are GPLed. Thanks!
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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] 2+ messages in thread
end of thread, other threads:[~2015-01-30 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 19:23 [PATCH] ARM: dst: OMAP3-N900: Add microphone bias voltages Jarkko Nikula
[not found] ` <1422645800-21287-1-git-send-email-jarkko.nikula-FVTvWyuFUl3QT0dZR+AlfA@public.gmane.org>
2015-01-30 20:03 ` Pavel Machek
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).