Skip to content

Drop omap3 board files and make mach-omap2 boot in DT only mode

Tony Lindgren linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ARM: OMAP2+: Remove legacy omap3 board-*.c files and make mach-omap2 DT only for bootingarch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/Makefile+0 -1342 replies
1/12ARM: OMAP2+: Remove legacy omap3 board-*.c files and make mach-omap2 DT only for booting+0 -00 replies
2/12ARM: OMAP2+: Remove legacy serial.carch/arm/mach-omap2/Makefile arch/arm/mach-omap2/serial.c+1 -3360 replies
3/12ARM: OMAP2+: Remove legacy hsmmc.carch/arm/mach-omap2/Makefile arch/arm/mach-omap2/hsmmc.c+0 -5210 replies
4/12ARM: OMAP2+: Remove legacy i2c.c platform init codearch/arm/mach-omap1/i2c.c arch/arm/mach-omap2/i2c.c arch/arm/mach-omap2/twl-common.c +2 more+83 -2180 replies
5/12ARM: OMAP2+: Remove legacy PM initarch/arm/mach-omap2/pm.c+1 -1601 reply
5/12ARM: OMAP2+: Remove legacy PM initarch/arm/mach-omap2/pm.c+3 -1611 reply
6/12ARM: OMAP2+: Remove legacy twl4030 platform init codearch/arm/mach-omap2/Makefile arch/arm/mach-omap2/common-board-devices.h arch/arm/mach-omap2/omap_twl.c +2 more+1 -9520 replies
7/12ARM: OMAP2+: Remove legacy usb-host.c platform init codearch/arm/mach-omap2/Makefile arch/arm/mach-omap2/usb-host.c+0 -4970 replies
8/12ARM: OMAP2+: Remove legacy muxing for usb-tusb6010.carch/arm/mach-omap2/usb-tusb6010.c+0 -210 replies
9/12ARM: OMAP2+: Remove legacy usb-musb.c platform init codearch/arm/mach-omap2/Makefile arch/arm/mach-omap2/usb-musb.c+0 -1150 replies
10/12ARM: OMAP2+: Remove legacy hwmod mux codearch/arm/mach-omap2/devices.c arch/arm/mach-omap2/omap_hwmod.c+1 -1610 replies
11/12ARM: OMAP2+: Remove legacy mux codearch/arm/mach-omap2/Makefile arch/arm/mach-omap2/common.h arch/arm/mach-omap2/dss-common.c +2 more+1 -160 replies
11/12ARM: OMAP2+: Remove legacy mux codearch/arm/mach-omap1/Kconfig arch/arm/plat-omap/Kconfig+26 -260 replies
12/12ARM: OMAP2+: Remove legacy data from hwmod for omap3arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c arch/arm/mach-omap2/omap_hwmod_3xxx_data.c+49 -11190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] Drop omap3 board files and make mach-omap2 boot in DT only mode

Hi all,

We can finally make mach-omap2 to boot in device tree only mode for v3.14.

By doing that, we can get rid of about 20000 lines of legacy code for v3.14 that's no longer needed with device tree :) And that's not counting the additional removal of the code that comes with the pending patches to move clocks to drivers/clk.

Looks like we still have some legacy boards that don't have a .dts file, so if you're using one, please post the .dts file. I've posted some quick instructions in the first patch of this series for bringing up omaps with device tree.

For most omap2+ boards that are not yet supported with device tree just the .dts file is needed. Some boards also may need additional entries to pdata-quirks.c. If there are more complicated issues, please let me know so we can sort out those issues ASAP.

I don't have all omap boards so I have not been able to do a .dts file for those. Some help would be appreciated there if you are using a board with no .dts file posted yet. I can naturally help too where possible so we get the devices working with device tree as needed :)

These patches need v3.13-rc1 and some of the following patches depending on your board:

[PATCH 0/8] Various omap device tree usability fixes for v3.13 merge window [PATCH 00/11] Make omap24xx booting device tree based for v3.14 merge window [PATCH 0/3] Yet more fixes for booting omaps with device tree [PATCH 0/5] Prepare making omap3 device tree only and convert LDP

I've also pushed all the patches into a temporary testing branch:

omap-for-v3.14/tmp-testing-unstable-not-immutable

Regards,

Tony

