[U-Boot] [PATCH re-send v6 00/17] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm
Jagan Teki
jteki at openedev.com
Tue Dec 29 07:45:00 CET 2015
On 23 December 2015 at 20:39, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> Resending the patches as I have missed 01/17 patch while sending
> v6 series
>
> This patch series enables ti_qspi to adopt driver model. This has
> been tested on dra72, dra74 and am437x-sk evms (logs [1]).
> Also pushed a branch for testing [2]
>
> This patch series is based on u-boot-spi/next and a fix for
> Macronix flash Quad Enable as per the comments in thread [3].
>
> [1]: http://pastebin.ubuntu.com/14164638/
> [2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-qspi-v6
>
> Changes from v5->v6:
> * Removed adding flash compatibles to flash driver and added
> "spi-flash" compatible to dts as done by other flash devices.
>
> Changes from v4->v5:
> * Adopt to latest spi framework changes by Jagan [3] and [4]
>
> [3]: http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/245039
> [4]: https://www.mail-archive.com/u-boot@lists.denx.de/msg196464.html
>
> Changes from v3->v4:
> * used op_mode_{t/r}x to hold flash tx/rx modes.
>
> Changes from v2->v3:
> * removed usage of spi_slave structure in driver model and introduced
> required variables in qspi priv itself.
> * Used fdt_addr_cells() and fdt_size_cells() instead of hard-coding
> size of each address-size pair.
> * Changed qspi dts entries to be same as in kernel qspi dts patch for
> avoiding future conflicts.
> * Fixed some typos and added more info in commits.
> * Added error check on chip select passed from framework.
> * Removed un-used define QSPI_RD_DUAL.
>
> Changes from Initial version:
> * Split "prepare driver for DM conversion" for easier review
> * added memory map mode to the driver
> * Fixed the cosmetic reviews from Simon
> * Modified the dev_get_addr_index to adopt OF_TRANSULATE as well
> and also removed code duplicate.
> * Added compatibles for spi flashed found in DRA7xx and AM437x SK
>
> Mugunthan V N (17):
> drivers: spi: ti_qspi: do not hard code chip select for memory map
> configuration
> drivers: spi:ti_qspi: change ti_qspi_slave to ti_qspi_priv for driver
> model conversion
> drivers: spi: ti_qspi: prepare driver for DM conversion
> dm: core: Add a new api to get indexed device address
> spi: Add support for dual and quad mode
> dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl
> dts: dra7: add spi alias for qspi
> drivers: spi: ti_qspi: convert driver to adopt device driver model
> arm: dts: dra7: add qspi register maps for memory map and control
> module
> arm: dts: am437x-gp-evm: add spi-flash comaptible for flash
> arm: dts: dra7-evm: add spi-flash comaptible for flash
> arm: dts: dra72-evm: add spi-flash comaptible for flash
> defconfig: dra72_evm: enable spi driver model
> defconfig: dra74_evm: enable spi driver model
> am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl
> arm: dts: am4372: add qspi register maps for memory map
> defconfig: am437x_sk_evm: enable spi driver model
Applied to u-boot-spi/master
thanks!
--
Jagan.
More information about the U-Boot
mailing list