<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/include/linux/spi/dw_spi.h, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/include/linux/spi/dw_spi.h?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/include/linux/spi/dw_spi.h?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2011-03-18T16:26:52Z</updated>
<entry>
<title>spi/dw_spi: move dw_spi.h into drivers/spi</title>
<updated>2011-03-18T16:26:52Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-02-28T19:47:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=568a60eda2e90a11bb3d7f8ef3f6800e9b60d4e5'/>
<id>urn:sha1:568a60eda2e90a11bb3d7f8ef3f6800e9b60d4e5</id>
<content type='text'>
include/linux/dw_spi.h only includes driver internal data.  It doesn't
expose a platform_data configuration structure or similar (at least
nothing in-tree).  This patch moves the header into drivers/spi so
that the scope is limited to only the dw_spi_*.c driver files

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Feng Tang &lt;feng.tang@intel.com&gt;
Cc: spi-devel-general@lists.sourceforge.net
</content>
</entry>
<entry>
<title>spi/dw_spi: Fix missing header</title>
<updated>2011-03-18T15:50:50Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2011-03-18T09:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=46165a3d00db7526fb43a3dfe5c01a4aa7e236af'/>
<id>urn:sha1:46165a3d00db7526fb43a3dfe5c01a4aa7e236af</id>
<content type='text'>
Currently, build on PPC dies with:
In file included from drivers/spi/dw_spi_mmio.c:16:
include/linux/spi/dw_spi.h:147: error: field ‘tx_sgl’ has incomplete type
include/linux/spi/dw_spi.h:149: error: field ‘rx_sgl’ has incomplete type

Add linux/scatterlist.h include to dw_spi.h, because we need to know
the contents of the structure.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi/dw_spi: add DMA support</title>
<updated>2010-12-24T08:23:25Z</updated>
<author>
<name>Feng Tang</name>
<email>feng.tang@intel.com</email>
</author>
<published>2010-12-24T05:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7063c0d942a1af2993531fbe52b4c74c1db818c4'/>
<id>urn:sha1:7063c0d942a1af2993531fbe52b4c74c1db818c4</id>
<content type='text'>
dw_spi driver in upstream only supports PIO mode, and this patch
will support it to cowork with the Designware dma controller used
on Intel Moorestown platform, at the same time it provides a general
framework to support dw_spi core to cowork with dma controllers on
other platforms

It has been tested with a Option GTM501L 3G modem and Infenion 60x60
modem. To use DMA mode, DMA controller 2 of Moorestown has to be enabled

Also change the dma interface suggested by Linus Walleij.

Acked-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Feng Tang &lt;feng.tang@intel.com&gt;
[Typo fix and renames to match intel_mid_dma renaming]
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi/dw_spi: clean the cs_control code</title>
<updated>2010-09-08T16:50:00Z</updated>
<author>
<name>Feng Tang</name>
<email>feng.tang@intel.com</email>
</author>
<published>2010-09-07T07:52:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e3e55ff5854655d8723ad8b307f02515aecc3df5'/>
<id>urn:sha1:e3e55ff5854655d8723ad8b307f02515aecc3df5</id>
<content type='text'>
commit 052dc7c45i "spi/dw_spi: conditional transfer mode change"
introduced cs_control code, which has a bug by using bit offset
for spi mode to set transfer mode in control register. Also it
forces devices who don't need cs_control to re-configure the
control registers for each spi transfer. This patch will fix them

Signed-off-by: Feng Tang &lt;feng.tang@intel.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi/dw_spi: enable platform specific chipselect.</title>
<updated>2010-01-21T14:24:29Z</updated>
<author>
<name>George Shore</name>
<email>george@georgeshore.com</email>
</author>
<published>2010-01-21T11:40:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=83fe518a839e317480e50a138ef4acd73510d7ce'/>
<id>urn:sha1:83fe518a839e317480e50a138ef4acd73510d7ce</id>
<content type='text'>
The driver core allows for a platform-specific chipselect assert/deassert
function, however the chipselect function in the core doesn't take advantage
of this fact.

This enables the use of a custom function, should it be defined.

Signed-off-by: George Shore &lt;george@georgeshore.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi/dw_spi: refine the IRQ mode working flow</title>
<updated>2010-01-20T20:49:45Z</updated>
<author>
<name>Feng Tang</name>
<email>feng.tang@intel.com</email>
</author>
<published>2010-01-20T20:49:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=552e450929a7298cc8834fd2824a60b2e914f70e'/>
<id>urn:sha1:552e450929a7298cc8834fd2824a60b2e914f70e</id>
<content type='text'>
Now dw_spi core fully supports 3 transfer modes: pure polling,
DMA and IRQ mode. IRQ mode will use the FIFO half empty as
the IRQ trigger, so each interface driver need set the fifo_len,
so that core driver can handle it properly

Signed-off-by: Feng Tang &lt;feng.tang@intel.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi: controller driver for Designware SPI core</title>
<updated>2009-12-17T15:39:13Z</updated>
<author>
<name>Feng Tang</name>
<email>feng.tang@intel.com</email>
</author>
<published>2009-12-14T22:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e24c745272072fd2abe55209f1949b7b7ee602a7'/>
<id>urn:sha1:e24c745272072fd2abe55209f1949b7b7ee602a7</id>
<content type='text'>
Driver for the Designware SPI core, it supports multipul interfaces like
PCI/APB etc.  User can use "dw_apb_ssi_db.pdf" from Synopsys as HW
datasheet.

[randy.dunlap@oracle.com: fix build]
[akpm@linux-foundation.org: build fix]
Signed-off-by: Feng Tang &lt;feng.tang@intel.com&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
</feed>
