mbox series

[v2,00/23] spi: dm-conversion (part1)

Message ID 20200527125637.149189-1-jagan@amarulasolutions.com
Headers show
Series spi: dm-conversion (part1) | expand

Message

Jagan Teki May 27, 2020, 12:56 p.m. UTC
This series dropped nondm code from omap3, enabled
a few boards with DM_SPI, DM_SPI_FLASH and finally 
dropped boards which didn't have DM, OF_CONTROL.

Chages for v2:
- included updates on missing boards which used omap3 spi
- added board maintainers

Travis-CI:
https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408

Any inputs?
Jagan.

Jagan Teki (23):
  configs: igep00x0: Enable DM_SPI
  am335x: sl50: Enable DM_SPI
  am335x: baltos: Enable DM_SPI
  am335x: igep003x: Enable DM_SPI
  siemens: draco: Enable DM_SPI, DM_SPI_FLASH
  siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH
  siemens: rut: Enable DM_SPI, DM_SPI_FLASH
  compulab: Drop cm_t54
  compulab: Drop cm_t35
  overo: Drop omap3 overo
  pandora: Drop omap3 pandora
  logicpd: Drop omap3 zoom1
  quipos: Drop omap3 cairo
  gumstix: Drop duovero
  ti: Drop panda board
  ti: Drop sdp4430 board
  ti: Drop omap5 uevm
  birdland: Drop bav335x
  gumstix: Drop pepper
  phytec: Drop pcm051
  silica: Drop pengwyn
  spi: omap3: Drop nondm code
  doc: driver-model: Update SPI migration status

 arch/arm/Kconfig                         |   4 -
 arch/arm/mach-omap2/am33xx/Kconfig       |  36 --
 arch/arm/mach-omap2/omap3/Kconfig        |  42 --
 arch/arm/mach-omap2/omap4/Kconfig        |  12 -
 arch/arm/mach-omap2/omap5/Kconfig        |   8 -
 board/birdland/bav335x/Kconfig           |  23 -
 board/birdland/bav335x/MAINTAINERS       |  13 -
 board/birdland/bav335x/Makefile          |  11 -
 board/birdland/bav335x/README            |  31 --
 board/birdland/bav335x/board.c           | 432 -------------------
 board/birdland/bav335x/board.h           |  58 ---
 board/birdland/bav335x/mux.c             | 190 ---------
 board/birdland/bav335x/u-boot.lds        | 115 -----
 board/compulab/cm_t35/Kconfig            |  12 -
 board/compulab/cm_t35/MAINTAINERS        |   6 -
 board/compulab/cm_t35/Makefile           |   8 -
 board/compulab/cm_t35/cm_t35.c           | 513 -----------------------
 board/compulab/cm_t54/Kconfig            |  12 -
 board/compulab/cm_t54/MAINTAINERS        |   6 -
 board/compulab/cm_t54/Makefile           |   8 -
 board/compulab/cm_t54/cm_t54.c           | 261 ------------
 board/compulab/cm_t54/mux.c              |  94 -----
 board/compulab/cm_t54/spl.c              |  65 ---
 board/gumstix/duovero/Kconfig            |  12 -
 board/gumstix/duovero/MAINTAINERS        |   6 -
 board/gumstix/duovero/Makefile           |   6 -
 board/gumstix/duovero/duovero.c          | 273 ------------
 board/gumstix/duovero/duovero_mux_data.h | 198 ---------
 board/gumstix/pepper/Kconfig             |  15 -
 board/gumstix/pepper/MAINTAINERS         |   6 -
 board/gumstix/pepper/Makefile            |  11 -
 board/gumstix/pepper/board.c             | 288 -------------
 board/gumstix/pepper/board.h             |  31 --
 board/gumstix/pepper/mux.c               |  82 ----
 board/logicpd/zoom1/Kconfig              |  12 -
 board/logicpd/zoom1/MAINTAINERS          |   6 -
 board/logicpd/zoom1/Makefile             |   6 -
 board/logicpd/zoom1/config.mk            |  14 -
 board/logicpd/zoom1/zoom1.c              | 148 -------
 board/logicpd/zoom1/zoom1.h              | 122 ------
 board/overo/Kconfig                      |   9 -
 board/overo/MAINTAINERS                  |   6 -
 board/overo/Makefile                     |  10 -
 board/overo/common.c                     | 368 ----------------
 board/overo/overo.c                      | 411 ------------------
 board/overo/overo.h                      | 169 --------
 board/overo/spl.c                        |  61 ---
 board/pandora/Kconfig                    |   9 -
 board/pandora/MAINTAINERS                |   6 -
 board/pandora/Makefile                   |   6 -
 board/pandora/pandora.c                  | 149 -------
 board/pandora/pandora.h                  | 391 -----------------
 board/phytec/pcm051/Kconfig              |  15 -
 board/phytec/pcm051/MAINTAINERS          |   7 -
 board/phytec/pcm051/Makefile             |  11 -
 board/phytec/pcm051/board.c              | 258 ------------
 board/phytec/pcm051/board.h              |  24 --
 board/phytec/pcm051/mux.c                | 127 ------
 board/quipos/cairo/Kconfig               |  12 -
 board/quipos/cairo/MAINTAINERS           |   6 -
 board/quipos/cairo/Makefile              |   6 -
 board/quipos/cairo/cairo.c               |  98 -----
 board/quipos/cairo/cairo.h               | 318 --------------
 board/silica/pengwyn/Kconfig             |  15 -
 board/silica/pengwyn/MAINTAINERS         |   6 -
 board/silica/pengwyn/Makefile            |  11 -
 board/silica/pengwyn/board.c             | 204 ---------
 board/silica/pengwyn/board.h             |  14 -
 board/silica/pengwyn/mux.c               |  97 -----
 board/ti/omap5_uevm/Kconfig              |  12 -
 board/ti/omap5_uevm/MAINTAINERS          |   6 -
 board/ti/omap5_uevm/Makefile             |   6 -
 board/ti/omap5_uevm/README               |  25 --
 board/ti/omap5_uevm/evm.c                | 283 -------------
 board/ti/omap5_uevm/mux_data.h           |  57 ---
 board/ti/panda/Kconfig                   |  12 -
 board/ti/panda/MAINTAINERS               |   6 -
 board/ti/panda/Makefile                  |   6 -
 board/ti/panda/panda.c                   | 346 ---------------
 board/ti/panda/panda_mux_data.h          |  86 ----
 board/ti/sdp4430/Kconfig                 |  15 -
 board/ti/sdp4430/MAINTAINERS             |   6 -
 board/ti/sdp4430/Makefile                |  10 -
 board/ti/sdp4430/cmd_bat.c               |  41 --
 board/ti/sdp4430/sdp.c                   | 100 -----
 board/ti/sdp4430/sdp4430_mux_data.h      |  67 ---
 configs/am335x_baltos_defconfig          |   1 +
 configs/am335x_igep003x_defconfig        |   1 +
 configs/am335x_sl50_defconfig            |   1 +
 configs/birdland_bav335a_defconfig       |  69 ---
 configs/birdland_bav335b_defconfig       |  69 ---
 configs/cairo_defconfig                  |  40 --
 configs/cm_t35_defconfig                 |  65 ---
 configs/cm_t54_defconfig                 |  53 ---
 configs/draco_defconfig                  |   4 +
 configs/duovero_defconfig                |  42 --
 configs/etamin_defconfig                 |   4 +
 configs/igep00x0_defconfig               |   1 +
 configs/omap3_overo_defconfig            |  53 ---
 configs/omap3_pandora_defconfig          |  40 --
 configs/omap3_zoom1_defconfig            |  41 --
 configs/omap4_panda_defconfig            |  42 --
 configs/omap4_sdp4430_defconfig          |  42 --
 configs/omap5_uevm_defconfig             |  55 ---
 configs/pcm051_rev1_defconfig            |  60 ---
 configs/pcm051_rev3_defconfig            |  60 ---
 configs/pengwyn_defconfig                |  67 ---
 configs/pepper_defconfig                 |  42 --
 configs/pxm2_defconfig                   |   4 +
 configs/rastaban_defconfig               |   4 +
 configs/rut_defconfig                    |   4 +
 configs/thuban_defconfig                 |   4 +
 doc/README.omap3                         |  16 -
 doc/driver-model/migration.rst           |   2 -
 drivers/spi/Kconfig                      |  14 +-
 drivers/spi/omap3_spi.c                  | 136 ------
 include/configs/bav335x.h                | 475 ---------------------
 include/configs/cm_t35.h                 | 249 -----------
 include/configs/cm_t54.h                 | 120 ------
 include/configs/duovero.h                |  36 --
 include/configs/omap3_cairo.h            | 215 ----------
 include/configs/omap3_overo.h            | 184 --------
 include/configs/omap3_pandora.h          |  62 ---
 include/configs/omap3_zoom1.h            | 131 ------
 include/configs/omap4_panda.h            |  34 --
 include/configs/omap4_sdp4430.h          |  25 --
 include/configs/omap5_uevm.h             |  62 ---
 include/configs/pcm051.h                 | 128 ------
 include/configs/pengwyn.h                | 166 --------
 include/configs/pepper.h                 |  78 ----
 include/configs/siemens-am33x-common.h   |   3 -
 include/configs/ti_omap4_common.h        |   2 -
 132 files changed, 35 insertions(+), 10075 deletions(-)
 delete mode 100644 board/birdland/bav335x/Kconfig
 delete mode 100644 board/birdland/bav335x/MAINTAINERS
 delete mode 100644 board/birdland/bav335x/Makefile
 delete mode 100644 board/birdland/bav335x/README
 delete mode 100644 board/birdland/bav335x/board.c
 delete mode 100644 board/birdland/bav335x/board.h
 delete mode 100644 board/birdland/bav335x/mux.c
 delete mode 100644 board/birdland/bav335x/u-boot.lds
 delete mode 100644 board/compulab/cm_t35/Kconfig
 delete mode 100644 board/compulab/cm_t35/MAINTAINERS
 delete mode 100644 board/compulab/cm_t35/Makefile
 delete mode 100644 board/compulab/cm_t35/cm_t35.c
 delete mode 100644 board/compulab/cm_t54/Kconfig
 delete mode 100644 board/compulab/cm_t54/MAINTAINERS
 delete mode 100644 board/compulab/cm_t54/Makefile
 delete mode 100644 board/compulab/cm_t54/cm_t54.c
 delete mode 100644 board/compulab/cm_t54/mux.c
 delete mode 100644 board/compulab/cm_t54/spl.c
 delete mode 100644 board/gumstix/duovero/Kconfig
 delete mode 100644 board/gumstix/duovero/MAINTAINERS
 delete mode 100644 board/gumstix/duovero/Makefile
 delete mode 100644 board/gumstix/duovero/duovero.c
 delete mode 100644 board/gumstix/duovero/duovero_mux_data.h
 delete mode 100644 board/gumstix/pepper/Kconfig
 delete mode 100644 board/gumstix/pepper/MAINTAINERS
 delete mode 100644 board/gumstix/pepper/Makefile
 delete mode 100644 board/gumstix/pepper/board.c
 delete mode 100644 board/gumstix/pepper/board.h
 delete mode 100644 board/gumstix/pepper/mux.c
 delete mode 100644 board/logicpd/zoom1/Kconfig
 delete mode 100644 board/logicpd/zoom1/MAINTAINERS
 delete mode 100644 board/logicpd/zoom1/Makefile
 delete mode 100644 board/logicpd/zoom1/config.mk
 delete mode 100644 board/logicpd/zoom1/zoom1.c
 delete mode 100644 board/logicpd/zoom1/zoom1.h
 delete mode 100644 board/overo/Kconfig
 delete mode 100644 board/overo/MAINTAINERS
 delete mode 100644 board/overo/Makefile
 delete mode 100644 board/overo/common.c
 delete mode 100644 board/overo/overo.c
 delete mode 100644 board/overo/overo.h
 delete mode 100644 board/overo/spl.c
 delete mode 100644 board/pandora/Kconfig
 delete mode 100644 board/pandora/MAINTAINERS
 delete mode 100644 board/pandora/Makefile
 delete mode 100644 board/pandora/pandora.c
 delete mode 100644 board/pandora/pandora.h
 delete mode 100644 board/phytec/pcm051/Kconfig
 delete mode 100644 board/phytec/pcm051/MAINTAINERS
 delete mode 100644 board/phytec/pcm051/Makefile
 delete mode 100644 board/phytec/pcm051/board.c
 delete mode 100644 board/phytec/pcm051/board.h
 delete mode 100644 board/phytec/pcm051/mux.c
 delete mode 100644 board/quipos/cairo/Kconfig
 delete mode 100644 board/quipos/cairo/MAINTAINERS
 delete mode 100644 board/quipos/cairo/Makefile
 delete mode 100644 board/quipos/cairo/cairo.c
 delete mode 100644 board/quipos/cairo/cairo.h
 delete mode 100644 board/silica/pengwyn/Kconfig
 delete mode 100644 board/silica/pengwyn/MAINTAINERS
 delete mode 100644 board/silica/pengwyn/Makefile
 delete mode 100644 board/silica/pengwyn/board.c
 delete mode 100644 board/silica/pengwyn/board.h
 delete mode 100644 board/silica/pengwyn/mux.c
 delete mode 100644 board/ti/omap5_uevm/Kconfig
 delete mode 100644 board/ti/omap5_uevm/MAINTAINERS
 delete mode 100644 board/ti/omap5_uevm/Makefile
 delete mode 100644 board/ti/omap5_uevm/README
 delete mode 100644 board/ti/omap5_uevm/evm.c
 delete mode 100644 board/ti/omap5_uevm/mux_data.h
 delete mode 100644 board/ti/panda/Kconfig
 delete mode 100644 board/ti/panda/MAINTAINERS
 delete mode 100644 board/ti/panda/Makefile
 delete mode 100644 board/ti/panda/panda.c
 delete mode 100644 board/ti/panda/panda_mux_data.h
 delete mode 100644 board/ti/sdp4430/Kconfig
 delete mode 100644 board/ti/sdp4430/MAINTAINERS
 delete mode 100644 board/ti/sdp4430/Makefile
 delete mode 100644 board/ti/sdp4430/cmd_bat.c
 delete mode 100644 board/ti/sdp4430/sdp.c
 delete mode 100644 board/ti/sdp4430/sdp4430_mux_data.h
 delete mode 100644 configs/birdland_bav335a_defconfig
 delete mode 100644 configs/birdland_bav335b_defconfig
 delete mode 100644 configs/cairo_defconfig
 delete mode 100644 configs/cm_t35_defconfig
 delete mode 100644 configs/cm_t54_defconfig
 delete mode 100644 configs/duovero_defconfig
 delete mode 100644 configs/omap3_overo_defconfig
 delete mode 100644 configs/omap3_pandora_defconfig
 delete mode 100644 configs/omap3_zoom1_defconfig
 delete mode 100644 configs/omap4_panda_defconfig
 delete mode 100644 configs/omap4_sdp4430_defconfig
 delete mode 100644 configs/omap5_uevm_defconfig
 delete mode 100644 configs/pcm051_rev1_defconfig
 delete mode 100644 configs/pcm051_rev3_defconfig
 delete mode 100644 configs/pengwyn_defconfig
 delete mode 100644 configs/pepper_defconfig
 delete mode 100644 include/configs/bav335x.h
 delete mode 100644 include/configs/cm_t35.h
 delete mode 100644 include/configs/cm_t54.h
 delete mode 100644 include/configs/duovero.h
 delete mode 100644 include/configs/omap3_cairo.h
 delete mode 100644 include/configs/omap3_overo.h
 delete mode 100644 include/configs/omap3_pandora.h
 delete mode 100644 include/configs/omap3_zoom1.h
 delete mode 100644 include/configs/omap4_panda.h
 delete mode 100644 include/configs/omap4_sdp4430.h
 delete mode 100644 include/configs/omap5_uevm.h
 delete mode 100644 include/configs/pcm051.h
 delete mode 100644 include/configs/pengwyn.h
 delete mode 100644 include/configs/pepper.h

