mbox series

[v2,0/5] ARM: imx: Remove board files

Message ID 20200902124952.17472-1-festevam@gmail.com
Headers show
Series ARM: imx: Remove board files | expand

Message

Fabio Estevam Sept. 2, 2020, 12:49 p.m. UTC
This is a first pass converting i.MX to a devicetree-only platform.

i.MX board files have been primarily receiving only tree-wide API
cleanups and does not appear to have real users.

i.MX27, i.MX31 and i.MX35 have basic devicetree support and users
can improve devicetree support if needed.

i.MX21 has not been converted to device tree yet, so drop its support.

Of course if someone is interested in using i.MX21 with a mainline kernel,
patches that add i.MX21 devicetree support will be welcome.

For maintainance perspective, it is easier to treat i.MX as a devicetree-only
platform, so remove the board files to achieve this end goal.

Changes since v1:

Changes since v1:
- Rename imx27-dt.c => mach-imx27.c
 	 imx31-dt.c => mach-imx31.c
	 imx35-dt.c => mach-imx35.c
 for consistency among the other i.MX SoCs.

Fabio Estevam (5):
  ARM: imx: Remove imx21 support
  ARM: imx: Remove i.MX27 board files
  ARM: imx: Remove i.MX31 board files
  ARM: imx: Remove i.MX35 board files
  ARM: imx: Remove ehci board files

 arch/arm/configs/imx_v4_v5_defconfig          |   2 +-
 arch/arm/configs/imx_v6_v7_defconfig          |  16 +-
 arch/arm/configs/multi_v5_defconfig           |   2 +-
 arch/arm/mach-imx/Kconfig                     | 362 +----------
 arch/arm/mach-imx/Makefile                    |  40 +-
 arch/arm/mach-imx/devices-imx21.h             |  56 --
 arch/arm/mach-imx/ehci-imx27.c                |  74 ---
 arch/arm/mach-imx/ehci-imx31.c                |  74 ---
 arch/arm/mach-imx/ehci-imx35.c                |  89 ---
 arch/arm/mach-imx/ehci.h                      |  44 --
 arch/arm/mach-imx/mach-armadillo5x0.c         | 562 ----------------
 arch/arm/mach-imx/mach-bug.c                  |  54 --
 .../arm/mach-imx/{imx27-dt.c => mach-imx27.c} |   0
 arch/arm/mach-imx/mach-imx27_visstrim_m10.c   | 562 ----------------
 .../arm/mach-imx/{imx31-dt.c => mach-imx31.c} |   0
 .../arm/mach-imx/{imx35-dt.c => mach-imx35.c} |   0
 arch/arm/mach-imx/mach-kzm_arm11_01.c         | 291 ---------
 arch/arm/mach-imx/mach-mx21ads.c              | 338 ----------
 arch/arm/mach-imx/mach-mx27_3ds.c             | 470 -------------
 arch/arm/mach-imx/mach-mx27ads.c              | 407 ------------
 arch/arm/mach-imx/mach-mx31_3ds.c             | 615 ------------------
 arch/arm/mach-imx/mach-mx31lilly.c            | 312 ---------
 arch/arm/mach-imx/mach-mx31lite.c             | 290 ---------
 arch/arm/mach-imx/mach-mx31moboard.c          | 581 -----------------
 arch/arm/mach-imx/mach-mx35_3ds.c             | 516 ---------------
 arch/arm/mach-imx/mach-pca100.c               | 426 ------------
 arch/arm/mach-imx/mach-pcm037.c               | 585 -----------------
 arch/arm/mach-imx/mach-pcm037_eet.c           | 166 -----
 arch/arm/mach-imx/mach-pcm043.c               | 412 ------------
 arch/arm/mach-imx/mach-qong.c                 | 262 --------
 arch/arm/mach-imx/mach-vpr200.c               | 306 ---------
 arch/arm/mach-imx/mm-imx21.c                  |  84 ---
 arch/arm/mach-imx/mx31lilly-db.c              | 182 ------
 arch/arm/mach-imx/mx31moboard-devboard.c      | 238 -------
 arch/arm/mach-imx/mx31moboard-marxbot.c       | 270 --------
 arch/arm/mach-imx/mx31moboard-smartbot.c      | 124 ----
 36 files changed, 24 insertions(+), 8788 deletions(-)
 delete mode 100644 arch/arm/mach-imx/devices-imx21.h
 delete mode 100644 arch/arm/mach-imx/ehci-imx27.c
 delete mode 100644 arch/arm/mach-imx/ehci-imx31.c
 delete mode 100644 arch/arm/mach-imx/ehci-imx35.c
 delete mode 100644 arch/arm/mach-imx/ehci.h
 delete mode 100644 arch/arm/mach-imx/mach-armadillo5x0.c
 delete mode 100644 arch/arm/mach-imx/mach-bug.c
 rename arch/arm/mach-imx/{imx27-dt.c => mach-imx27.c} (100%)
 delete mode 100644 arch/arm/mach-imx/mach-imx27_visstrim_m10.c
 rename arch/arm/mach-imx/{imx31-dt.c => mach-imx31.c} (100%)
 rename arch/arm/mach-imx/{imx35-dt.c => mach-imx35.c} (100%)
 delete mode 100644 arch/arm/mach-imx/mach-kzm_arm11_01.c
 delete mode 100644 arch/arm/mach-imx/mach-mx21ads.c
 delete mode 100644 arch/arm/mach-imx/mach-mx27_3ds.c
 delete mode 100644 arch/arm/mach-imx/mach-mx27ads.c
 delete mode 100644 arch/arm/mach-imx/mach-mx31_3ds.c
 delete mode 100644 arch/arm/mach-imx/mach-mx31lilly.c
 delete mode 100644 arch/arm/mach-imx/mach-mx31lite.c
 delete mode 100644 arch/arm/mach-imx/mach-mx31moboard.c
 delete mode 100644 arch/arm/mach-imx/mach-mx35_3ds.c
 delete mode 100644 arch/arm/mach-imx/mach-pca100.c
 delete mode 100644 arch/arm/mach-imx/mach-pcm037.c
 delete mode 100644 arch/arm/mach-imx/mach-pcm037_eet.c
 delete mode 100644 arch/arm/mach-imx/mach-pcm043.c
 delete mode 100644 arch/arm/mach-imx/mach-qong.c
 delete mode 100644 arch/arm/mach-imx/mach-vpr200.c
 delete mode 100644 arch/arm/mach-imx/mm-imx21.c
 delete mode 100644 arch/arm/mach-imx/mx31lilly-db.c
 delete mode 100644 arch/arm/mach-imx/mx31moboard-devboard.c
 delete mode 100644 arch/arm/mach-imx/mx31moboard-marxbot.c
 delete mode 100644 arch/arm/mach-imx/mx31moboard-smartbot.c

