Re: [PATCH] spi: dw-mmio: add oftree support

2014-03-17 Thread Steffen Trumtrar
Hi! On Fri, Mar 14, 2014 at 04:26:14PM +, Mark Brown wrote: > On Fri, Mar 14, 2014 at 04:14:03PM +, Mark Rutland wrote: > > > > +Synopsys DesignWare SPI master controller. > > > + > > > +Required properties: > > > +- compatible : "snps,dw-spi-mmio" > > > Is there not a better name than "

Re: [PATCH] spi: dw-mmio: add oftree support

2014-03-14 Thread Mark Brown
On Fri, Mar 14, 2014 at 04:14:03PM +, Mark Rutland wrote: > On Fri, Mar 14, 2014 at 08:55:26AM +, Steffen Trumtrar wrote: > > +Optional properties: > > +- num-chipselects : The number of chipselects. > If this is optional, when wuold I need to set this? What's the default > assumption? >

Re: [PATCH] spi: dw-mmio: add oftree support

2014-03-14 Thread Mark Brown
On Fri, Mar 14, 2014 at 04:14:03PM +, Mark Rutland wrote: > > +Synopsys DesignWare SPI master controller. > > + > > +Required properties: > > +- compatible : "snps,dw-spi-mmio" > Is there not a better name than "dw-spi-mmio"? > What's the full name of the device, as on a datasheet? Is there

Re: [PATCH] spi: dw-mmio: add oftree support

2014-03-14 Thread Mark Rutland
On Fri, Mar 14, 2014 at 08:55:26AM +, Steffen Trumtrar wrote: > Allow probing the dw-mmio from devicetree. > > Signed-off-by: Steffen Trumtrar > --- > This was tested on Socfpga and v3.14-rc6 > > .../devicetree/bindings/spi/spi-dw-mmio.txt| 25 > ++ > drivers/sp

[PATCH] spi: dw-mmio: add oftree support

2014-03-14 Thread Steffen Trumtrar
Allow probing the dw-mmio from devicetree. Signed-off-by: Steffen Trumtrar --- This was tested on Socfpga and v3.14-rc6 .../devicetree/bindings/spi/spi-dw-mmio.txt| 25 ++ drivers/spi/spi-dw-mmio.c | 19 +++- 2 files changed, 43 i