Comments

Simon Glass May 27, 2020, 1:27 p.m. UTC | #1
Hi Jagan,

On Wed, 27 May 2020 at 06:56, Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> This series dropped nondm code from omap3, enabled
> a few boards with DM_SPI, DM_SPI_FLASH and finally
> dropped boards which didn't have DM, OF_CONTROL.
>
> Chages for v2:
> - included updates on missing boards which used omap3 spi
> - added board maintainers
>
> Travis-CI:
> https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408
>
> Any inputs?

Good to see this.

Just to mention that there is a tools/rmboard.py script which tries to
create commits to remove boards automatically, in case you didn't see
it.

> Jagan.
>
> Jagan Teki (23):
>   configs: igep00x0: Enable DM_SPI
>   am335x: sl50: Enable DM_SPI
>   am335x: baltos: Enable DM_SPI
>   am335x: igep003x: Enable DM_SPI
>   siemens: draco: Enable DM_SPI, DM_SPI_FLASH
>   siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH
>   siemens: rut: Enable DM_SPI, DM_SPI_FLASH
>   compulab: Drop cm_t54
>   compulab: Drop cm_t35
>   overo: Drop omap3 overo
>   pandora: Drop omap3 pandora
>   logicpd: Drop omap3 zoom1
>   quipos: Drop omap3 cairo
>   gumstix: Drop duovero
>   ti: Drop panda board
>   ti: Drop sdp4430 board
>   ti: Drop omap5 uevm
>   birdland: Drop bav335x
>   gumstix: Drop pepper
>   phytec: Drop pcm051
>   silica: Drop pengwyn
>   spi: omap3: Drop nondm code
>   doc: driver-model: Update SPI migration status
>
[..]