Comments

Shawn Guo Sept. 5, 2020, 7:35 a.m. UTC | #1
On Wed, Sep 02, 2020 at 09:49:47AM -0300, Fabio Estevam wrote:
> This is a first pass converting i.MX to a devicetree-only platform.
> 
> i.MX board files have been primarily receiving only tree-wide API
> cleanups and does not appear to have real users.
> 
> i.MX27, i.MX31 and i.MX35 have basic devicetree support and users
> can improve devicetree support if needed.
> 
> i.MX21 has not been converted to device tree yet, so drop its support.
> 
> Of course if someone is interested in using i.MX21 with a mainline kernel,
> patches that add i.MX21 devicetree support will be welcome.
> 
> For maintainance perspective, it is easier to treat i.MX as a devicetree-only
> platform, so remove the board files to achieve this end goal.
> 
> Changes since v1:
> 
> Changes since v1:
> - Rename imx27-dt.c => mach-imx27.c
>  	 imx31-dt.c => mach-imx31.c
> 	 imx35-dt.c => mach-imx35.c
>  for consistency among the other i.MX SoCs.
> 
> Fabio Estevam (5):
>   ARM: imx: Remove imx21 support
>   ARM: imx: Remove i.MX27 board files
>   ARM: imx: Remove i.MX31 board files
>   ARM: imx: Remove i.MX35 board files
>   ARM: imx: Remove ehci board files

Applied all, thanks.