<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/spi/spi_s3c24xx_gpio.c, branch v5.16-rc1</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v5.16-rc1</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v5.16-rc1'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2011-06-06T07:16:30Z</updated>
<entry>
<title>spi: reorganize drivers</title>
<updated>2011-06-06T07:16:30Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-06T07:16:30Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=ca632f556697d45d67ed5cada7cedf3ddfe0db4b'/>
<id>urn:sha1:ca632f556697d45d67ed5cada7cedf3ddfe0db4b</id>
<content type='text'>
Sort the SPI makefile and enforce the naming convention spi_*.c for
spi drivers.

This change also rolls the contents of atmel_spi.h into the .c file
since there is only one user of that particular include file.

v2: - Use 'spi-' prefix instead of 'spi_' to match what seems to be
      be the predominant pattern for subsystem prefixes.
    - Clean up filenames in Kconfig and header comment blocks

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>spi/bitbang: add support for SPI_MASTER_NO_{TX, RX} modes</title>
<updated>2010-07-04T04:45:44Z</updated>
<author>
<name>Marek Szyprowski</name>
<email>m.szyprowski@samsung.com</email>
</author>
<published>2010-06-30T20:27:32Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=04bb2a031cf95b34b7432dd47b318a932a895b4c'/>
<id>urn:sha1:04bb2a031cf95b34b7432dd47b318a932a895b4c</id>
<content type='text'>
This patch adds a new flags argument to bitbang_txrx_be_cpha0 and
bitbang_txrx_be_cpha1 transfer functions. This enables support for
SPI_MASTER_NO_{TX,RX} transfer modes. The change should have no impact
on speed of the existing drivers. bitbank_txrx_* functions are usually
inlined into the drivers. When the argument is equal to constant zero,
the optimizer would be able to eliminate the dead code (flags checks)
easily. Tested on ARM and GCC 4.4.x and in all cases the checks were
eliminated in the inlined function.

Reviewed-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi: move bitbang txrx utility functions to private header</title>
<updated>2010-05-25T06:23:17Z</updated>
<author>
<name>hartleys</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-05-06T20:51:04Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=41c4221ca6b9db8ea63d2c2323c0e7a8865eba6e'/>
<id>urn:sha1:41c4221ca6b9db8ea63d2c2323c0e7a8865eba6e</id>
<content type='text'>
A number of files in drivers/spi fail checkincludes.pl due to the double
include of &lt;linux/spi/spi_bitbang.h&gt;.

The first include is needed to get the struct spi_bitbang definition and
the spi_bitbang_* function prototypes.

The second include happens after defining EXPAND_BITBANG_TXRX to get the
inlined bitbang_txrx_* utility functions.

The &lt;linux/spi/spi_bitbang.h&gt; header is also included by a number of other
spi drivers, as well as some arch/ code, in order to use struct spi_bitbang
and the associated functions.

To fix the double include, and remove any potential confusion about it, move
the inlined bitbang_txrx_* functions to a new private header in drivers/spi
and also remove the need to define EXPAND_BITBANG_TXRX.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>[ARM] S3C24XX: GPIO: Move gpio functions out of &lt;mach/hardware.h&gt;</title>
<updated>2009-05-18T15:25:40Z</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux@fluff.org</email>
</author>
<published>2009-05-13T21:52:24Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=ec976d6eb021dc8f2994248c310a41540f4756bd'/>
<id>urn:sha1:ec976d6eb021dc8f2994248c310a41540f4756bd</id>
<content type='text'>
Move all the gpio functions out of &lt;mach/hardware.h&gt; as
this file is for defining the generic IO base addresses
for the kernel IO calls.

Make a new header &lt;mach/gpio-fns.h&gt; to take this and
include it via the chain from &lt;linux/gpio.h&gt; which is
what most of these files should be using (and will be
changed as soon as possible).

Note, this does make minor changes to some drivers but
should not mess up any pending merges.

CC: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
CC: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
</entry>
<entry>
<title>spi: fix spi_s3c24xx_gpio num_chipselect</title>
<updated>2008-12-02T03:55:24Z</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux@fluff.org</email>
</author>
<published>2008-12-01T21:13:57Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=b93c35ff39d19f20c47c06c206986afefecc777a'/>
<id>urn:sha1:b93c35ff39d19f20c47c06c206986afefecc777a</id>
<content type='text'>
The spi master driver must have num_chipselect set to allow the bus to
initialise.  Pass this through the platform data.

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>spi: fix spi_s3c24xx_gpio device handle lookup</title>
<updated>2008-12-02T03:55:24Z</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux@fluff.org</email>
</author>
<published>2008-12-01T21:13:56Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=e39ea8a2def1fcb203ed0183317124348962e351'/>
<id>urn:sha1:e39ea8a2def1fcb203ed0183317124348962e351</id>
<content type='text'>
The spidev_to_sg() call in spi_s3c24xx_gpio.c was using the wrong method
to convert the spi device into the private data for the driver.  Fix this
by using spi_master_get_devdata.

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach</title>
<updated>2008-08-07T08:55:48Z</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2008-08-05T15:14:15Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=a09e64fbc0094e3073dbb09c3b4bfe4ab669244b'/>
<id>urn:sha1:a09e64fbc0094e3073dbb09c3b4bfe4ab669244b</id>
<content type='text'>
This just leaves include/asm-arm/plat-* to deal with.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] Remove asm/hardware.h, use asm/arch/hardware.h instead</title>
<updated>2008-08-07T08:40:08Z</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2008-08-04T09:41:28Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=be509729356b7433f73df2b9a966674a437fbbc1'/>
<id>urn:sha1:be509729356b7433f73df2b9a966674a437fbbc1</id>
<content type='text'>
Remove includes of asm/hardware.h in addition to asm/arch/hardware.h.
Then, since asm/hardware.h only exists to include asm/arch/hardware.h,
update everything to directly include asm/arch/hardware.h and remove
asm/hardware.h.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>spi: fix platform driver hotplug/coldplug</title>
<updated>2008-04-11T15:06:43Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2008-04-11T04:29:20Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7e38c3c4453bdb5ffdf8bf0ff0d9a760540f0893'/>
<id>urn:sha1:7e38c3c4453bdb5ffdf8bf0ff0d9a760540f0893</id>
<content type='text'>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable SPI
platform drivers, to allow module auto loading.

[dbrownell@users.sourceforge.net: more drivers: registration fixes]
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>spi: s3c drivers shouldn't care about spi_board_info</title>
<updated>2008-02-06T18:41:11Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2008-02-06T09:38:13Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=b359fbc4582abf346fa6773b2bc1d63581fda582'/>
<id>urn:sha1:b359fbc4582abf346fa6773b2bc1d63581fda582</id>
<content type='text'>
The two S3C SPI master drivers got merged without much review, so I just
noticed that they're doing something that the SPI core code is responsible
for, rather than any adapter driver: they try to register SPI devices.

This removes that support from those drivers so they act normally.
Interestingly, none of the current boards are affected.  So it's a net code
shrink with no loss of functionality.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
