* [PATCH v4 3/6] arm: mach-shmobile: add a resource name for shdma
@ 2012-01-11 7:27 Shimoda, Yoshihiro
2012-01-12 1:11 ` Paul Mundt
2012-01-12 2:02 ` Shimoda, Yoshihiro
0 siblings, 2 replies; 3+ messages in thread
From: Shimoda, Yoshihiro @ 2012-01-11 7:27 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
about v4:
- use defination macros for IRQ resource
arch/arm/mach-shmobile/setup-sh7372.c | 8 ++++++++
arch/arm/mach-shmobile/setup-sh73a0.c | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c
index 2380389..4f74e32 100644
--- a/arch/arm/mach-shmobile/setup-sh7372.c
+++ b/arch/arm/mach-shmobile/setup-sh7372.c
@@ -505,12 +505,14 @@ static struct resource sh7372_dmae0_resources[] = {
},
{
/* DMA error IRQ */
+ .name = SH_DMA_IRQ_ERROR,
.start = evt2irq(0x20c0),
.end = evt2irq(0x20c0),
.flags = IORESOURCE_IRQ,
},
{
/* IRQ for channels 0-5 */
+ .name = SH_DMA_IRQ_CHANNEL,
.start = evt2irq(0x2000),
.end = evt2irq(0x20a0),
.flags = IORESOURCE_IRQ,
@@ -533,12 +535,14 @@ static struct resource sh7372_dmae1_resources[] = {
},
{
/* DMA error IRQ */
+ .name = SH_DMA_IRQ_ERROR,
.start = evt2irq(0x21c0),
.end = evt2irq(0x21c0),
.flags = IORESOURCE_IRQ,
},
{
/* IRQ for channels 0-5 */
+ .name = SH_DMA_IRQ_CHANNEL,
.start = evt2irq(0x2100),
.end = evt2irq(0x21a0),
.flags = IORESOURCE_IRQ,
@@ -561,12 +565,14 @@ static struct resource sh7372_dmae2_resources[] = {
},
{
/* DMA error IRQ */
+ .name = SH_DMA_IRQ_ERROR,
.start = evt2irq(0x22c0),
.end = evt2irq(0x22c0),
.flags = IORESOURCE_IRQ,
},
{
/* IRQ for channels 0-5 */
+ .name = SH_DMA_IRQ_CHANNEL,
.start = evt2irq(0x2200),
.end = evt2irq(0x22a0),
.flags = IORESOURCE_IRQ,
@@ -670,6 +676,7 @@ static struct resource sh7372_usb_dmae0_resources[] = {
},
{
/* IRQ for channels */
+ .name = SH_DMA_IRQ_CHANNEL,
.start = evt2irq(0x0a00),
.end = evt2irq(0x0a00),
.flags = IORESOURCE_IRQ,
@@ -731,6 +738,7 @@ static struct resource sh7372_usb_dmae1_resources[] = {
},
{
/* IRQ for channels */
+ .name = SH_DMA_IRQ_CHANNEL,
.start = evt2irq(0x1d00),
.end = evt2irq(0x1d00),
.flags = IORESOURCE_IRQ,
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c
index e46821c..5d701ac 100644
--- a/arch/arm/mach-shmobile/setup-sh73a0.c
+++ b/arch/arm/mach-shmobile/setup-sh73a0.c
@@ -608,12 +608,14 @@ static struct resource sh73a0_dmae_resources[] = {
},
{
/* DMA error IRQ */
+ .name = SH_DMA_IRQ_ERROR,
.start = gic_spi(129),
.end = gic_spi(129),
.flags = IORESOURCE_IRQ,
},
{
/* IRQ for channels 0-19 */
+ .name = SH_DMA_IRQ_CHANNEL,
.start = gic_spi(109),
.end = gic_spi(128),
.flags = IORESOURCE_IRQ,
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v4 3/6] arm: mach-shmobile: add a resource name for shdma
2012-01-11 7:27 [PATCH v4 3/6] arm: mach-shmobile: add a resource name for shdma Shimoda, Yoshihiro
@ 2012-01-12 1:11 ` Paul Mundt
2012-01-12 2:02 ` Shimoda, Yoshihiro
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2012-01-12 1:11 UTC (permalink / raw)
To: linux-sh
On Wed, Jan 11, 2012 at 04:27:58PM +0900, Shimoda, Yoshihiro wrote:
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
> about v4:
> - use defination macros for IRQ resource
>
> arch/arm/mach-shmobile/setup-sh7372.c | 8 ++++++++
> arch/arm/mach-shmobile/setup-sh73a0.c | 2 ++
> 2 files changed, 10 insertions(+), 0 deletions(-)
>
I'll just be applying the original two with the strings written out, you
can figure out how you want to deal with the rest of the series on top of
that.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 3/6] arm: mach-shmobile: add a resource name for shdma
2012-01-11 7:27 [PATCH v4 3/6] arm: mach-shmobile: add a resource name for shdma Shimoda, Yoshihiro
2012-01-12 1:11 ` Paul Mundt
@ 2012-01-12 2:02 ` Shimoda, Yoshihiro
1 sibling, 0 replies; 3+ messages in thread
From: Shimoda, Yoshihiro @ 2012-01-12 2:02 UTC (permalink / raw)
To: linux-sh
2012/01/12 10:11, Paul Mundt wrote:
> On Wed, Jan 11, 2012 at 04:27:58PM +0900, Shimoda, Yoshihiro wrote:
>> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>> ---
>> about v4:
>> - use defination macros for IRQ resource
>>
>> arch/arm/mach-shmobile/setup-sh7372.c | 8 ++++++++
>> arch/arm/mach-shmobile/setup-sh73a0.c | 2 ++
>> 2 files changed, 10 insertions(+), 0 deletions(-)
>>
> I'll just be applying the original two with the strings written out, you
> can figure out how you want to deal with the rest of the series on top of
> that.
>
I understood it.
Best regards,
Yoshihiro Shimoda
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-12 2:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-11 7:27 [PATCH v4 3/6] arm: mach-shmobile: add a resource name for shdma Shimoda, Yoshihiro
2012-01-12 1:11 ` Paul Mundt
2012-01-12 2:02 ` Shimoda, Yoshihiro
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).