Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1223390 > unrolled thread

[PATCH] ARM: pxa: add resources to pxaficp_ir

Started byRobert Jarzmik <robert.jarzmik@free.fr>
First post2015-09-12 13:50 +0200
Last post2015-09-13 03:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: pxa: add resources to pxaficp_ir Robert Jarzmik <robert.jarzmik@free.fr> - 2015-09-12 13:50 +0200
    Re: [PATCH] ARM: pxa: add resources to pxaficp_ir Petr Cvek <petr.cvek@tul.cz> - 2015-09-13 03:40 +0200

#1223390 — [PATCH] ARM: pxa: add resources to pxaficp_ir

FromRobert Jarzmik <robert.jarzmik@free.fr>
Date2015-09-12 13:50 +0200
Subject[PATCH] ARM: pxa: add resources to pxaficp_ir
Message-ID<q7RtD-7R3-9@gated-at.bofh.it>
Add io memory and dma requestor lines to the irda pxa device. This is
part of the conversion of pxaficp_ir to dmaengine, and to shrink its
adherence to 'mach' includes.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Petr Cvek <petr.cvek@tul.cz>
---
 arch/arm/mach-pxa/devices.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c
index 35434662dc7c..9592667453b0 100644
--- a/arch/arm/mach-pxa/devices.c
+++ b/arch/arm/mach-pxa/devices.c
@@ -394,6 +394,26 @@ static struct resource pxa_ir_resources[] = {
 		.end    = IRQ_ICP,
 		.flags  = IORESOURCE_IRQ,
 	},
+	[3] = {
+		.start  = 0x40800000,
+		.end	= 0x4080001b,
+		.flags  = IORESOURCE_MEM,
+	},
+	[4] = {
+		.start  = 0x40700000,
+		.end	= 0x40700023,
+		.flags  = IORESOURCE_MEM,
+	},
+	[5] = {
+		.start  = 17,
+		.end	= 17,
+		.flags  = IORESOURCE_DMA,
+	},
+	[6] = {
+		.start  = 18,
+		.end	= 18,
+		.flags  = IORESOURCE_DMA,
+	},
 };
 
 struct platform_device pxa_device_ficp = {
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1223538

FromPetr Cvek <petr.cvek@tul.cz>
Date2015-09-13 03:40 +0200
Message-ID<q84qS-1lB-5@gated-at.bofh.it>
In reply to#1223390
Dne 12.9.2015 v 13:36 Robert Jarzmik napsal(a):
> Add io memory and dma requestor lines to the irda pxa device. This is
> part of the conversion of pxaficp_ir to dmaengine, and to shrink its
> adherence to 'mach' includes.
> 
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> Cc: Petr Cvek <petr.cvek@tul.cz>
> ---
>  arch/arm/mach-pxa/devices.c | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c
> index 35434662dc7c..9592667453b0 100644
> --- a/arch/arm/mach-pxa/devices.c
> +++ b/arch/arm/mach-pxa/devices.c
> @@ -394,6 +394,26 @@ static struct resource pxa_ir_resources[] = {
>  		.end    = IRQ_ICP,
>  		.flags  = IORESOURCE_IRQ,
>  	},
> +	[3] = {
> +		.start  = 0x40800000,
> +		.end	= 0x4080001b,
> +		.flags  = IORESOURCE_MEM,
> +	},
> +	[4] = {
> +		.start  = 0x40700000,
> +		.end	= 0x40700023,
> +		.flags  = IORESOURCE_MEM,
> +	},
> +	[5] = {
> +		.start  = 17,
> +		.end	= 17,
> +		.flags  = IORESOURCE_DMA,
> +	},
> +	[6] = {
> +		.start  = 18,
> +		.end	= 18,
> +		.flags  = IORESOURCE_DMA,
> +	},
>  };
>  
>  struct platform_device pxa_device_ficp = {
> 
Tested-by: Petr Cvek <petr.cvek@tul.cz>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web