ARM: dts: omap3-devkit8000: Enable audio support
PATCH v2 1/1 ARM: dts: omap3-devkit8000: Enable audio support
Add the needed sections to enable audio support on Devkit8000 when booted with DT blob.
---
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(-)
arch/arm/boot/dts/omap3-devkit8000.dts +19 -4
@@ -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"; };
Signature · 1 line
1.7.0.4
Quoted 4 lines · Anil Kumar
Add the needed sections to enable audio support on Devkit8000 when booted with DT blob.
Signed-off-by Anil Kumar <[email protected]>
Looks good:
Quoted 80 lines
---
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 detectAnil 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 | aplayFor V2:
- Remove pin mux as done at device boot time by default.:100644 100644 6338993... c70116f... M
arch/arm/boot/dts/omap3-devkit8000.dtsarch/arm/boot/dts/omap3-devkit8000.dts | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-)arch/arm/boot/dts/omap3-devkit8000.dts +19
-4@@ -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"; };
Signature · 1 line
P?ter
Hi,
Quoted 8 lines · Peter Ujfalusi
Quoted 4 lines · Anil Kumar
Add the needed sections to enable audio support on Devkit8000 when booted with DT blob.
Signed-off-by Anil Kumar <[email protected]>Looks good:
Acked-by Peter Ujfalusi <[email protected]>
Gentle Ping. As there are no review comments on this patch, Could you please pull this patch ?
Thanks,
Anil
Quoted 85 lines
Quoted 71 lines
---
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 detectAnil 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 | aplayFor V2:
- Remove pin mux as done at device boot time by default.:100644 100644 6338993... c70116f... M
arch/arm/boot/dts/omap3-devkit8000.dtsarch/arm/boot/dts/omap3-devkit8000.dts | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-)arch/arm/boot/dts/omap3-devkit8000.dts +19
-0@@ -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 { + }; + }; }; };arch/arm/boot/dts/omap3-devkit8000.dts line 110
Quoted 10 lines
arch/arm/boot/dts/omap3-devkit8000.dts +0
-4@@ -86,10 +105,6 @@ status = "disabled"; }; -&mcbsp2 { - status = "disabled"; -}; - &mcbsp3 { status = "disabled"; };--
Péter