All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: imx: Remove board files
@ 2020-09-02  0:33 Fabio Estevam
  2020-09-02  9:00 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2020-09-02  0:33 UTC (permalink / raw)
  To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam, arnd, linux-imx, kernel

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.

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/imx27-dt.c                |  26 -
 arch/arm/mach-imx/imx31-dt.c                |  19 -
 arch/arm/mach-imx/imx35-dt.c                |  32 -
 arch/arm/mach-imx/mach-armadillo5x0.c       | 562 ------------------
 arch/arm/mach-imx/mach-bug.c                |  54 --
 arch/arm/mach-imx/mach-imx27_visstrim_m10.c | 562 ------------------
 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(+), 8865 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/imx27-dt.c
 delete mode 100644 arch/arm/mach-imx/imx31-dt.c
 delete mode 100644 arch/arm/mach-imx/imx35-dt.c
 delete mode 100644 arch/arm/mach-imx/mach-armadillo5x0.c
 delete mode 100644 arch/arm/mach-imx/mach-bug.c
 delete mode 100644 arch/arm/mach-imx/mach-imx27_visstrim_m10.c
 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

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 0/5] ARM: imx: Remove board files
  2020-09-02  0:33 [PATCH 0/5] ARM: imx: Remove board files Fabio Estevam
@ 2020-09-02  9:00 ` Arnd Bergmann
  2020-09-02 12:44   ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2020-09-02  9:00 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Linux ARM, Shawn Guo, NXP Linux Team, Sascha Hauer

On Wed, Sep 2, 2020 at 2:35 AM Fabio Estevam <festevam@gmail.com> 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.

This looks reasonable to me overall, there has not been any work on
converting the remaining boards in a long time, and both the imx3 and
imx21 are unlikely to have been used in new products for at least
as long.

I would prefer somewhat to recursively remove now-unused code from
mach-imx/*, in particular I would guess that most of mach-imx/devices/
can get removed along with the board files using it. If you feel strongly
that this is too much and the work needs to be split into multiple steps,
that is also fine with me.

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 0/5] ARM: imx: Remove board files
  2020-09-02  9:00 ` Arnd Bergmann
@ 2020-09-02 12:44   ` Fabio Estevam
  2020-09-02 19:32     ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2020-09-02 12:44 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: Linux ARM, Shawn Guo, NXP Linux Team, Sascha Hauer

Hi Arnd,

On Wed, Sep 2, 2020 at 6:00 AM Arnd Bergmann <arnd@arndb.de> wrote:

> This looks reasonable to me overall, there has not been any work on
> converting the remaining boards in a long time, and both the imx3 and
> imx21 are unlikely to have been used in new products for at least
> as long.
>
> I would prefer somewhat to recursively remove now-unused code from
> mach-imx/*, in particular I would guess that most of mach-imx/devices/
> can get removed along with the board files using it. If you feel strongly
> that this is too much and the work needs to be split into multiple steps,
> that is also fine with me.

Yes, I also plan to remove all the
arch/arm/mach-imx/devices/platform-*.c files after this series gets
into linux-next.

Thanks




>
>        Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 0/5] ARM: imx: Remove board files
  2020-09-02 12:44   ` Fabio Estevam
@ 2020-09-02 19:32     ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2020-09-02 19:32 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Sascha Hauer, Shawn Guo, NXP Linux Team, Linux ARM

On Wed, Sep 2, 2020 at 2:47 PM Fabio Estevam <festevam@gmail.com> wrote:

> > I would prefer somewhat to recursively remove now-unused code from
> > mach-imx/*, in particular I would guess that most of mach-imx/devices/
> > can get removed along with the board files using it. If you feel strongly
> > that this is too much and the work needs to be split into multiple steps,
> > that is also fine with me.
>
> Yes, I also plan to remove all the
> arch/arm/mach-imx/devices/platform-*.c files after this series gets
> into linux-next.

Ok, fair enough.

      Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-09-02 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-02  0:33 [PATCH 0/5] ARM: imx: Remove board files Fabio Estevam
2020-09-02  9:00 ` Arnd Bergmann
2020-09-02 12:44   ` Fabio Estevam
2020-09-02 19:32     ` Arnd Bergmann

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.