<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/spi, branch v2020.01-rc2</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=v2020.01-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/spi?h=v2020.01-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-11-08T11:02:08Z</updated>
<entry>
<title>configs: spi: Add the SPI_FLASH_BAR for ESPI</title>
<updated>2019-11-08T11:02:08Z</updated>
<author>
<name>Xiaowei Bao</name>
<email>xiaowei.bao@nxp.com</email>
</author>
<published>2019-10-31T06:34:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=56e6f810b0ac46ddccb6237acb60ab7752a41a99'/>
<id>urn:sha1:56e6f810b0ac46ddccb6237acb60ab7752a41a99</id>
<content type='text'>
Add the SPI_FLASH_BAR for the ESPI controller of FSL, this entry
is missed by
commit 6d8251783641 ("configs: Don't use SPI_FLASH_BAR as default")

Signed-off-by: Xiaowei Bao &lt;xiaowei.bao@nxp.com&gt;
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>spi: Add support for memory-mapped flash</title>
<updated>2019-11-02T23:20:26Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-10-21T03:31:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c53b318e1bad2e0d5c2b846fadfc79ec77bfc5f7'/>
<id>urn:sha1:c53b318e1bad2e0d5c2b846fadfc79ec77bfc5f7</id>
<content type='text'>
On x86 platforms the SPI flash can be mapped into memory so that the
contents can be read with normal memory accesses.

Add a new SPI method to find the location of the SPI flash in memory. This
differs from the existing device-tree "memory-map" mechanism in that the
location can be discovered at run-time.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi</title>
<updated>2019-10-30T13:04:52Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-10-30T13:04:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cc64810dc6234a3537502a05988fa7a1a6fa5d55'/>
<id>urn:sha1:cc64810dc6234a3537502a05988fa7a1a6fa5d55</id>
<content type='text'>
- H6 dts(i) sync (Clément)
- H6 PIO (Icenowy)
- Fix pll1 clock calculation (Stefan)
- H6 dram, half DQ (Jernej)
- A64 OLinuXino eMMC (Sunil)
</content>
</entry>
<entry>
<title>Merge tag 'mips-pull-2019-10-25' of git://git.denx.de/u-boot-mips</title>
<updated>2019-10-26T00:07:24Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-10-26T00:07:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ffc379b42c85466e1dd4c8fee8268801f26d2ab8'/>
<id>urn:sha1:ffc379b42c85466e1dd4c8fee8268801f26d2ab8</id>
<content type='text'>
- bmips: add BCRM NAND support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs
- bmips: various small fixes
- mtmips: add new drivers for clock, reset-controller and pinctrl
- mtmips: add support for high speed UART
- mtmips: update/enhance drivers for SPI and ethernet
- mtmips: add support for MMC
</content>
</entry>
<entry>
<title>spi: mt7621-spi: restore default register value after each xfer</title>
<updated>2019-10-25T15:20:44Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2019-09-25T09:45:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=43405e009be86436affdf355f1e0549bdb6c9b9b'/>
<id>urn:sha1:43405e009be86436affdf355f1e0549bdb6c9b9b</id>
<content type='text'>
Currently this driver uses a different way to implement the spi xfer,
by modifying some fields of two registers, which is incompatible with the
MTK's original SDK linux driver. This will cause the flash data being
damaged by the SDK driver.

This patch lets the mt7621_spi_set_cs() restore the original register
fields after cs deactivated.

Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>spi: mt7621-spi: remove data cache and rewrite its xfer function</title>
<updated>2019-10-25T15:20:44Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2019-09-25T09:45:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=54a6b8e793dd8baf1621cd0c5d6eeeaa542bb329'/>
<id>urn:sha1:54a6b8e793dd8baf1621cd0c5d6eeeaa542bb329</id>
<content type='text'>
The mt7621 spi controller supports continuous generic half-duplex spi
transaction. There is no need to cache xfer data at all.

To achieve this goal, the OPADDR register must be used as the first data
to be sent. And follows the eight generic DIDO registers. But one thing
different between OPADDR and DIDO registers is OPADDR has a reversed byte
order.

With this patch, any amount of data can be read/written in a single xfer
function call.

Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>spi: mt7621-spi: use clock frequency from clk driver</title>
<updated>2019-10-25T15:20:44Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2019-09-25T09:45:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f09978566b601a6377dfe56dd11da0df75ba9fd0'/>
<id>urn:sha1:f09978566b601a6377dfe56dd11da0df75ba9fd0</id>
<content type='text'>
This patch lets the spi driver to use clock provided by the clk driver
since the new clk-mt7628 driver provides accurate sys clock frequency.

Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>spi: designware_spi: Disable and free clock when remove driver</title>
<updated>2019-10-24T19:18:32Z</updated>
<author>
<name>Ley Foon Tan</name>
<email>ley.foon.tan@intel.com</email>
</author>
<published>2018-09-19T08:27:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e7e05fcb3edb95584e7294099dbf0d28f0f87322'/>
<id>urn:sha1:e7e05fcb3edb95584e7294099dbf0d28f0f87322</id>
<content type='text'>
Disable and free clock when remove driver.

Signed-off-by: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>spi: Kconfig: Enable SPI_SUNXI for SUNXI</title>
<updated>2019-10-24T19:18:31Z</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2019-10-16T12:35:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dc738248db9355c66241979b21d6bf4e2a625bef'/>
<id>urn:sha1:dc738248db9355c66241979b21d6bf4e2a625bef</id>
<content type='text'>
SPI_SUNXI driver is fully dm-aware and the Allwinner
architecture kconfig would have logic to enable the
DM_SPI. So, select default spi sunxi driver for
sunxi architecture.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>dm: spi: Change cs_info op to return -EINVAL for invalid cs num</title>
<updated>2019-10-24T19:18:31Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2019-09-09T13:00:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4b060003957db07fa0e35beafe6559f9cc91954c'/>
<id>urn:sha1:4b060003957db07fa0e35beafe6559f9cc91954c</id>
<content type='text'>
We need distinguish the following two situations in various SPI APIs:

- given chip select num is invalid
- given chip select num is valid, but no device is attached

Currently -ENODEV is returned for both cases.

For the first case, it's more reasonable to return -EINVAL instead of
-ENODEV for invalid chip select numbers.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; # SoPine
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
</feed>
