<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/spi, branch v2017.03</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>dm: core: Replace of_offset with accessor</title>
<updated>2017-02-08T13:12:14+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-01-17T23:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e160f7d430f163bc42757aff3bf2bcac0a459f02'/>
<id>e160f7d430f163bc42757aff3bf2bcac0a459f02</id>
<content type='text'>
At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree, which uses a node pointer instead, refactor existing code to
access this field through an inline function.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree, which uses a node pointer instead, refactor existing code to
access this field through an inline function.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: SPI: stm32: add stm32f746 qspi driver</title>
<updated>2017-01-28T19:04:50+00:00</updated>
<author>
<name>Michael Kurz</name>
<email>michi.kurz@gmail.com</email>
</author>
<published>2017-01-22T15:04:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d4363baada1505e126fc75c292f17903ab9c9e3a'/>
<id>d4363baada1505e126fc75c292f17903ab9c9e3a</id>
<content type='text'>
This patch adds support for the QSPI IP found in stm32f7 devices.

Signed-off-by: Michael Kurz &lt;michi.kurz@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for the QSPI IP found in stm32f7 devices.

Signed-off-by: Michael Kurz &lt;michi.kurz@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: Zap cf_qspi driver and related code</title>
<updated>2017-01-15T17:29:04+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@openedev.com</email>
</author>
<published>2017-01-02T22:29:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=68e7999ba9de0a15dd3dc99e078b70f41eb98c82'/>
<id>68e7999ba9de0a15dd3dc99e078b70f41eb98c82</id>
<content type='text'>
Dropped becuase
- driver not used any board.
- no dm conversion.

Cc: Angelo Dureghello &lt;angelo@sysam.it&gt;
Cc: Richard Retanubun &lt;richardretanubun@ruggedcom.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
Acked-by: Angelo Dureghello &lt;angelo@sysam.it&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dropped becuase
- driver not used any board.
- no dm conversion.

Cc: Angelo Dureghello &lt;angelo@sysam.it&gt;
Cc: Richard Retanubun &lt;richardretanubun@ruggedcom.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
Acked-by: Angelo Dureghello &lt;angelo@sysam.it&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: Zap ep93xx_spi driver and related code</title>
<updated>2017-01-13T21:47:14+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@openedev.com</email>
</author>
<published>2017-01-02T22:29:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ee86e0d2fe071aac37f6a02e924841f981b24121'/>
<id>ee86e0d2fe071aac37f6a02e924841f981b24121</id>
<content type='text'>
Dropped becuase
- driver and related configs not used any board.
- no dm conversion.

Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Sergey Kostanbaev &lt;sergey.kostanbaev@gmail.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dropped becuase
- driver and related configs not used any board.
- no dm conversion.

Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Sergey Kostanbaev &lt;sergey.kostanbaev@gmail.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible</title>
<updated>2017-01-04T15:38:35+00:00</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2016-12-21T05:12:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b63b46313ed29e9b0c36b3d6b9407f6eade40c8f'/>
<id>b63b46313ed29e9b0c36b3d6b9407f6eade40c8f</id>
<content type='text'>
According to Section 11.15.4.9.1 Indirect Read Controller of K2G SoC
TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit
data interface reads until the last word of an indirect transfer
So, make sure that QSPI indirect reads are 32 bit sized except for the
final read. If the rxbuf is unaligned then use bounce buffer, so that
readsl() can be used instead of readsb() to avoid non 32-bit accesses.

[1]www.ti.com/lit/ug/spruhy8d/spruhy8d.pdf

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to Section 11.15.4.9.1 Indirect Read Controller of K2G SoC
TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit
data interface reads until the last word of an indirect transfer
So, make sure that QSPI indirect reads are 32 bit sized except for the
final read. If the rxbuf is unaligned then use bounce buffer, so that
readsl() can be used instead of readsb() to avoid non 32-bit accesses.

[1]www.ti.com/lit/ug/spruhy8d/spruhy8d.pdf

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible</title>
<updated>2017-01-04T15:38:12+00:00</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2016-12-21T05:12:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=57897c13de03ac0136d64641a3eab526c6810387'/>
<id>57897c13de03ac0136d64641a3eab526c6810387</id>
<content type='text'>
According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC
TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit
data interface writes until the last word of an indirect transfer
otherwise indirect writes is known to fails sometimes. So, make sure
that QSPI indirect writes are 32 bit sized except for the last write. If
the txbuf is unaligned then use bounce buffer to avoid data aborts.

