All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 00/16] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm
@ 2015-11-19  7:05 Mugunthan V N
  2015-11-19  7:05 ` [U-Boot] [PATCH v3 01/16] drivers: spi: ti_qspi: do not hard code chip select for memory map configuration Mugunthan V N
                   ` (16 more replies)
  0 siblings, 17 replies; 39+ messages in thread
From: Mugunthan V N @ 2015-11-19  7:05 UTC (permalink / raw)
  To: u-boot

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]

[1]: http://pastebin.ubuntu.com/13341771/
[2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git qspi-v3

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 (16):
  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
  drivers: mtd: spi: sf_probe: add compatible for spansion spi flash
  drivers: mtd: spi: sf_probe: add compatible for Macronix spi 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

 arch/arm/dts/am4372.dtsi        |   5 +-
 arch/arm/dts/dra7.dtsi          |   8 +-
 configs/am437x_sk_evm_defconfig |   3 +
 configs/dra72_evm_defconfig     |   2 +
 configs/dra74_evm_defconfig     |   2 +
 drivers/core/device.c           |  31 ++-
 drivers/mtd/spi/sf_probe.c      |   2 +
 drivers/spi/spi-uclass.c        |  33 +++
 drivers/spi/ti_qspi.c           | 519 ++++++++++++++++++++++++++++------------
 include/configs/am43xx_evm.h    |   2 +
 include/configs/dra7xx_evm.h    |   5 +
 include/dm/device.h             |  11 +
 include/spi.h                   |   4 +
 13 files changed, 467 insertions(+), 160 deletions(-)

-- 
2.6.2.280.g74301d6

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2015-12-20  3:24 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19  7:05 [U-Boot] [PATCH v3 00/16] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 01/16] drivers: spi: ti_qspi: do not hard code chip select for memory map configuration Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 02/16] drivers: spi:ti_qspi: change ti_qspi_slave to ti_qspi_priv for driver model conversion Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 04/16] dm: core: Add a new api to get indexed device address Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 05/16] spi: Add support for dual and quad mode Mugunthan V N
2015-12-03 16:07   ` Jagan Teki
2015-12-06  6:03     ` Mugunthan V N
2015-12-06 14:43       ` Jagan Teki
2015-12-08 15:05         ` Mugunthan V N
2015-12-08 15:48           ` Jagan Teki
2015-12-15  7:52   ` [U-Boot] [PATCH v4 " Mugunthan V N
2015-12-15  8:13     ` Jagan Teki
2015-12-17  6:30       ` Mugunthan V N
2015-12-17  6:49         ` Jagan Teki
2015-12-17 16:40           ` Jagan Teki
2015-12-20  3:24             ` Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 06/16] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 07/16] dts: dra7: add spi alias for qspi Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 08/16] drivers: spi: ti_qspi: convert driver to adopt device driver model Mugunthan V N
2015-12-15  7:52   ` [U-Boot] [PATCH v4 " Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 09/16] arm: dts: dra7: add qspi register maps for memory map and control module Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash Mugunthan V N
2015-11-19 10:10   ` Jagan Teki
2015-11-20  6:01     ` Mugunthan V N
2015-11-20 12:27       ` Jagan Teki
2015-11-23 11:29         ` Mugunthan V N
2015-11-23 13:12           ` Jagan Teki
2015-12-03 16:02             ` Jagan Teki
2015-12-06  6:57               ` Mugunthan V N
2015-11-23 15:24           ` Tom Rini
2015-11-19  7:05 ` [U-Boot] [PATCH v3 11/16] drivers: mtd: spi: sf_probe: add compatible for Macronix " Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 12/16] defconfig: dra72_evm: enable spi driver model Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 13/16] defconfig: dra74_evm: " Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 14/16] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl Mugunthan V N
2015-11-21  1:20   ` Tom Rini
2015-11-19  7:05 ` [U-Boot] [PATCH v3 15/16] arm: dts: am4372: add qspi register maps for memory map Mugunthan V N
2015-11-19  7:05 ` [U-Boot] [PATCH v3 16/16] defconfig: am437x_sk_evm: enable spi driver model Mugunthan V N
2015-12-01  6:31 ` [U-Boot] [PATCH v3 00/16] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm Mugunthan V N

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.