mbox series

[00/10] ARM: omap2: assorted cleanups

Message ID 20221024153814.254652-1-arnd@kernel.org (mailing list archive)
Headers show
Series ARM: omap2: assorted cleanups | expand

Message

Arnd Bergmann Oct. 24, 2022, 3:38 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

While going through the removal of board files on some other
platforms, I noticed a bit of outdated code on omap2+ that
was left behind after the platform became DT only.

I can put this into the same cleanup tree as the omap1 patches,
or you can merge these into your omap2 tree if there are likely
conflicts with other patches.

Arnd Bergmann (10):
  ARM: omap2: remove unused USB code
  ARM: omap2: remove unused headers
  ARM: omap2: remove unused omap_hwmod_reset.c
  ARM: omap2: simplify clock2xxx header
  ARM: omap2: remove APLL control
  ARM: omap2: smartreflex: remove on_init control
  ARM: omap2: remove unused functions
  ARM: omap2: remove unused declarations
  ARM: omap2: remove unused omap2_pm_init
  ARM: omap2: make functions static

 arch/arm/mach-omap2/Makefile                  |   3 +-
 arch/arm/mach-omap2/board-n8x0.c              |   2 +-
 arch/arm/mach-omap2/clkt2xxx_dpllcore.c       |   1 +
 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c  |  14 +-
 arch/arm/mach-omap2/clock.c                   |   2 -
 arch/arm/mach-omap2/clock.h                   |   7 -
 arch/arm/mach-omap2/clock2xxx.h               |  29 --
 arch/arm/mach-omap2/clock3xxx.h               |  21 --
 arch/arm/mach-omap2/clockdomain.c             |  44 +--
 arch/arm/mach-omap2/clockdomain.h             |   4 -
 arch/arm/mach-omap2/cm2xxx.c                  | 101 +-----
 arch/arm/mach-omap2/cm2xxx.h                  |   7 -
 arch/arm/mach-omap2/cm2xxx_3xxx.h             |   5 -
 arch/arm/mach-omap2/common.h                  |  28 --
 arch/arm/mach-omap2/control.c                 |  73 ----
 arch/arm/mach-omap2/control.h                 |   5 -
 arch/arm/mach-omap2/id.c                      |   2 +-
 arch/arm/mach-omap2/id.h                      |   2 -
 arch/arm/mach-omap2/io.c                      |  21 +-
 arch/arm/mach-omap2/omap-secure.c             |   7 +-
 arch/arm/mach-omap2/omap-secure.h             |   3 -
 arch/arm/mach-omap2/omap_device.c             |  74 +----
 arch/arm/mach-omap2/omap_device.h             |  14 -
 arch/arm/mach-omap2/omap_hwmod.c              |  94 +-----
 arch/arm/mach-omap2/omap_hwmod.h              |  21 --
 arch/arm/mach-omap2/omap_hwmod_2420_data.c    |   1 -
 .../omap_hwmod_2xxx_3xxx_ipblock_data.c       |   2 +-
 .../omap_hwmod_2xxx_interconnect_data.c       |   1 -
 .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c |  12 +-
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c    |   1 -
 arch/arm/mach-omap2/omap_hwmod_common_data.h  |   6 -
 arch/arm/mach-omap2/omap_hwmod_reset.c        |  98 ------
 arch/arm/mach-omap2/omap_opp_data.h           |   5 -
 arch/arm/mach-omap2/omap_phy_internal.c       |  87 -----
 arch/arm/mach-omap2/pm.c                      |   8 +-
 arch/arm/mach-omap2/pm.h                      |  25 --
 arch/arm/mach-omap2/pm24xx.c                  | 312 ------------------
 arch/arm/mach-omap2/powerdomain.c             | 108 +-----
 arch/arm/mach-omap2/powerdomain.h             |   8 -
 arch/arm/mach-omap2/prcm-common.h             |   1 -
 arch/arm/mach-omap2/prcm_mpu44xx.c            |  12 -
 arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h      |   2 -
 arch/arm/mach-omap2/prm.h                     |   4 -
 arch/arm/mach-omap2/prm2xxx_3xxx.h            |   3 -
 arch/arm/mach-omap2/prm3xxx.c                 |   5 +-
 arch/arm/mach-omap2/prm3xxx.h                 |   2 -
 arch/arm/mach-omap2/prm_common.c              |  55 +--
 arch/arm/mach-omap2/sdrc.c                    |  51 +--
 arch/arm/mach-omap2/sdrc.h                    |   5 -
 arch/arm/mach-omap2/serial.h                  |  66 ----
 arch/arm/mach-omap2/sr_device.c               |  13 -
 arch/arm/mach-omap2/sram.h                    |   4 -
 arch/arm/mach-omap2/usb-tusb6010.c            |   6 +-
 arch/arm/mach-omap2/usb.h                     |  71 ----
 arch/arm/mach-omap2/vc.c                      |  15 -
 arch/arm/mach-omap2/voltage.c                 |   2 +-
 arch/arm/mach-omap2/voltage.h                 |   2 -
 drivers/soc/ti/smartreflex.c                  |   4 -
 include/linux/platform_data/voltage-omap.h    |   1 -
 include/linux/power/smartreflex.h             |   3 -
 include/linux/usb/musb.h                      |   2 -
 61 files changed, 49 insertions(+), 1538 deletions(-)
 delete mode 100644 arch/arm/mach-omap2/clock3xxx.h
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_reset.c
 delete mode 100644 arch/arm/mach-omap2/pm24xx.c
 delete mode 100644 arch/arm/mach-omap2/serial.h
 delete mode 100644 arch/arm/mach-omap2/usb.h

Comments

Tony Lindgren Oct. 25, 2022, 8:08 a.m. UTC | #1
Hi,

* Arnd Bergmann <arnd@kernel.org> [221024 15:29]:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> While going through the removal of board files on some other
> platforms, I noticed a bit of outdated code on omap2+ that
> was left behind after the platform became DT only.
> 
> I can put this into the same cleanup tree as the omap1 patches,
> or you can merge these into your omap2 tree if there are likely
> conflicts with other patches.

Nice, looks good to me. A lot off stuff has moved to drivers
over the years.

As long as you have some immutable branch I can base patches on
as needed please just go head and apply them to your branch:

Acked-by: Tony Lindgren <tony@atomide.com>
Arnd Bergmann Jan. 9, 2023, 4:08 p.m. UTC | #2
On Tue, Oct 25, 2022, at 10:08, Tony Lindgren wrote:
> * Arnd Bergmann <arnd@kernel.org> [221024 15:29]:
>> From: Arnd Bergmann <arnd@arndb.de>
>> 
>> While going through the removal of board files on some other
>> platforms, I noticed a bit of outdated code on omap2+ that
>> was left behind after the platform became DT only.
>> 
>> I can put this into the same cleanup tree as the omap1 patches,
>> or you can merge these into your omap2 tree if there are likely
>> conflicts with other patches.
>
> Nice, looks good to me. A lot off stuff has moved to drivers
> over the years.
>
> As long as you have some immutable branch I can base patches on
> as needed please just go head and apply them to your branch:
>
> Acked-by: Tony Lindgren <tony@atomide.com>

I had this on top of the board removal series, which got
delayed past 6.2 but is ready now. I've just pushed this out to 

git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git omap/omap2-cleanup

and will merge this for 6.3 soon if you don't have any
final concerns.

      Arnd