* [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757
@ 2012-03-07 5:46 Shimoda, Yoshihiro
2012-03-07 5:55 ` Paul Mundt
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Shimoda, Yoshihiro @ 2012-03-07 5:46 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
index 2875e8b..c8836cf 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
@@ -680,6 +680,25 @@ static struct platform_device spi1_device = {
.resource = spi1_resources,
};
+static struct resource rspi_resources[] = {
+ {
+ .start = 0xfe480000,
+ .end = 0xfe4800ff,
+ .flags = IORESOURCE_MEM,
+ },
+ {
+ .start = 220,
+ .flags = IORESOURCE_IRQ,
+ },
+};
+
+static struct platform_device rspi_device = {
+ .name = "rspi",
+ .id = 2,
+ .num_resources = ARRAY_SIZE(rspi_resources),
+ .resource = rspi_resources,
+};
+
static struct resource usb_ehci_resources[] = {
[0] = {
.start = 0xfe4f1000,
@@ -740,6 +759,7 @@ static struct platform_device *sh7757_devices[] __initdata = {
&dma3_device,
&spi0_device,
&spi1_device,
+ &rspi_device,
&usb_ehci_device,
&usb_ohci_device,
};
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757
2012-03-07 5:46 [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757 Shimoda, Yoshihiro
@ 2012-03-07 5:55 ` Paul Mundt
2012-03-07 6:00 ` Shimoda, Yoshihiro
2012-03-28 5:41 ` Paul Mundt
2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2012-03-07 5:55 UTC (permalink / raw)
To: linux-sh
On Wed, Mar 07, 2012 at 02:46:41PM +0900, Shimoda, Yoshihiro wrote:
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
> arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 20 ++++++++++++++++++++
> 1 files changed, 20 insertions(+), 0 deletions(-)
>
I wasn't going to bother applying this until the actual driver itself had
been merged. Obviously we can merge the data regardless, as it doesn't
depend on any headers or anything, but it would be pointless if changes
have to be made to the driver first.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757
2012-03-07 5:46 [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757 Shimoda, Yoshihiro
2012-03-07 5:55 ` Paul Mundt
@ 2012-03-07 6:00 ` Shimoda, Yoshihiro
2012-03-28 5:41 ` Paul Mundt
2 siblings, 0 replies; 4+ messages in thread
From: Shimoda, Yoshihiro @ 2012-03-07 6:00 UTC (permalink / raw)
To: linux-sh
2012/03/07 14:55, Paul Mundt wrote:
> On Wed, Mar 07, 2012 at 02:46:41PM +0900, Shimoda, Yoshihiro wrote:
>> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>> ---
>> arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 20 ++++++++++++++++++++
>> 1 files changed, 20 insertions(+), 0 deletions(-)
>>
> I wasn't going to bother applying this until the actual driver itself had
> been merged. Obviously we can merge the data regardless, as it doesn't
> depend on any headers or anything, but it would be pointless if changes
> have to be made to the driver first.
>
Thank you for the comment. I understood it.
Best regards,
Yoshihiro Shimoda
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757
2012-03-07 5:46 [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757 Shimoda, Yoshihiro
2012-03-07 5:55 ` Paul Mundt
2012-03-07 6:00 ` Shimoda, Yoshihiro
@ 2012-03-28 5:41 ` Paul Mundt
2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2012-03-28 5:41 UTC (permalink / raw)
To: linux-sh
On Wed, Mar 07, 2012 at 03:00:03PM +0900, Shimoda, Yoshihiro wrote:
> 2012/03/07 14:55, Paul Mundt wrote:
> > On Wed, Mar 07, 2012 at 02:46:41PM +0900, Shimoda, Yoshihiro wrote:
> >> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> >> ---
> >> arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 20 ++++++++++++++++++++
> >> 1 files changed, 20 insertions(+), 0 deletions(-)
> >>
> > I wasn't going to bother applying this until the actual driver itself had
> > been merged. Obviously we can merge the data regardless, as it doesn't
> > depend on any headers or anything, but it would be pointless if changes
> > have to be made to the driver first.
> >
>
> Thank you for the comment. I understood it.
>
Ok, looks like the driver is in mainline now, so I've queued this up.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-28 5:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 5:46 [PATCH RESEND] sh: add platform_device for RSPI in setup-sh7757 Shimoda, Yoshihiro
2012-03-07 5:55 ` Paul Mundt
2012-03-07 6:00 ` Shimoda, Yoshihiro
2012-03-28 5:41 ` Paul Mundt
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).