* [PATCH V2] ARM: dts: omap3-devkit8000: Enable audio support
@ 2013-02-16 7:33 Anil Kumar
2013-02-18 11:20 ` Peter Ujfalusi
0 siblings, 1 reply; 3+ messages in thread
From: Anil Kumar @ 2013-02-16 7:33 UTC (permalink / raw)
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw
Cc: peter.ujfalusi-l0cyMroinI0, linux-lFZ/pmaqli7XmaaqVzeoHQ,
thomas-xePHB1Atl/Dsq35pWSNszA
Add the needed sections to enable audio support on
Devkit8000 when booted with DT blob.
Signed-off-by: Anil Kumar <anilk4.v-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
This patch is based on top of kernel 3.8-rc5 and
the following patches.
Peter Ujfalusi:-
ASoC: twl4030: Correct the support for Voice port
ASoC: twl4030: Convert MICBIAS to SUPPLY widget
ASoC: omap-twl4030: Add support for routing, voice port and jack detect
Anil Kumar:-
ARM: dts: add minimal DT support for DevKit8000
https://patchwork.kernel.org/patch/2122461/
-Tested for playback and capture on Devkit8000.
Test process:-
#amixer set 'PredriveR Mixer AudioR2' on
#amixer set 'PredriveL Mixer AudioL2' on
#amixer set PreDriv 100 unmute
#amixer set 'DAC2 Digital Fine' 100
#amixer cset numid=27 1
#arecord | aplay
For V2:
- Remove pin mux as done at device boot time by default.
:100644 100644 6338993... c70116f... M arch/arm/boot/dts/omap3-devkit8000.dts
arch/arm/boot/dts/omap3-devkit8000.dts | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts
index 6338993..c70116f 100644
--- a/arch/arm/boot/dts/omap3-devkit8000.dts
+++ b/arch/arm/boot/dts/omap3-devkit8000.dts
@@ -42,6 +42,19 @@
};
};
+
+ sound {
+ compatible = "ti,omap-twl4030";
+ ti,model = "devkit8000";
+
+ ti,mcbsp = <&mcbsp2>;
+ ti,codec = <&twl_audio>;
+ ti,audio-routing =
+ "Ext Spk", "PREDRIVEL",
+ "Ext Spk", "PREDRIVER",
+ "MAINMIC", "Main Mic",
+ "Main Mic", "Mic Bias 1";
+ };
};
&i2c1 {
@@ -51,6 +64,12 @@
reg = <0x48>;
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
interrupt-parent = <&intc>;
+
+ twl_audio: audio {
+ compatible = "ti,twl4030-audio";
+ codec {
+ };
+ };
};
};
@@ -86,10 +105,6 @@
status = "disabled";
};
-&mcbsp2 {
- status = "disabled";
-};
-
&mcbsp3 {
status = "disabled";
};
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V2] ARM: dts: omap3-devkit8000: Enable audio support
2013-02-16 7:33 [PATCH V2] ARM: dts: omap3-devkit8000: Enable audio support Anil Kumar
@ 2013-02-18 11:20 ` Peter Ujfalusi
[not found] ` <51220E78.5000409-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Peter Ujfalusi @ 2013-02-18 11:20 UTC (permalink / raw)
To: Anil Kumar
Cc: alsa-devel, linux, b-cousson, tony, devicetree-discuss,
linux-kernel, grant.likely, linux-omap, linux-arm-kernel, thomas
On 02/16/2013 08:33 AM, Anil Kumar wrote:
> Add the needed sections to enable audio support on
> Devkit8000 when booted with DT blob.
>
> Signed-off-by: Anil Kumar <anilk4.v@gmail.com>
Looks good:
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> This patch is based on top of kernel 3.8-rc5 and
> the following patches.
>
> Peter Ujfalusi:-
> ASoC: twl4030: Correct the support for Voice port
> ASoC: twl4030: Convert MICBIAS to SUPPLY widget
> ASoC: omap-twl4030: Add support for routing, voice port and jack detect
>
> Anil Kumar:-
> ARM: dts: add minimal DT support for DevKit8000
> https://patchwork.kernel.org/patch/2122461/
>
> -Tested for playback and capture on Devkit8000.
>
> Test process:-
>
> #amixer set 'PredriveR Mixer AudioR2' on
> #amixer set 'PredriveL Mixer AudioL2' on
> #amixer set PreDriv 100 unmute
> #amixer set 'DAC2 Digital Fine' 100
> #amixer cset numid=27 1
> #arecord | aplay
>
> For V2:
> - Remove pin mux as done at device boot time by default.
>
> :100644 100644 6338993... c70116f... M arch/arm/boot/dts/omap3-devkit8000.dts
> arch/arm/boot/dts/omap3-devkit8000.dts | 23 +++++++++++++++++++----
> 1 files changed, 19 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts
> index 6338993..c70116f 100644
> --- a/arch/arm/boot/dts/omap3-devkit8000.dts
> +++ b/arch/arm/boot/dts/omap3-devkit8000.dts
> @@ -42,6 +42,19 @@
> };
>
> };
> +
> + sound {
> + compatible = "ti,omap-twl4030";
> + ti,model = "devkit8000";
> +
> + ti,mcbsp = <&mcbsp2>;
> + ti,codec = <&twl_audio>;
> + ti,audio-routing =
> + "Ext Spk", "PREDRIVEL",
> + "Ext Spk", "PREDRIVER",
> + "MAINMIC", "Main Mic",
> + "Main Mic", "Mic Bias 1";
> + };
> };
>
> &i2c1 {
> @@ -51,6 +64,12 @@
> reg = <0x48>;
> interrupts = <7>; /* SYS_NIRQ cascaded to intc */
> interrupt-parent = <&intc>;
> +
> + twl_audio: audio {
> + compatible = "ti,twl4030-audio";
> + codec {
> + };
> + };
> };
> };
>
> @@ -86,10 +105,6 @@
> status = "disabled";
> };
>
> -&mcbsp2 {
> - status = "disabled";
> -};
> -
> &mcbsp3 {
> status = "disabled";
> };
>
--
Péter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-27 2:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-16 7:33 [PATCH V2] ARM: dts: omap3-devkit8000: Enable audio support Anil Kumar
2013-02-18 11:20 ` Peter Ujfalusi
[not found] ` <51220E78.5000409-l0cyMroinI0@public.gmane.org>
2013-02-27 2:42 ` Anil Kumar
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).