<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/spi/omap2_mcspi.c, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2011-06-06T07:16:30+00:00</updated>
<entry>
<title>spi: reorganize drivers</title>
<updated>2011-06-06T07:16:30+00:00</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-06T07:16:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/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/omap2: fix uninitialized variable</title>
<updated>2011-06-03T20:57:07+00:00</updated>
<author>
<name>Govindraj.R</name>
<email>govindraj.raja@ti.com</email>
</author>
<published>2011-06-01T06:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8b20c8cb89b733f5a73fad1f7ad7cff8325e0034'/>
<id>urn:sha1:8b20c8cb89b733f5a73fad1f7ad7cff8325e0034</id>
<content type='text'>
fixes below compilation warning.  The variable doesn't actual ever get
used uninitialized, but that's no reason to be sloppy.

drivers/spi/omap2_mcspi.c: In function 'omap2_mcspi_txrx_dma':
drivers/spi/omap2_mcspi.c:301: warning: 'elements' may be used uninitialized in this function

Signed-off-by: Govindraj.R &lt;govindraj.raja@ti.com&gt;
[grant.likely: amended description]
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi/omap_mcspi: Fix broken last word xfer</title>
<updated>2011-03-23T21:04:15+00:00</updated>
<author>
<name>Jarkko Nikula</name>
<email>jhnikula@gmail.com</email>
</author>
<published>2011-03-21T14:27:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=95c5c3ab7db0dcaeebeb771b90152cd47aa27243'/>
<id>urn:sha1:95c5c3ab7db0dcaeebeb771b90152cd47aa27243</id>
<content type='text'>
Commit adef658 "spi/omap_mcspi: catch xfers of non-multiple SPI word size"
broke the transmission of last word in cases where access is multiple of
word size and word size is 16 or 32 bits.

Fix this by replacing the test "c &gt; (word_len&gt;&gt;3)" in do-while loops with
"c &gt;= 'pointer increment size'". This ensures that the last word is
transmitted in above case and still allow to break the loop and prevent
variable c underflow in cases where word size != 'pointer increment size'.

Signed-off-by: Jarkko Nikula &lt;jhnikula@gmail.com&gt;
Tested-by: Sourav Poddar&lt;sourav.poddar@ti.com&gt;
Acked-by: Michael Jones &lt;michael.jones@matrix-vision.de&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>Merge branch 'spi/next' of git://git.secretlab.ca/git/linux-2.6</title>
<updated>2011-03-18T17:56:02+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-03-18T17:56:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b061c59c27e0385e53c961d9fbd18c1c078d9823'/>
<id>urn:sha1:b061c59c27e0385e53c961d9fbd18c1c078d9823</id>
<content type='text'>
* 'spi/next' of git://git.secretlab.ca/git/linux-2.6: (34 commits)
  spi/dw_spi: move dw_spi.h into drivers/spi
  spi/dw_spi: Fix missing header
  gpio/langwell: Clear edge bit before handling
  gpio/langwell: Simplify demux loop
  gpio/langwell: Convert irq name space
  gpio/langwell: Fix broken irq_eoi change.
  gpio; Make Intel chipset gpio drivers depend on x86
  gpio/cs5535-gpio: Fix section mismatch
  spi/rtc-{ds1390,ds3234,m41t94}: Use spi_get_drvdata() for SPI devices
  spi/davinci: Support DMA transfers larger than 65535 words
  spi/davinci: Use correct length parameter to dma_map_single calls
  gpio: Use __devexit at necessary places
  gpio: add MODULE_DEVICE_TABLE to pch_gpio and ml_ioh_gpio
  gpio/mcp23s08: support mcp23s17 variant
  of_mmc_spi: add card detect irq support
  spi/omap_mcspi: catch xfers of non-multiple SPI word size
  spi/omap_mcspi: Off-by-one error in finding the right divisor
  gpio/pca953x: Fix wrong pointer type
  spi/pl022: rid dangling labels
  spi: add support for SuperH SPI
  ...
</content>
</entry>
<entry>
<title>spi/omap_mcspi: catch xfers of non-multiple SPI word size</title>
<updated>2011-03-05T05:23:26+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michael.jones@matrix-vision.de</email>
</author>
<published>2011-02-25T15:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=adef658ddf71e709eb1bdc181b86c62b933b967b'/>
<id>urn:sha1:adef658ddf71e709eb1bdc181b86c62b933b967b</id>
<content type='text'>
If an SPI access was not a multiple of the SPI word size,
the while() loop would spin and the rx/tx ptrs would be incremented
indefinitely.

Signed-off-by: Michael Jones &lt;michael.jones@matrix-vision.de&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>spi/omap_mcspi: Off-by-one error in finding the right divisor</title>
<updated>2011-02-24T19:44:37+00:00</updated>
<author>
<name>Hannu Heikkinen</name>
<email>ext-hannu.m.heikkinen@nokia.com</email>
</author>
<published>2011-02-24T19:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=57d9c10dd91f942f836592f407d6351e2969548a'/>
<id>urn:sha1:57d9c10dd91f942f836592f407d6351e2969548a</id>
<content type='text'>
Off-by-one error, gave erroneous divisor value 16 if speed_hz is over zero but
less than OMAP2_MCSPI_MAX_FREQ / (1 &lt;&lt; 15), that is, [1..1463].

Also few overly complex bit shifts in divisor fixed.

Also one dev_dgb line fixed, which indicated max speed exceeding transfer speed.