So, now that the driver uses bounce_buffer, enable CONFIG_BOUNCE_BUFFER
for all boards that use Cadence QSPI driver.

[1]www.ti.com/lit/ug/spruhy8d/spruhy8d.pdf

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC
TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit
data interface writes until the last word of an indirect transfer
otherwise indirect writes is known to fails sometimes. So, make sure
that QSPI indirect writes are 32 bit sized except for the last write. If
the txbuf is unaligned then use bounce buffer to avoid data aborts.

So, now that the driver uses bounce_buffer, enable CONFIG_BOUNCE_BUFFER
for all boards that use Cadence QSPI driver.

[1]www.ti.com/lit/ug/spruhy8d/spruhy8d.pdf

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: Zap armada100_spi.c and env</title>
<updated>2016-12-21T11:18:47+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@openedev.com</email>
</author>
<published>2016-11-24T19:28:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb71c6d85409715f541261f0bdda4a8060128689'/>
<id>cb71c6d85409715f541261f0bdda4a8060128689</id>
<content type='text'>
armada100_spi.c and related env is zapping becuase
of "no DM conversion".

Cc: Ajay Bhargav &lt;ajay.bhargav@einfochips.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
armada100_spi.c and related env is zapping becuase
of "no DM conversion".

Cc: Ajay Bhargav &lt;ajay.bhargav@einfochips.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: Zap mpc52xx_spi.c, config and related code</title>
<updated>2016-12-21T11:14:37+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@openedev.com</email>
</author>
<published>2016-12-15T16:36:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=353f6a770f2ab50bdc38081e29e5ec5f586a05db'/>
<id>353f6a770f2ab50bdc38081e29e5ec5f586a05db</id>
<content type='text'>
armada100_spi.c, related config options and related codes
are zapping becuase of "no DM conversion".

Cc: Werner Pfister &lt;Pfister_Werner@intercontrol.de&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
armada100_spi.c, related config options and related codes
are zapping becuase of "no DM conversion".

Cc: Werner Pfister &lt;Pfister_Werner@intercontrol.de&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: cadence_qspi: Move DT prop code to match layout</title>
<updated>2016-12-15T15:57:28+00:00</updated>
<author>
<name>Phil Edworthy</name>
<email>PHIL.EDWORTHY@renesas.com</email>
</author>
<published>2016-11-29T12:58:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d72810c6640e13b4c1e25f6c26ac8c304d5b54e'/>
<id>6d72810c6640e13b4c1e25f6c26ac8c304d5b54e</id>
<content type='text'>
Move the code to read the "sram-size" property into the other code
that reads properties from the node, rather than the SF subnode.

Signed-off-by: Phil Edworthy &lt;phil.edworthy@renesas.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the code to read the "sram-size" property into the other code
that reads properties from the node, rather than the SF subnode.

Signed-off-by: Phil Edworthy &lt;phil.edworthy@renesas.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: cadence_qspi: Fix CS timings</title>
<updated>2016-12-15T15:57:27+00:00</updated>
<author>
<name>Phil Edworthy</name>
<email>PHIL.EDWORTHY@renesas.com</email>
</author>
<published>2016-11-29T12:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=22e63ff3a23d189187d96dbcec50e94233027b3a'/>
<id>22e63ff3a23d189187d96dbcec50e94233027b3a</id>
<content type='text'>
The Cadence QSPI controller has specified overheads for the various CS
times that are in addition to those programmed in to the Device Delay
register. The overheads are different for the delays.

In addition, the existing code does not handle the case when the delay
is less than a SCLK period.

This change accurately calculates the additional delays in Ref clocks.

Signed-off-by: Phil Edworthy &lt;phil.edworthy@renesas.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Cadence QSPI controller has specified overheads for the various CS
times that are in addition to those programmed in to the Device Delay
register. The overheads are different for the delays.

In addition, the existing code does not handle the case when the delay
is less than a SCLK period.

This change accurately calculates the additional delays in Ref clocks.

Signed-off-by: Phil Edworthy &lt;phil.edworthy@renesas.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
