Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-07 Thread Greg Ungerer
Hi Ezequiel, On 08/09/14 01:12, Ezequiel Garcia wrote: > Hi Greg, > > On 07 Sep 10:14 PM, Greg Ungerer wrote: >> Hi Ezequiel, >> >> On 06/09/14 22:06, Ezequiel Garcia wrote: >>> Hi Greg, >>> >>> (Ccing mvebu guys, full discussion here: >>> http://www.spinics.net/lists/devicetree/msg47806.html) >

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-07 Thread Ezequiel Garcia
Hi Greg, On 07 Sep 10:14 PM, Greg Ungerer wrote: > Hi Ezequiel, > > On 06/09/14 22:06, Ezequiel Garcia wrote: > >Hi Greg, > > > >(Ccing mvebu guys, full discussion here: > >http://www.spinics.net/lists/devicetree/msg47806.html) > > > >On 05 Sep 11:11 PM, Greg Ungerer wrote: > >>On 05/09/14 17:36

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-07 Thread Greg Ungerer
Hi Thomas, On 06/09/14 23:16, Thomas Petazzoni wrote: Hello, On Sat, 6 Sep 2014 09:06:00 -0300, Ezequiel Garcia wrote: Confirmed. Judging from the specs, seems the same SPI IP is on all the Armada SoCs; you can do the 'armada-spi' compatible addition on 375 and 38x. However, I believe a comp

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-07 Thread Greg Ungerer
Hi Ezequiel, On 06/09/14 22:06, Ezequiel Garcia wrote: Hi Greg, (Ccing mvebu guys, full discussion here: http://www.spinics.net/lists/devicetree/msg47806.html) On 05 Sep 11:11 PM, Greg Ungerer wrote: On 05/09/14 17:36, Geert Uytterhoeven wrote: No, the other way around (from most-specific t

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-06 Thread Thomas Petazzoni
Hello, On Sat, 6 Sep 2014 09:06:00 -0300, Ezequiel Garcia wrote: > Confirmed. Judging from the specs, seems the same SPI IP is on all the > Armada SoCs; you can do the 'armada-spi' compatible addition on 375 and 38x. However, I believe a compatible string like "armada-370-spi" should be used ins

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-06 Thread Ezequiel Garcia
Hi Greg, (Ccing mvebu guys, full discussion here: http://www.spinics.net/lists/devicetree/msg47806.html) On 05 Sep 11:11 PM, Greg Ungerer wrote: > On 05/09/14 17:36, Geert Uytterhoeven wrote: > >No, the other way around (from most-specific to least-specific): > > > > compatible = "marvell,a

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-05 Thread Greg Ungerer
Hi Geert, On 05/09/14 17:36, Geert Uytterhoeven wrote: Hi Greg, On Fri, Sep 5, 2014 at 2:36 AM, Greg Ungerer wrote: Are the Orion rates and register bits a subset of the Armada ones? I.e. does the Armada work with the Orion setup? The bits used by the orion are a subset (bits 0-4 of the SPI

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-05 Thread Geert Uytterhoeven
Hi Greg, On Fri, Sep 5, 2014 at 2:36 AM, Greg Ungerer wrote: >> Are the Orion rates and register bits a subset of the Armada ones? >> I.e. does the Armada work with the Orion setup? > > The bits used by the orion are a subset (bits 0-4 of the SPI > configuration register) of those used by the arm

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-04 Thread Greg Ungerer
Hi Geert, On 04/09/14 23:17, Geert Uytterhoeven wrote: > On Thu, Sep 4, 2014 at 2:54 PM, wrote: >> The Armada SoC family implementation of this SPI hardware module has >> extended the configuration register to allow for a wider range of SPI >> clock rates. Specifically the Serial Baud Rate Pre-s

Re: [PATCH v2] spi: orion: support armada extended baud rates

2014-09-04 Thread Geert Uytterhoeven
Hi Greg, On Thu, Sep 4, 2014 at 2:54 PM, wrote: > The Armada SoC family implementation of this SPI hardware module has > extended the configuration register to allow for a wider range of SPI > clock rates. Specifically the Serial Baud Rate Pre-selection bits in the > SPI Interface Configuration

[PATCH v2] spi: orion: support armada extended baud rates

2014-09-04 Thread gerg
From: Greg Ungerer The Armada SoC family implementation of this SPI hardware module has extended the configuration register to allow for a wider range of SPI clock rates. Specifically the Serial Baud Rate Pre-selection bits in the SPI Interface Configuration Register now also use bits 6 and 7 as