[alsa-devel] [PATCH V2 1/2] ARM: dts: OMAP2+: Add SDMA Audio IPs bindings
Peter Ujfalusi
peter.ujfalusi at ti.com
Mon Mar 11 15:19:22 CET 2013
On 03/11/2013 08:50 AM, Sebastien Guiriec wrote:
> Populate DMA client information for McBSP DMIC and McPDM periperhal on
> OMAP2+ devices.
Looks good to me:
Reviewed-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
>
> Signed-off-by: Sebastien Guiriec <s-guiriec at ti.com>
> ---
> arch/arm/boot/dts/omap2420.dtsi | 6 ++++++
> arch/arm/boot/dts/omap2430.dtsi | 15 +++++++++++++++
> arch/arm/boot/dts/omap3.dtsi | 15 +++++++++++++++
> arch/arm/boot/dts/omap4.dtsi | 17 +++++++++++++++++
> arch/arm/boot/dts/omap5.dtsi | 14 ++++++++++++++
> 5 files changed, 67 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap2420.dtsi b/arch/arm/boot/dts/omap2420.dtsi
> index af65609..45930f2 100644
> --- a/arch/arm/boot/dts/omap2420.dtsi
> +++ b/arch/arm/boot/dts/omap2420.dtsi
> @@ -37,6 +37,9 @@
> <60>; /* RX interrupt */
> interrupt-names = "tx", "rx";
> ti,hwmods = "mcbsp1";
> + dmas = <&sdma 31>,
> + <&sdma 32>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp2: mcbsp at 48076000 {
> @@ -47,6 +50,9 @@
> <63>; /* RX interrupt */
> interrupt-names = "tx", "rx";
> ti,hwmods = "mcbsp2";
> + dmas = <&sdma 33>,
> + <&sdma 34>;
> + dma-names = "tx", "rx";
> };
>
> timer1: timer at 48028000 {
> diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi
> index c392445..cfe7ed9 100644
> --- a/arch/arm/boot/dts/omap2430.dtsi
> +++ b/arch/arm/boot/dts/omap2430.dtsi
> @@ -40,6 +40,9 @@
> interrupt-names = "common", "tx", "rx", "rx_overflow";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp1";
> + dmas = <&sdma 31>,
> + <&sdma 32>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp2: mcbsp at 48076000 {
> @@ -52,6 +55,9 @@
> interrupt-names = "common", "tx", "rx";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp2";
> + dmas = <&sdma 33>,
> + <&sdma 34>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp3: mcbsp at 4808c000 {
> @@ -64,6 +70,9 @@
> interrupt-names = "common", "tx", "rx";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp3";
> + dmas = <&sdma 17>,
> + <&sdma 18>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp4: mcbsp at 4808e000 {
> @@ -76,6 +85,9 @@
> interrupt-names = "common", "tx", "rx";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp4";
> + dmas = <&sdma 19>,
> + <&sdma 20>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp5: mcbsp at 48096000 {
> @@ -88,6 +100,9 @@
> interrupt-names = "common", "tx", "rx";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp5";
> + dmas = <&sdma 21>,
> + <&sdma 22>;
> + dma-names = "tx", "rx";
> };
>
> timer1: timer at 49018000 {
> diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
> index 4e7acb6..f901404 100644
> --- a/arch/arm/boot/dts/omap3.dtsi
> +++ b/arch/arm/boot/dts/omap3.dtsi
> @@ -289,6 +289,9 @@
> interrupt-names = "common", "tx", "rx";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp1";
> + dmas = <&sdma 31>,
> + <&sdma 32>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp2: mcbsp at 49022000 {
> @@ -303,6 +306,9 @@
> interrupt-names = "common", "tx", "rx", "sidetone";
> ti,buffer-size = <1280>;
> ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
> + dmas = <&sdma 33>,
> + <&sdma 34>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp3: mcbsp at 49024000 {
> @@ -317,6 +323,9 @@
> interrupt-names = "common", "tx", "rx", "sidetone";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
> + dmas = <&sdma 17>,
> + <&sdma 18>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp4: mcbsp at 49026000 {
> @@ -329,6 +338,9 @@
> interrupt-names = "common", "tx", "rx";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp4";
> + dmas = <&sdma 19>,
> + <&sdma 20>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp5: mcbsp at 48096000 {
> @@ -341,6 +353,9 @@
> interrupt-names = "common", "tx", "rx";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp5";
> + dmas = <&sdma 21>,
> + <&sdma 22>;
> + dma-names = "tx", "rx";
> };
>
> timer1: timer at 48318000 {
> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
> index 827f6f3..413c683 100644
> --- a/arch/arm/boot/dts/omap4.dtsi
> +++ b/arch/arm/boot/dts/omap4.dtsi
> @@ -388,6 +388,9 @@
> reg-names = "mpu", "dma";
> interrupts = <0 112 0x4>;
> ti,hwmods = "mcpdm";
> + dmas = <&sdma 65>,
> + <&sdma 66>;
> + dma-names = "up_link", "dn_link";
> };
>
> dmic: dmic at 4012e000 {
> @@ -397,6 +400,8 @@
> reg-names = "mpu", "dma";
> interrupts = <0 114 0x4>;
> ti,hwmods = "dmic";
> + dmas = <&sdma 67>;
> + dma-names = "up_link";
> };
>
> mcbsp1: mcbsp at 40122000 {
> @@ -408,6 +413,9 @@
> interrupt-names = "common";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp1";
> + dmas = <&sdma 33>,
> + <&sdma 34>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp2: mcbsp at 40124000 {
> @@ -419,6 +427,9 @@
> interrupt-names = "common";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp2";
> + dmas = <&sdma 17>,
> + <&sdma 18>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp3: mcbsp at 40126000 {
> @@ -430,6 +441,9 @@
> interrupt-names = "common";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp3";
> + dmas = <&sdma 19>,
> + <&sdma 20>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp4: mcbsp at 48096000 {
> @@ -440,6 +454,9 @@
> interrupt-names = "common";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp4";
> + dmas = <&sdma 31>,
> + <&sdma 32>;
> + dma-names = "tx", "rx";
> };
>
> keypad: keypad at 4a31c000 {
> diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
> index 39b8d76..5aa6086 100644
> --- a/arch/arm/boot/dts/omap5.dtsi
> +++ b/arch/arm/boot/dts/omap5.dtsi
> @@ -364,6 +364,9 @@
> reg-names = "mpu", "dma";
> interrupts = <0 112 0x4>;
> ti,hwmods = "mcpdm";
> + dmas = <&sdma 65>,
> + <&sdma 66>;
> + dma-names = "up_link", "dn_link";
> };
>
> dmic: dmic at 4012e000 {
> @@ -373,6 +376,8 @@
> reg-names = "mpu", "dma";
> interrupts = <0 114 0x4>;
> ti,hwmods = "dmic";
> + dmas = <&sdma 67>;
> + dma-names = "up_link";
> };
>
> mcbsp1: mcbsp at 40122000 {
> @@ -384,6 +389,9 @@
> interrupt-names = "common";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp1";
> + dmas = <&sdma 33>,
> + <&sdma 34>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp2: mcbsp at 40124000 {
> @@ -395,6 +403,9 @@
> interrupt-names = "common";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp2";
> + dmas = <&sdma 17>,
> + <&sdma 18>;
> + dma-names = "tx", "rx";
> };
>
> mcbsp3: mcbsp at 40126000 {
> @@ -406,6 +417,9 @@
> interrupt-names = "common";
> ti,buffer-size = <128>;
> ti,hwmods = "mcbsp3";
> + dmas = <&sdma 19>,
> + <&sdma 20>;
> + dma-names = "tx", "rx";
> };
>
> timer1: timer at 4ae18000 {
>
--
Péter
More information about the Alsa-devel
mailing list