This patch splits xilinx_spi into three parts, an OF and a platform
driver and generic part.
The generic part now also works on X86 and also supports the Xilinx
SPI IP DS570
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 2c733c2..eca491b 100644
John Linn wrote:
>> -Original Message-
>> From: linuxppc-dev-bounces+john.linn=xilinx@lists.ozlabs.org
>> [mailto:linuxppc-dev-
>> bounces+john.linn=xilinx@lists.ozlabs.org] On Behalf Of Richard Röjfors
>> Sent: Tuesday, September 22, 2009
Hi again,
John Linn wrote:
>> -Original Message-
>> From: Richard Röjfors [mailto:richard.rojf...@mocean-labs.com]
>> Sent: Tuesday, September 22, 2009 3:59 PM
>> To: John Linn
>> Cc: spi-devel-gene...@lists.sourceforge.net; linuxppc-...@ozlabs.org
This patch splits xilinx_spi into three parts, an OF and a platform
driver and generic part.
The generic part now also works on X86, it supports accessing the IP
booth big and little endian. There is also support for 16 and 32 bit
SPI for the Xilinx SPI IP DS570
Signed-off-by: Richard Röjfors
On 9/28/09 5:41 PM, John Linn wrote:
>> -Original Message-
>> From: Richard Röjfors [mailto:richard.rojf...@mocean-labs.com]
>> Sent: Monday, September 28, 2009 8:22 AM
>> To: spi-devel-gene...@lists.sourceforge.net
>> Cc: linuxppc-...@ozlabs.org; dbrown...
ssor changes
> should be done in a separate patch.
>
> On Mon, Sep 28, 2009 at 7:22 AM, Richard Röjfors
> wrote:
>> @@ -227,6 +227,21 @@ config SPI_XILINX
>> See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
>> Product Specification docum
Grant Likely wrote:
>
> Hi Richard. Please do another spin of this patch. I don't have any
> particular problem with the changes, but it needs to be in a more
> granular form so I can review it properly.
I will post an update today.
In the future, if you are "quasi responsible for everything X
Hi,
To follow is a series of patches against the xilinx_spi driver.
The patchset is against 2.6.32-rc6
The patchset addresses several problems in the current driver:
* It's PPC only (OF and uses PPC specific memory operations)
* Only supporting big endian writes
* Supports only 8bit SPI, support
This patch splits the xilinx_spi driver into a generic part and a
OF driver part.
The reason for this is to later add in a platform driver as well.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 4b6f7cb..e60b264 100644
--- a/drivers/spi/Kconfig
little endian rather than big endian.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index e60b264..9667650 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -236,7 +236,7 @@ config SPI_TXX9
config SPI_XILINX
tristate "Xilin
This patch adds in support for the DS570 IP.
It's register compatible with the DS464, but adds support for 8/16/32 SPI.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9667650..b956284 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kc
This patch adds in a platform device driver using the xilinx_spi common module.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/xilinx_spi_pltfm.c b/drivers/spi/xilinx_spi_pltfm.c
new file mode 100644
index 000..f28a48e
--- /dev/null
+++ b/drivers/spi/xilinx_spi_pltfm.c
@@ -0,0
Josh Boyer wrote:
> On Wed, Nov 11, 2009 at 03:38:34PM +0100, Richard Röjfors wrote:
>> This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to
>> iowrite(8|16|32)
>> and ioread(8|16|32). This to be able to build on platforms not supporting
>> the in/ou
This patch adds the xilinx_spi_pltfm to the SPI Kconfig.
The xilinx_spi_pltfm was added in a previous patchset.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b956284..d1f8ee3 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -252,6
This patch adds the xilinx_spi_pltfm to the SPI Kconfig and Makefile.
The xilinx_spi_pltfm was added in a previous patchset.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b956284..d1f8ee3 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi
Hi,
To follow is a series of patches against the xilinx_spi driver.
The patchset is against 2.6.32-rc6
The patchset addresses several problems in the current driver:
* It's PPC only (OF and uses PPC specific memory operations)
* Only supporting big endian writes
* Supports only 8bit SPI, support
This patch splits the xilinx_spi driver into a generic part and a
OF driver part.
The reason for this is to later add in a platform driver as well.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 4b6f7cb..e60b264 100644
--- a/drivers/spi/Kconfig
instance
x86.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index e60b264..9667650 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -236,7 +236,7 @@ config SPI_TXX9
config SPI_XILINX
tristate "Xilinx SPI controller"
-
duced in the platform data struct.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9667650..b956284 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -235,7 +235,7 @@ config SPI_TXX9
SPI driver for Toshiba TXx9 MIPS SoCs
c
This patch adds in a platform device driver using the xilinx_spi common module.
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b956284..d1f8ee3 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -252,6 +252,13 @@ config SPI_XILINX_OF
below...
//Richard
Grant Likely wrote:
> On Thu, Nov 12, 2009 at 7:26 AM, Richard Röjfors
> wrote:
>> This patch splits the xilinx_spi driver into a generic part and a
>> OF driver part.
>>
>> The reason for this is to later add in a platform driver as well.
&g
On 11/12/09 6:17 PM, John Linn wrote:
>> Have you compile tested this? platform_data is a void*, the
>> dereference will not work. I know you don't have hardware; but
>> getting the needed cross compiler is easy.
>
> Here's the fixes I did to make it compile. On to testing :)
Great! I tested th
This patch splits the xilinx_spi driver into a generic part and a
OF driver part.
The reason for this is to later add in a platform driver as well.
Tested-by: John Linn
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 4b6f7cb..c08fd4f 100644
--- a
instance
x86.
Acked-by: Grant Likely
Tested-by: John Linn
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index c08fd4f..04ba35f 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -236,7 +236,7 @@ config SPI_TXX9
config SPI_XILINX
Hi,
To follow is a series of patches against the xilinx_spi driver.
The patchset is against 2.6.32-rc6
The patchset addresses several problems in the current driver:
* It's PPC only (OF and uses PPC specific memory operations)
* Only supporting big endian writes
* Supports only 8bit SPI, support
duced in the platform data struct.
Acked-by: Grant Likely
Tested-by: John Linn
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 04ba35f..35fb1e2 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -235,7 +235,7 @@ config SPI_TXX9
This patch adds in a platform device driver using the xilinx_spi common module.
Tested-by: John Linn
Signed-off-by: Richard Röjfors
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 35fb1e2..b0cfc98 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -253,6 +253,13
27 matches
Mail list logo