[U-Boot] [PATCH 00/34] spi: DM_SPI migration timeout!

Jagan Teki jagan at amarulasolutions.com
Tue Nov 20 12:47:40 UTC 2018


This series grouped all dm related patches, which were
in ML since from many releases.

We have not heard any positive feed back about dm-conversion on
spi drivers along with no response for the work done by Akash and me.

So, finally I've taken step.
- for partially converted drivers:
  now drivers is fully dm-driven, and non-dm calls are routed to dummy
  calls in drivers/spi/spi.c, now it's board maintainer to enable DM_SPI
  otherwise the relevent spi stuff is not working.
- for no dm conversion drivers:
  removed the drivers along with respective instances.

Note:
- fsl_espi, managing many files, but will remove in next version
- I'm hoping this conversion can hit the foot-print issues, but
  will discuss how to move this further otherwise this can be final.

Jagan Teki (16):
  spi: Remove unused spi_init
  spi: Remove used spi_init
  spi: davinci: Full dm conversion
  spi: kirkwood: Full dm conversion
  spi: ti_qspi: Full dm conversion
  spi: Zap cf_spi driver-related code
  spi: Zap lpc32xx_ssp driver-related code
  spi: Zap mxs_spi driver-related code
  spi: Zap sh_spi driver-related code
  spi: Zap soft_spi_legacy driver-related code
  spi: Zap mpc8xx_spi driver-related code
  spi: Zap mxc_spi driver-related code
  spi: Zap omap3_spi driver-related code
  spi: Zap atmel_spi driver-related code
  spi: fsl_dspi: Drop non-dm code
  dm: MIGRATION: spi: Update SPI driver status

Mario Six (18):
  spi: mpc8xxx: Use short type names
  spi: mpc8xxx: Fix comments
  spi: mpc8xxx: Rename camel-case variables
  spi: mpc8xxx: Fix space after cast
  spi: mpc8xxx: Fix function names in strings
  spi: mpc8xxx: Replace defines with enums
  spi: mpc8xxx: Use IO accessors
  spi: mpc8xxx: Simplify if
  spi: mpc8xxx: Get rid of is_read
  spi: mpc8xxx: Simplify logic a bit
  spi: mpc8xxx: Reduce scope of loop variables
  spi: mpc8xxx: Make code more readable
  spi: mpc8xxx: Rename variable
  spi: mpc8xxx: Document LEN setting better
  spi: mpc8xxx: Re-order transfer setup
  spi: mpc8xxx: Fix if check
  spi: mpc8xxx: Use get_timer
  spi: mpc8xxx: Convert to DM

 Makefile                                      |  11 +
 cmd/eeprom.c                                  |   4 +-
 common/board_f.c                              |   1 -
 common/board_r.c                              |   7 -
 configs/M52277EVB_defconfig                   |   6 -
 configs/M52277EVB_stmicro_defconfig           |   7 -
 configs/M54418TWR_defconfig                   |   7 -
 configs/M54418TWR_nand_mii_defconfig          |   6 -
 configs/M54418TWR_nand_rmii_defconfig         |   6 -
 configs/M54418TWR_nand_rmii_lowfreq_defconfig |   6 -
 configs/M54418TWR_serial_mii_defconfig        |   7 -
 configs/M54418TWR_serial_rmii_defconfig       |   7 -
 configs/M54451EVB_defconfig                   |   6 -
 configs/M54451EVB_stmicro_defconfig           |   7 -
 configs/M54455EVB_a66_defconfig               |   6 -
 configs/M54455EVB_defconfig                   |   6 -
 configs/M54455EVB_i66_defconfig               |   6 -
 configs/M54455EVB_intel_defconfig             |   6 -
 configs/M54455EVB_stm33_defconfig             |   7 -
 configs/bg0900_defconfig                      |   7 -
 configs/devkit3250_defconfig                  |   3 -
 configs/mx28evk_auart_console_defconfig       |   6 -
 configs/mx28evk_defconfig                     |   6 -
 configs/mx28evk_nand_defconfig                |   6 -
 configs/mx28evk_spi_defconfig                 |   7 -
 configs/sh7752evb_defconfig                   |   7 -
 configs/sh7753evb_defconfig                   |   7 -
 configs/sh7757lcr_defconfig                   |   6 -
 configs/stmark2_defconfig                     |   8 -
 configs/work_92105_defconfig                  |   3 -
 configs/zipitz2_defconfig                     |   1 -
 doc/driver-model/MIGRATION.txt                |  17 +-
 doc/driver-model/spi-howto.txt                |   5 -
 drivers/net/e1000_spi.c                       |   3 -
 drivers/spi/Kconfig                           |  41 +-
 drivers/spi/Makefile                          |  20 +-
 drivers/spi/atmel_spi.c                       | 203 --------
 drivers/spi/cf_spi.c                          | 335 ------------
 drivers/spi/davinci_spi.c                     | 162 ------
 drivers/spi/fsl_dspi.c                        | 137 -----
 drivers/spi/fsl_espi.c                        |   5 -
 drivers/spi/kirkwood_spi.c                    | 229 ++------
 drivers/spi/lpc32xx_ssp.c                     | 143 -----
 drivers/spi/mpc8xx_spi.c                      | 335 ------------
 drivers/spi/mpc8xxx_spi.c                     | 279 ++++++----
 drivers/spi/mxc_spi.c                         | 127 +----
 drivers/spi/mxs_spi.c                         | 362 -------------
 drivers/spi/omap3_spi.c                       | 131 -----
 drivers/spi/sh_qspi.c                         |   5 -
 drivers/spi/sh_spi.c                          | 253 ---------
 drivers/spi/sh_spi.h                          |  67 ---
 drivers/spi/soft_spi_legacy.c                 | 175 -------
 drivers/spi/spi.c                             |  42 ++
 drivers/spi/ti_qspi.c                         | 490 +++++++-----------
 examples/standalone/atmel_df_pow2.c           |   2 -
 include/_exports.h                            |   2 -
 include/common.h                              |   7 -
 include/configs/MPC8349EMDS.h                 |   3 -
 include/configs/devkit3250.h                  |   5 -
 include/configs/sh7752evb.h                   |   5 -
 include/configs/sh7753evb.h                   |   5 -
 include/configs/sh7757lcr.h                   |   5 -
 include/configs/work_92105.h                  |   5 -
 include/configs/zipitz2.h                     |   7 -
 include/dm/platform_data/spi_kirkwood.h       |  15 +
 include/dm/platform_data/spi_ti_qspi.h        |  19 +
 include/spi.h                                 |   7 -
 scripts/config_whitelist.txt                  |   2 -
 68 files changed, 512 insertions(+), 3329 deletions(-)
 delete mode 100644 drivers/spi/cf_spi.c
 delete mode 100644 drivers/spi/lpc32xx_ssp.c
 delete mode 100644 drivers/spi/mpc8xx_spi.c
 delete mode 100644 drivers/spi/mxs_spi.c
 delete mode 100644 drivers/spi/sh_spi.c
 delete mode 100644 drivers/spi/sh_spi.h
 delete mode 100644 drivers/spi/soft_spi_legacy.c
 create mode 100644 include/dm/platform_data/spi_kirkwood.h
 create mode 100644 include/dm/platform_data/spi_ti_qspi.h

-- 
2.18.0.321.gffc6fa0e3



More information about the U-Boot mailing list