<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/spi, branch v2021.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/spi?h=v2021.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/spi?h=v2021.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2021-06-30T12:06:30Z</updated>
<entry>
<title>spi: Update speed/mode on change</title>
<updated>2021-06-30T12:06:30Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2021-06-10T12:00:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e2e95e5e25421fbef499e21bf94a5339701f9a99'/>
<id>urn:sha1:e2e95e5e25421fbef499e21bf94a5339701f9a99</id>
<content type='text'>
The spi_get_bus_and_cs() may be called on the same bus and chipselect
with different frequency or mode. This is valid usecase, but the code
fails to notify the controller of such a configuration change. Call
spi_set_speed_mode() in case bus frequency or bus mode changed to let
the controller update the configuration.

The problem can easily be triggered using the sspi command:
=&gt; sspi 0:0@1000
=&gt; sspi 0:0@2000
Without this patch, both transfers happen at 1000 Hz. With this patch,
the later transfer happens correctly at 2000 Hz.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Cc: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
</content>
</entry>
<entry>
<title>spi: zynqmp_gqspi: Fix write issue</title>
<updated>2021-06-11T07:24:58Z</updated>
<author>
<name>Ashok Reddy Soma</name>
<email>ashok.reddy.soma@xilinx.com</email>
</author>
<published>2021-05-25T12:36:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ffa65379885c621a9e53280cde0bc65baa0caa3'/>
<id>urn:sha1:2ffa65379885c621a9e53280cde0bc65baa0caa3</id>
<content type='text'>
Enable manual start in zynqmp_qspi_fill_gen_fifo().
Also enable GQSPI_IXR_GFNFULL_MASK and check for it instead of
GQSPI_IXR_GFEMTY_MASK.

Add dummy write to genfifo register in chipselect.

Signed-off-by: Ashok Reddy Soma &lt;ashok.reddy.soma@xilinx.com&gt;
</content>
</entry>
<entry>
<title>spi: kirkwood: prevent limiting speed to 0</title>
<updated>2021-05-16T04:48:45Z</updated>
<author>
<name>Grzegorz Jaszczyk</name>
<email>jaz@semihalf.com</email>
</author>
<published>2021-04-30T13:26:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9c84159ce1c7c6410640de66f0d5e52af09a115e'/>
<id>urn:sha1:9c84159ce1c7c6410640de66f0d5e52af09a115e</id>
<content type='text'>
After commit 1fe929ed497bcc8975be8d37383ebafd22b99dd2
("spi: kirkwood: prevent configuring speed exceeding max controller freq")
the spi frequency could be set to 0 on platform where spi-max-frequency
is not defined (e.g. on armada-388-gp). Prevent limiting speed in
mentioned cases.

Signed-off-by: Grzegorz Jaszczyk &lt;jaz@semihalf.com&gt;
Tested-by: Kostya Porotchkin &lt;kostap@marvell.com&gt;
Reviewed-by: Marcin Wojtas &lt;marcin@marvell.com&gt;
Reviewed-by: Kostya Porotchkin &lt;kostap@marvell.com&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>spi: kirkwood: prevent configuring speed exceeding max controller freq</title>
<updated>2021-05-16T04:48:45Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@semihalf.com</email>
</author>
<published>2021-04-30T13:26:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=562f8d5b36e4d35365aa9a545e4d11b5c2557ec1'/>
<id>urn:sha1:562f8d5b36e4d35365aa9a545e4d11b5c2557ec1</id>
<content type='text'>
This patch adds a limitation in the kirkwood_spi driver
set_speed hook, which prevents setting too high transfer
speed.

Signed-off-by: Marcin Wojtas &lt;mw@semihalf.com&gt;
Reviewed-by: Kostya Porotchkin &lt;kostap@marvell.com&gt;
Tested-by: Kostya Porotchkin &lt;kostap@marvell.com&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>spi: kirkwood: support extended baud rates</title>
<updated>2021-05-16T04:48:45Z</updated>
<author>
<name>Ken Ma</name>
<email>make@marvell.com</email>
</author>
<published>2021-04-30T13:26:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=037818c544c44b31dd532409e3abc3747e24a60d'/>
<id>urn:sha1:037818c544c44b31dd532409e3abc3747e24a60d</id>
<content type='text'>
The Armada SoC family implementation of this SPI hardware module has
extended the configuration register to allow for a wider range of SPI
clock rates. Specifically the Serial Baud Rate Pre-selection bits in the
SPI Interface Configuration Register now also use bits 6 and 7 as well.

