Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-08 Thread Filip Brozović
On 4/3/2015 10:24 PM, Scott Wood wrote: What are you using PPC_MPC8306 for in your custom board code? Sorry for the late reply, I was a bit busy over the Easter weekend. I'm not currently using it for anything, so I guess I could remove it and just use PPC_MPC830x in my board code. However,

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Paul Bolle
On Fri, 2015-04-03 at 14:45 +0200, Filip Brozović wrote: > The idea was that boards in the Kconfig file would select these symbols > in order to enable support for the 8306. I mainly wanted to get this > patch into mainline in order to make kernel maintenance for a couple of > custom in-house de

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 14:45 +0200, Filip Brozović wrote: > On 4/3/2015 2:01 PM, Paul Bolle wrote: > > On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote: > >> --- a/arch/powerpc/platforms/83xx/Kconfig > >> +++ b/arch/powerpc/platforms/83xx/Kconfig > > > >> +# used for gpio > >> +config PPC_MPC

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Filip Brozović
On 4/3/2015 2:01 PM, Paul Bolle wrote: On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote: --- a/arch/powerpc/platforms/83xx/Kconfig +++ b/arch/powerpc/platforms/83xx/Kconfig +# used for gpio +config PPC_MPC830x + bool + select ARCH_WANT_OPTIONAL_GPIOLIB + +config PPC_MPC8306

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Paul Bolle
On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote: > --- a/arch/powerpc/platforms/83xx/Kconfig > +++ b/arch/powerpc/platforms/83xx/Kconfig > +# used for gpio > +config PPC_MPC830x > + bool > + select ARCH_WANT_OPTIONAL_GPIOLIB > + > +config PPC_MPC8306 > + bool To me these two

[PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Filip Brozovic
Add chip specific initialization for the MPC8306. Signed-off-by: Filip Brozovic --- Changes from v1: - Fix multiplatform support for setting QE SNUMs arch/powerpc/platforms/83xx/Kconfig | 8 arch/powerpc/platforms/83xx/mpc83xx.h | 4 arch/powerpc/platforms/83xx/usb.c | 14 +