mbox series

[v2,00/11] ARM: imx: Further cleanups due to dt-only conversion

Message ID 20200917004125.18487-1-festevam@gmail.com
Headers show
Series ARM: imx: Further cleanups due to dt-only conversion | expand

Message

Fabio Estevam Sept. 17, 2020, 12:41 a.m. UTC
Now that i.MX has been converted to a devicetree-only platform, do
one more round of cleanups that consists mainly in using devicetree
to get the peripherals base addresses and get rid of unused clock driver
code.

Changes since v1:

- Do not introduce a sysctrl node to avoid breaking DT compatibility (Arnd)
- Remove unused definitions for base address, IRQ and DMA (Arnd)

Fabio Estevam (11):
  ARM: imx27: Retrieve the SYSCTRL base address from devicetree
  ARM: imx27: Retrieve the CCM base address from devicetree
  ARM: imx31: Retrieve the IIM base address from devicetree
  ARM: imx3: Retrieve the CCM base address from devicetree
  ARM: imx3: Retrieve the AVIC base address from devicetree
  ARM: imx35: Retrieve the IIM base address from devicetree
  ARM: imx: Remove unused definitions
  clk: imx: imx27: Remove mx27_clocks_init()
  clk: imx: imx31: Remove mx31_clocks_init()
  clk: imx: imx35: Remove mx35_clocks_init()
  clk: imx: imx21: Remove clock driver

 arch/arm/mach-imx/cpu-imx27.c |  10 +-
 arch/arm/mach-imx/cpu-imx31.c |   9 +-
 arch/arm/mach-imx/cpu-imx35.c |   9 +-
 arch/arm/mach-imx/mm-imx3.c   |  31 +++++-
 arch/arm/mach-imx/mx27.h      | 196 ----------------------------------
 arch/arm/mach-imx/mx31.h      | 179 -------------------------------
 arch/arm/mach-imx/mx35.h      | 173 ------------------------------
 arch/arm/mach-imx/pm-imx27.c  |  12 ++-
 drivers/clk/imx/Kconfig       |   4 -
 drivers/clk/imx/Makefile      |   1 -
 drivers/clk/imx/clk-imx21.c   | 171 -----------------------------
 drivers/clk/imx/clk-imx27.c   |  73 -------------
 drivers/clk/imx/clk-imx31.c   |  71 ------------
 drivers/clk/imx/clk-imx35.c   |  68 ------------
 14 files changed, 62 insertions(+), 945 deletions(-)
 delete mode 100644 drivers/clk/imx/clk-imx21.c

Comments

Arnd Bergmann Sept. 17, 2020, 8:12 a.m. UTC | #1
On Thu, Sep 17, 2020 at 2:42 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> Now that i.MX has been converted to a devicetree-only platform, do
> one more round of cleanups that consists mainly in using devicetree
> to get the peripherals base addresses and get rid of unused clock driver
> code.
>
> Changes since v1:
>
> - Do not introduce a sysctrl node to avoid breaking DT compatibility (Arnd)
> - Remove unused definitions for base address, IRQ and DMA (Arnd)

Whole series:

Acked-by: Arnd Bergmann <arnd@arndb.de>
Shawn Guo Sept. 22, 2020, 6:09 a.m. UTC | #2
On Wed, Sep 16, 2020 at 09:41:14PM -0300, Fabio Estevam wrote:
> Now that i.MX has been converted to a devicetree-only platform, do
> one more round of cleanups that consists mainly in using devicetree
> to get the peripherals base addresses and get rid of unused clock driver
> code.
> 
> Changes since v1:
> 
> - Do not introduce a sysctrl node to avoid breaking DT compatibility (Arnd)
> - Remove unused definitions for base address, IRQ and DMA (Arnd)
> 
> Fabio Estevam (11):
>   ARM: imx27: Retrieve the SYSCTRL base address from devicetree
>   ARM: imx27: Retrieve the CCM base address from devicetree
>   ARM: imx31: Retrieve the IIM base address from devicetree
>   ARM: imx3: Retrieve the CCM base address from devicetree
>   ARM: imx3: Retrieve the AVIC base address from devicetree
>   ARM: imx35: Retrieve the IIM base address from devicetree
>   ARM: imx: Remove unused definitions
>   clk: imx: imx27: Remove mx27_clocks_init()
>   clk: imx: imx31: Remove mx31_clocks_init()
>   clk: imx: imx35: Remove mx35_clocks_init()
>   clk: imx: imx21: Remove clock driver

Applied all, thanks.