Introducing a new function omap2_mcspi_calc_divisor() for getting the right
divisor in omap2_mcspi_setup_transfer().

Signed-off-by: Phil Carmody &lt;ext-phil.2.carmody@nokia.com&gt;
Signed-off-by: Hannu Heikkinen &lt;ext-hannu.m.heikkinen@nokia.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>OMAP: runtime: McSPI driver runtime conversion</title>
<updated>2011-02-17T17:54:13+00:00</updated>
<author>
<name>Govindraj.R</name>
<email>govindraj.raja@ti.com</email>
</author>
<published>2011-02-02T12:22:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1f1a4384b6500273020e48130f73601e4ba7d84b'/>
<id>urn:sha1:1f1a4384b6500273020e48130f73601e4ba7d84b</id>
<content type='text'>
McSPI runtime conversion.
Changes involves:
1) remove clock framework apis to use runtime framework apis.
2) context restore from runtime resume which is a callback for get_sync.
3) Remove SYSCONFIG(sysc) register handling
        (a) Remove context save and restore of sysc reg and remove soft reset
            done from sysc reg as this will be done with hwmod framework.
        (b) Also cleanup sysc reg bit macros.
4) Rename the omap2_mcspi_reset function to omap2_mcspi_master_setup
   function as with hwmod changes soft reset will be done in
   hwmod framework itself and use the return value from clock
   enable function to return for failure scenarios.

Signed-off-by: Charulatha V &lt;charu@ti.com&gt;
Signed-off-by: Govindraj.R &lt;govindraj.raja@ti.com&gt;
Acked-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Reviewed-by: Partha Basak &lt;p-basak2@ti.com&gt;
Reviewed-by: Kevin Hilman &lt;khilman@ti.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>OMAP: devices: Modify McSPI device to adapt to hwmod framework</title>
<updated>2011-02-17T17:53:31+00:00</updated>
<author>
<name>Charulatha V</name>
<email>charu@ti.com</email>
</author>
<published>2011-02-02T12:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1a5d81905aec1536783fb6ab875f31910f449941'/>
<id>urn:sha1:1a5d81905aec1536783fb6ab875f31910f449941</id>
<content type='text'>
Cleans up all base address definitions for omap_mcspi
and adapts the device registration and driver to hwmod framework.
Changes involves:
1) Removing all base address macro defines.
2) Using omap-device layer to register device and utilizing data from
   hwmod data file for base address, dma channel number, Irq_number,
   device attribute(number of chipselect).
3) Appending base address with pdata reg_offset for omap4 boards.
   For omap4 all regs used in driver deviate with reg_offset_macros
   defined with an value of 0x100. So pass this offset through pdata
   and append the same to base address retrieved from hwmod data file
   and we are not mapping *_HL_* regs which are not used in driver.

Signed-off-by: Charulatha V &lt;charu@ti.com&gt;
Signed-off-by: Govindraj.R &lt;govindraj.raja@ti.com&gt;
Acked-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Reviewed-by: Partha Basak &lt;p-basak2@ti.com&gt;
Reviewed-by: Kevin Hilman &lt;khilman@ti.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
<entry>
<title>omap: Start using CONFIG_SOC_OMAP</title>
<updated>2011-01-28T00:39:40+00:00</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2011-01-28T00:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=59b479e0985f0b795d68331d6443a7f89c47768d'/>
<id>urn:sha1:59b479e0985f0b795d68331d6443a7f89c47768d</id>
<content type='text'>
We want to have just CONFIG_ARCH_OMAP2, 3 and 4. The rest
are nowadays just subcategories of these.

Search and replace the following:

ARCH_OMAP2420		SOC_OMAP2420
ARCH_OMAP2430		SOC_OMAP2430
ARCH_OMAP3430		SOC_OMAP3430

No functional changes.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Thomas Weber &lt;weber@corscience.de&gt;
Acked-by: Sourav Poddar &lt;sourav.poddar@ti.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6</title>
<updated>2011-01-08T01:08:46+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-01-08T01:08:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=021db8e2bde53024a163fb4417a185de46fe77aa'/>
<id>urn:sha1:021db8e2bde53024a163fb4417a185de46fe77aa</id>
<content type='text'>
* 'next-spi' of git://git.secretlab.ca/git/linux-2.6: (77 commits)
  spi/omap: Fix DMA API usage in OMAP MCSPI driver
  spi/imx: correct the test on platform_get_irq() return value
  spi/topcliff: Typo fix threhold to threshold
  spi/dw_spi Typo change diable to disable.
  spi/fsl_espi: change the read behaviour of the SPIRF
  spi/mpc52xx-psc-spi: move probe/remove to proper sections
  spi/dw_spi: add DMA support
  spi/dw_spi: change to EXPORT_SYMBOL_GPL for exported APIs
  spi/dw_spi: Fix too short timeout in spi polling loop
  spi/pl022: convert running variable
  spi/pl022: convert busy flag to a bool
  spi/pl022: pass the returned sglen to the DMA engine
  spi/pl022: map the buffers on the DMA engine
  spi/topcliff_pch: Fix data transfer issue
  spi/imx: remove autodetection
  spi/pxa2xx: pass of_node to spi device and set a parent device
  spi/pxa2xx: Modify RX-Tresh instead of busy-loop for the remaining RX bytes.
  spi/pxa2xx: Add chipselect support for Sodaville
  spi/pxa2xx: Consider CE4100's FIFO depth
  spi/pxa2xx: Add CE4100 support
  ...
</content>
</entry>
</feed>
