<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/spi, branch v2014.10</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>kconfig: add blank Kconfig files</title>
<updated>2014-09-24T22:30:28+00:00</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-09-16T07:32:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ed36323f6d217050f82a2200475959b8557a47e4'/>
<id>ed36323f6d217050f82a2200475959b8557a47e4</id>
<content type='text'>
This would be useful to start moving various config options.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This would be useful to start moving various config options.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: kirkwood_spi.c: cosmetic: Fix minor coding style issues</title>
<updated>2014-09-24T12:18:56+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2014-09-02T12:02:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bf9b86dc47988a404964c97c74e541a129719f9c'/>
<id>bf9b86dc47988a404964c97c74e541a129719f9c</id>
<content type='text'>
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;

Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Tested-by: Luka Perkov &lt;luka@openwrt.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;

Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Tested-by: Luka Perkov &lt;luka@openwrt.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: kirkwood_spi.c: Make global variable static</title>
<updated>2014-09-24T12:18:27+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2014-09-02T12:02:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0299046e5b4eec6c79927324deab857db1689e92'/>
<id>0299046e5b4eec6c79927324deab857db1689e92</id>
<content type='text'>
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Tested-by: Luka Perkov &lt;luka@openwrt.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Tested-by: Luka Perkov &lt;luka@openwrt.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: kirkwood_spi.c: Some fixes and cleanup</title>
<updated>2014-09-24T12:17:53+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2014-09-02T12:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c032174f8218496a7768e4a27d1eb25b7e6f7a4d'/>
<id>c032174f8218496a7768e4a27d1eb25b7e6f7a4d</id>
<content type='text'>
This patch introduces the clrsetbits_le32() accessor functions in the
kirkwood SPI driver. Note that it also includes a fix:

-	 writel(~KWSPI_CSN_ACT | KWSPI_SMEMRDY, &amp;spireg-&gt;ctrl);
+	 writel(KWSPI_SMEMRDY, &amp;spireg-&gt;ctrl);

Here the bit KWSPI_CSN_ACT (0x1) should have been cleared. Instead
0xfffffffe is written into this control register. This is the main
reason to use the clrsetbits() functions now. As they make clearing
bits much less error prone.

Additionally KWSPI_IRQUNMASK is not used in spi_cs_activate() and
spi_cs_deactivate() any more. Its the wrong macro but has the same
value as the correct one (KWSPI_CSN_ACT).

This is in preparation for use of this driver on the Marvell Armada XP
platform as well.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Tested-by: Luka Perkov &lt;luka@openwrt.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces the clrsetbits_le32() accessor functions in the
kirkwood SPI driver. Note that it also includes a fix:

-	 writel(~KWSPI_CSN_ACT | KWSPI_SMEMRDY, &amp;spireg-&gt;ctrl);
+	 writel(KWSPI_SMEMRDY, &amp;spireg-&gt;ctrl);

Here the bit KWSPI_CSN_ACT (0x1) should have been cleared. Instead
0xfffffffe is written into this control register. This is the main
reason to use the clrsetbits() functions now. As they make clearing
bits much less error prone.

Additionally KWSPI_IRQUNMASK is not used in spi_cs_activate() and
spi_cs_deactivate() any more. Its the wrong macro but has the same
value as the correct one (KWSPI_CSN_ACT).

This is in preparation for use of this driver on the Marvell Armada XP
platform as well.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Tested-by: Luka Perkov &lt;luka@openwrt.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: mxc: fix sf probe when using mxc_spi</title>
<updated>2014-09-24T11:55:39+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2014-08-20T12:08:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=155fa9af95ac5be857a7327e7a968a296e60d4c8'/>
<id>155fa9af95ac5be857a7327e7a968a296e60d4c8</id>
<content type='text'>
MXC SPI driver has a feature whereas a GPIO line can be used to force CS high
across multiple transactions. This is set up by embedding the GPIO information
in the CS value:

cs = (cs | gpio &lt;&lt; 8)

This merge of cs and gpio data into one value breaks the sf probe command:
if the use of gpio is required, invoking "sf probe &lt;cs&gt;" will not work, because
the CS argument doesn't have the GPIO information in it. Instead, the user must
use "sf probe &lt;cs | gpio &lt;&lt; 8&gt;". For example, if bank 2 gpio 30 is used to force
cs high on cs 0, bus 0, then instead of typing "sf probe 0" the user now must
type "sf probe 15872".

This is inconsistent with the description of the sf probe command, and forces
the user to be aware of implementaiton details.