Tony Lindgren (12):
ARM: OMAP2+: Remove legacy omap3 board-*.c files and make mach-omap2
DT only for booting
ARM: OMAP2+: Remove legacy serial.c
ARM: OMAP2+: Remove legacy hsmmc.c
ARM: OMAP2+: Remove legacy i2c.c platform init code
ARM: OMAP2+: Remove legacy PM init
ARM: OMAP2+: Remove legacy twl4030 platform init code
ARM: OMAP2+: Remove legacy usb-host.c platform init code
ARM: OMAP2+: Remove legacy muxing for usb-tusb6010.c
ARM: OMAP2+: Remove legacy usb-musb.c platform init code
ARM: OMAP2+: Remove legacy hwmod mux code
ARM: OMAP2+: Remove legacy mux code
ARM: OMAP2+: Remove legacy data from hwmod for omap3

 arch/arm/mach-omap1/i2c.c                          |   83 +
 arch/arm/mach-omap2/Kconfig                        |  112 --
 arch/arm/mach-omap2/Makefile                       |   35 +-
 arch/arm/mach-omap2/board-3430sdp.c                |  633 ------
 arch/arm/mach-omap2/board-am3517crane.c            |  150 --
 arch/arm/mach-omap2/board-am3517evm.c              |  379 ----
 arch/arm/mach-omap2/board-cm-t35.c                 |  771 --------
 arch/arm/mach-omap2/board-cm-t3517.c               |  337 ----
 arch/arm/mach-omap2/board-devkit8000.c             |  655 -------
 arch/arm/mach-omap2/board-ldp.c                    |  425 ----
 arch/arm/mach-omap2/board-omap3beagle.c            |  596 ------
 arch/arm/mach-omap2/board-omap3logic.c             |  251 ---
 arch/arm/mach-omap2/board-omap3pandora.c           |  630 ------
 arch/arm/mach-omap2/board-omap3stalker.c           |  438 -----
 arch/arm/mach-omap2/board-omap3touchbook.c         |  396 ----
 arch/arm/mach-omap2/board-overo.c                  |  572 ------
 arch/arm/mach-omap2/board-rx51-peripherals.c       | 1323 -------------
 arch/arm/mach-omap2/board-rx51-video.c             |   67 -
 arch/arm/mach-omap2/board-rx51.c                   |  142 --
 arch/arm/mach-omap2/board-ti8168evm.c              |   62 -
 arch/arm/mach-omap2/common-board-devices.h         |    2 -
 arch/arm/mach-omap2/common.h                       |    9 -
 arch/arm/mach-omap2/devices.c                      |    2 -
 arch/arm/mach-omap2/dss-common.c                   |    1 -
 arch/arm/mach-omap2/hsmmc.c                        |  518 -----
 arch/arm/mach-omap2/i2c.c                          |   97 -
 arch/arm/mach-omap2/io.c                           |    1 -
 arch/arm/mach-omap2/msdi.c                         |    1 -
 arch/arm/mach-omap2/mux.c                          | 1161 -----------
 arch/arm/mach-omap2/mux.h                          |  355 ----
 arch/arm/mach-omap2/mux34xx.c                      | 2061 --------------------
 arch/arm/mach-omap2/mux34xx.h                      |  402 ----
 arch/arm/mach-omap2/omap_hwmod.c                   |  160 +-
 .../omap_hwmod_2xxx_3xxx_interconnect_data.c       |  134 +-
 .../mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c |  201 +-
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c         |  833 +-------
 arch/arm/mach-omap2/omap_twl.c                     |  314 ---
 arch/arm/mach-omap2/pm.c                           |  161 +-
 arch/arm/mach-omap2/serial.c                       |  335 ----
 arch/arm/mach-omap2/twl-common.c                   |  570 ------
 arch/arm/mach-omap2/twl-common.h                   |   66 -
 arch/arm/mach-omap2/usb-host.c                     |  496 -----
 arch/arm/mach-omap2/usb-musb.c                     |  114 --
 arch/arm/mach-omap2/usb-tusb6010.c                 |   21 -
 arch/arm/plat-omap/Makefile                        |    3 -
 arch/arm/plat-omap/i2c.c                           |  116 --
 46 files changed, 136 insertions(+), 16055 deletions(-)
 delete mode 100644 arch/arm/mach-omap2/board-3430sdp.c
 delete mode 100644 arch/arm/mach-omap2/board-am3517crane.c
 delete mode 100644 arch/arm/mach-omap2/board-am3517evm.c
 delete mode 100644 arch/arm/mach-omap2/board-cm-t35.c
 delete mode 100644 arch/arm/mach-omap2/board-cm-t3517.c
 delete mode 100644 arch/arm/mach-omap2/board-devkit8000.c
 delete mode 100644 arch/arm/mach-omap2/board-ldp.c
 delete mode 100644 arch/arm/mach-omap2/board-omap3beagle.c
 delete mode 100644 arch/arm/mach-omap2/board-omap3logic.c
 delete mode 100644 arch/arm/mach-omap2/board-omap3pandora.c
 delete mode 100644 arch/arm/mach-omap2/board-omap3stalker.c
 delete mode 100644 arch/arm/mach-omap2/board-omap3touchbook.c
 delete mode 100644 arch/arm/mach-omap2/board-overo.c
 delete mode 100644 arch/arm/mach-omap2/board-rx51-peripherals.c
 delete mode 100644 arch/arm/mach-omap2/board-rx51-video.c
 delete mode 100644 arch/arm/mach-omap2/board-rx51.c
 delete mode 100644 arch/arm/mach-omap2/board-ti8168evm.c
 delete mode 100644 arch/arm/mach-omap2/hsmmc.c
 delete mode 100644 arch/arm/mach-omap2/mux.c
 delete mode 100644 arch/arm/mach-omap2/mux.h
 delete mode 100644 arch/arm/mach-omap2/mux34xx.c
 delete mode 100644 arch/arm/mach-omap2/mux34xx.h
 delete mode 100644 arch/arm/mach-omap2/omap_twl.c
 delete mode 100644 arch/arm/mach-omap2/serial.c
 delete mode 100644 arch/arm/mach-omap2/twl-common.c
 delete mode 100644 arch/arm/mach-omap2/twl-common.h
 delete mode 100644 arch/arm/mach-omap2/usb-host.c
 delete mode 100644 arch/arm/mach-omap2/usb-musb.c
 delete mode 100644 arch/arm/plat-omap/i2c.c
Signature · 1 line
1.8.1.1