[PATCH v2 00/11] ARM: imx: Further cleanups due to dt-only conversion
Fabio Estevam
festevam at gmail.com
Wed Sep 16 20:41:14 EDT 2020
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
--
2.17.1
More information about the linux-arm-kernel
mailing list