Modify the baud rate calculation to handle these differences for the
Armada case. Potentially a baud rate can be setup using a number of
different pre-scalar and scalar combinations. This code tries all
possible pre-scalar divisors (8 in total) to try and find the most
accurate set.

Signed-off-by: Ken Ma &lt;make@marvell.com&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>atcspi200: Add timeout mechanism in spi_xfer()</title>
<updated>2021-05-05T08:12:14Z</updated>
<author>
<name>Dylan Jhong</name>
<email>dylan@andestech.com</email>
</author>
<published>2021-04-01T08:48:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1412b8d48a920f1a4f5eac256814d25c320fb9b6'/>
<id>urn:sha1:1412b8d48a920f1a4f5eac256814d25c320fb9b6</id>
<content type='text'>
Adding timeout mechanism to avoid spi driver from stucking
in the while loop in __atcspi200_spi_xfer().

Signed-off-by: Dylan Jhong &lt;dylan@andestech.com&gt;
Reviewed-by: Leo Yu-Chi Liang &lt;ycliang@andestech.com&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.com&gt;
</content>
</entry>
<entry>
<title>spi: zynqmp: Remove gd reference</title>
<updated>2021-04-29T12:48:31Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2021-04-26T06:26:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b00bad9dc81ee0337761cc50443dffa22a6cdedf'/>
<id>urn:sha1:b00bad9dc81ee0337761cc50443dffa22a6cdedf</id>
<content type='text'>
gd is not used in this file that's why doesn't make sense to declare it.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'xilinx-for-v2021.07' of https://source.denx.de/u-boot/custodians/u-boot-microblaze into next</title>
<updated>2021-03-31T13:47:30Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2021-03-31T13:47:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=db8b46120aed6554d1ff405260ea6d2cc2439fcc'/>
<id>urn:sha1:db8b46120aed6554d1ff405260ea6d2cc2439fcc</id>
<content type='text'>
Xilinx changes for v2021.07

net:
- Fix gem PCS support

spi:
- Small trivial fixes

zynq:
- Enable time/timer commands
- Update bitmain platform
- Several DT changes

zynqmp:
- Update clock driver
- mini config alignments
- Add/update psu_init for zcu208/zcu216/zc1275
- Several DT changes
- Enable efi debug command (also for Versal)
</content>
</entry>
<entry>
<title>spi: xilinx_spi: Trivial fixes in axi qspi driver</title>
<updated>2021-03-30T10:03:24Z</updated>
<author>
<name>T Karthik Reddy</name>
<email>t.karthik.reddy@xilinx.com</email>
</author>
<published>2021-03-17T07:01:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d999a7b7b687a138453f11e30401c0e41085612e'/>
<id>urn:sha1:d999a7b7b687a138453f11e30401c0e41085612e</id>
<content type='text'>
Use __func__ instead for function name in debug.
Use Linux style u32 instead of uint32_t.

Signed-off-by: T Karthik Reddy &lt;t.karthik.reddy@xilinx.com&gt;
Acked-by: Ashok Reddy Soma &lt;ashok.reddy.soma@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>spi: spi-uclass: Add support to manually relocate spi memory ops</title>
<updated>2021-03-27T03:26:48Z</updated>
<author>
<name>T Karthik Reddy</name>
<email>t.karthik.reddy@xilinx.com</email>
</author>
<published>2021-03-17T11:31:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=346df7d4fa62afc578d820b3a18815eec765074f'/>
<id>urn:sha1:346df7d4fa62afc578d820b3a18815eec765074f</id>
<content type='text'>
Add spi memory operations to relocate manually when
CONFIG_NEEDS_MANUAL_RELOC is enabled.

Signed-off-by: T Karthik Reddy &lt;t.karthik.reddy@xilinx.com&gt;
Acked-by: Ashok Reddy Soma &lt;ashok.reddy.soma@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Pratyush Yadav &lt;p.yadav@ti.com&gt;
</content>
</entry>
</feed>
