Re: [RFC PATCH 18/19] powerpc: wii: platform support

2009-11-26 Thread Segher Boessenkool
+#ifdef CONFIG_STARLET_MINI + +#define HW_RESETS_OF_COMPATIBLE"nintendo,hollywood-resets" +#define HW_GPIO_ALIAS"hw_gpio This should be unconditional now I think? You access the hardware directly. Yes, at this stage direct hardware should be possible, but only if 'mini' support

Re: [RFC PATCH 18/19] powerpc: wii: platform support

2009-11-25 Thread Albert Herranz
Segher Boessenkool wrote: >> diff --git a/arch/powerpc/platforms/embedded6xx/wii.c >> b/arch/powerpc/platforms/embedded6xx/wii.c > >> +#define DRV_MODULE_NAME "rvl" > > Should this be "wii"? > Ok. I'm fine with both. >> +static enum starlet_ipc_flavour starlet_ipc_flavour; >> + >> +enum starle

Re: [RFC PATCH 18/19] powerpc: wii: platform support

2009-11-24 Thread Segher Boessenkool
diff --git a/arch/powerpc/platforms/embedded6xx/wii.c b/arch/ powerpc/platforms/embedded6xx/wii.c +#define DRV_MODULE_NAME "rvl" Should this be "wii"? +static enum starlet_ipc_flavour starlet_ipc_flavour; + +enum starlet_ipc_flavour starlet_get_ipc_flavour(void) +{ + return starlet_ip

Re: [RFC PATCH 18/19] powerpc: wii: platform support

2009-11-23 Thread Albert Herranz
Grant Likely wrote: > On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz > wrote: >> Add platform support for the Nintendo Wii video game console. >> >> Signed-off-by: Albert Herranz >> --- >> +static int wii_setup_hw_resets(void) >> +{ >> + struct device_node *np; >> + struct resource

Re: [RFC PATCH 18/19] powerpc: wii: platform support

2009-11-22 Thread Grant Likely
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote: > Add platform support for the Nintendo Wii video game console. > > Signed-off-by: Albert Herranz > --- > +static int wii_setup_hw_resets(void) > +{ > +       struct device_node *np; > +       struct resource res; > +       int error = -ENODE

[RFC PATCH 18/19] powerpc: wii: platform support

2009-11-22 Thread Albert Herranz
Add platform support for the Nintendo Wii video game console. Signed-off-by: Albert Herranz --- arch/powerpc/platforms/embedded6xx/Kconfig |8 + arch/powerpc/platforms/embedded6xx/Makefile |1 + arch/powerpc/platforms/embedded6xx/wii.c | 270 ++ arch/power