Regards,
Simon
Jagan Teki May 27, 2020, 3:55 p.m. UTC | #2
Hi Simon,

On Wed, May 27, 2020 at 6:57 PM Simon Glass <sjg at chromium.org> wrote:
>
> Hi Jagan,
>
> On Wed, 27 May 2020 at 06:56, Jagan Teki <jagan at amarulasolutions.com> wrote:
> >
> > This series dropped nondm code from omap3, enabled
> > a few boards with DM_SPI, DM_SPI_FLASH and finally
> > dropped boards which didn't have DM, OF_CONTROL.
> >
> > Chages for v2:
> > - included updates on missing boards which used omap3 spi
> > - added board maintainers
> >
> > Travis-CI:
> > https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408
> >
> > Any inputs?
>
> Good to see this.
>
> Just to mention that there is a tools/rmboard.py script which tries to
> create commits to remove boards automatically, in case you didn't see
> it.

I have seen it after doing all this. Will use it for rest, but it is
editing the commit message as DM_MMC, I hope I can rephase it as
DM_SPI?

Jagan.
Simon Glass May 28, 2020, 3:08 a.m. UTC | #3
Hi Jagan

On Wed, 27 May 2020 at 09:55, Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> Hi Simon,
>
> On Wed, May 27, 2020 at 6:57 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > Hi Jagan,
> >
> > On Wed, 27 May 2020 at 06:56, Jagan Teki <jagan at amarulasolutions.com> wrote:
> > >
> > > This series dropped nondm code from omap3, enabled
> > > a few boards with DM_SPI, DM_SPI_FLASH and finally
> > > dropped boards which didn't have DM, OF_CONTROL.
> > >
> > > Chages for v2:
> > > - included updates on missing boards which used omap3 spi
> > > - added board maintainers
> > >
> > > Travis-CI:
> > > https://travis-ci.org/github/openedev/u-boot-amarula/builds/691717408
> > >
> > > Any inputs?
> >
> > Good to see this.
> >
> > Just to mention that there is a tools/rmboard.py script which tries to
> > create commits to remove boards automatically, in case you didn't see
> > it.
>
> I have seen it after doing all this. Will use it for rest, but it is
> editing the commit message as DM_MMC, I hope I can rephase it as
> DM_SPI?
>

You can certainly change the commit messages.

Regards,
Simon