Fix this by introducing a new board function: board_spi_cs_gpio(), which will
accept a naked CS value, and provide the driver with the relevant GPIO, if one
is necessary.

Cc: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Cc: Eric Benard &lt;eric@eukrea.com&gt;
Cc: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Cc: Tim Harvey &lt;tharvey@gateworks.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MXC SPI driver has a feature whereas a GPIO line can be used to force CS high
across multiple transactions. This is set up by embedding the GPIO information
in the CS value:

cs = (cs | gpio &lt;&lt; 8)

This merge of cs and gpio data into one value breaks the sf probe command:
if the use of gpio is required, invoking "sf probe &lt;cs&gt;" will not work, because
the CS argument doesn't have the GPIO information in it. Instead, the user must
use "sf probe &lt;cs | gpio &lt;&lt; 8&gt;". For example, if bank 2 gpio 30 is used to force
cs high on cs 0, bus 0, then instead of typing "sf probe 0" the user now must
type "sf probe 15872".

This is inconsistent with the description of the sf probe command, and forces
the user to be aware of implementaiton details.

Fix this by introducing a new board function: board_spi_cs_gpio(), which will
accept a naked CS value, and provide the driver with the relevant GPIO, if one
is necessary.

Cc: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Cc: Eric Benard &lt;eric@eukrea.com&gt;
Cc: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Cc: Tim Harvey &lt;tharvey@gateworks.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi, spi_mxc: do not hang in spi_xchg_single</title>
<updated>2014-08-05T18:48:01+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2014-07-14T08:22:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f659b57361c4a351ef2a5fc23b9197428e2e67f0'/>
<id>f659b57361c4a351ef2a5fc23b9197428e2e67f0</id>
<content type='text'>
if status register do never set MXC_CSPICTRL_TC, spi_xchg_single
endless loops. Add a timeout here to prevent endless hang.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Dirk Behme &lt;dirk.behme@gmail.com&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if status register do never set MXC_CSPICTRL_TC, spi_xchg_single
endless loops. Add a timeout here to prevent endless hang.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Dirk Behme &lt;dirk.behme@gmail.com&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi: Support half-duplex mode in FDT decode</title>
<updated>2014-08-05T18:48:01+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-07T16:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=22052c6236cbebc446ffd51ac69271fe063c654a'/>
<id>22052c6236cbebc446ffd51ac69271fe063c654a</id>
<content type='text'>
This parameter should also be supported.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This parameter should also be supported.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>exynos: spi: Fix calculation of SPI transaction start time</title>
<updated>2014-08-05T18:48:01+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-07T16:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a4e29db2571144a05ad09380b3674fe5b492f693'/>
<id>a4e29db2571144a05ad09380b3674fe5b492f693</id>
<content type='text'>
The SPI transaction delay is supposed to be measured from the end of one
transaction to the start of the next. The code does not work that way, so
fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SPI transaction delay is supposed to be measured from the end of one
transaction to the start of the next. The code does not work that way, so
fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: ep9315: Return back Cirrus Logic EDB9315A board support</title>
<updated>2014-07-04T21:45:48+00:00</updated>
<author>
<name>Sergey Kostanbaev</name>
<email>sergey.kostanbaev@gmail.com</email>
</author>
<published>2014-06-25T19:44:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7237d22baac9ebeffc946dfd30b9f61aaf0bfdbc'/>
<id>7237d22baac9ebeffc946dfd30b9f61aaf0bfdbc</id>
<content type='text'>
This patch returns back support for old ep93xx processors family

Signed-off-by: Sergey Kostanbaev &lt;sergey.kostanbaev@gmail.com&gt;
Cc: albert.u.boot@aribaud.net
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch returns back support for old ep93xx processors family

Signed-off-by: Sergey Kostanbaev &lt;sergey.kostanbaev@gmail.com&gt;
Cc: albert.u.boot@aribaud.net
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'u-boot-samsung/master'</title>
<updated>2014-07-01T18:52:51+00:00</updated>
<author>
<name>Albert ARIBAUD</name>
<email>albert.u.boot@aribaud.net</email>
</author>
<published>2014-07-01T18:52:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=304f936aeaab0c3cc9d5af438fd3498ac7682991'/>
<id>304f936aeaab0c3cc9d5af438fd3498ac7682991</id>
<content type='text'>
Conflicts:
	boards.cfg

Conflict was trivial between goni maintainer change and
lager_nor removal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	boards.cfg

Conflict was trivial between goni maintainer change and
lager_nor removal.
</pre>
</div>
</content>
</entry>
</feed>
