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 john.l...@xilinx.com
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b
for instance
x86.
Acked-by: Grant Likely grant.lik...@secretlab.ca
Tested-by: John Linn john.l...@xilinx.com
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index c08fd4f..04ba35f 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,
in the platform data struct.
Acked-by: Grant Likely grant.lik...@secretlab.ca
Tested-by: John Linn john.l...@xilinx.com
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 04ba35f..35fb1e2 100644
--- a/drivers/spi/Kconfig
This patch adds in a platform device driver using the xilinx_spi common module.
Tested-by: John Linn john.l...@xilinx.com
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 35fb1e2..b0cfc98 100644
--- a/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,
for instance
x86.
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
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
in the platform data struct.
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
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
This patch adds in a platform device driver using the xilinx_spi common module.
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b956284..d1f8ee3 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -252,6
Grant Likely wrote:
On Thu, Nov 12, 2009 at 7:26 AM, Richard Röjfors
richard.rojf...@mocean-labs.com 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.
Signed-off-by: Richard Röjfors
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 this
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
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,
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 richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 4b6f7cb..e60b264
little endian rather than big endian.
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
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
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 richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9667650..b956284 100644
--- a/drivers/spi
This patch adds in a platform device driver using the xilinx_spi common module.
Signed-off-by: Richard Röjfors richard.rojf...@mocean-labs.com
---
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
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/out calls
for instance x86.
Support
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 richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b956284..d1f8ee3 100644
--- a/drivers/spi/Kconfig
+++ b
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 richard.rojf...@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b956284..d1f8ee3 100644
--- a/drivers/spi
be done in a separate patch.
On Mon, Sep 28, 2009 at 7:22 AM, Richard Röjfors
richard.rojf...@mocean-labs.com wrote:
@@ -227,6 +227,21 @@ config SPI_XILINX
See the OPB Serial Peripheral Interface (SPI) (v1.00e)
Product Specification document (DS464) for hardware details
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...@users.sourceforge.net; Andrew Morton
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
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; Andrew
Morton;
dbrown...@users.sourceforge.net
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 richard.rojfors@mocean-labs.com
---
diff --git a/drivers/spi/Kconfig b/drivers/spi
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 6:55 AM
To: spi-devel-gene
26 matches
Mail list logo