mbox series

[GIT,PULL,2/4] Update am335x to boot without platform data

Message ID pull-1606806458-694517@atomide.com-2
State New
Headers show
Series [GIT,PULL,1/4] Driver changes for omaps for genpd support | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.11/genpd-am335x-signed

Message

Tony Lindgren Dec. 1, 2020, 7:18 a.m. UTC
From: "Tony Lindgren" <tony@atomide.com>

The following changes since commit 57df7e370d2ab83a64c07acd157acfed4169f114:

  remoteproc/wkup_m3: Use reset control driver if available (2020-11-16 12:57:40 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.11/genpd-am335x-signed

for you to fetch changes up to 133ad7ab7005dc951fb66d3de9e29a8259fe9744:

  ARM: OMAP2+: Build hwmod related code as needed (2020-11-16 12:58:21 +0200)

----------------------------------------------------------------
Update am335x to boot without platform data

With the driver updates done for genpd support, we can now update
am335x dts files to boot with genpd and simple-pm-bus, and drop
the related platform data.

To do that, we need to do the following changes for am335x:

- Add the remaining power domain and reset controller instances

- Configure interconnect clocks for system timers as those are
  now managed separately by the drivers/clocksource drivers

- Update control module, RTC, gpmc, debugss, emif, ocmcram,
  instr, and mpuss for device tree data and drop the legacy
  platform data

- Update the interconnect instances to boot with gendp and
  simple-pm-bus

- Drop the remaining platform data for am335x

- Add kconfig option for OMAP_HWMOD to build it only for the
  SoCs that need it

----------------------------------------------------------------
Tero Kristo (1):
      ARM: dts: am33xx: add remaining PRM instances

Tony Lindgren (17):
      ARM: dts: Configure also interconnect clocks for am4 system timer
      ARM: OMAP2+: Drop legacy platform data for am3 control module
      ARM: dts: Configure RTC powerdomain for am3
      ARM: dts: Configure interconnect target module for am3 wkup_m3
      ARM: OMAP2+: Drop legacy platform data for am3 wkup_m3
      ARM: OMAP2+: Drop legacy platform data for am3 and am4 gpmc
      ARM: OMAP2+: Drop legacy platform data for am3 debugss
      ARM: OMAP2+: Drop legacy platform data for am3 emif
      ARM: OMAP2+: Drop legacy platform data for am3 ocmcram
      ARM: OMAP2+: Drop legacy platform data for am3 instr
      ARM: OMAP2+: Drop legacy platform data for am3 mpuss
      ARM: dts: Use simple-pm-bus for genpd for am3 l4_wkup
      ARM: dts: Use simple-pm-bus for genpd for am3 l4_fast
      ARM: dts: Use simple-pm-bus for genpd for am3 l4_per
      ARM: dts: Use simple-pm-bus for genpd for am3 l3
      ARM: OMAP2+: Drop legacy remaining legacy platform data for am3
      ARM: OMAP2+: Build hwmod related code as needed

 arch/arm/boot/dts/am335x-nano.dts                  |   1 -
 arch/arm/boot/dts/am33xx-l4.dtsi                   |  75 ++++--
 arch/arm/boot/dts/am33xx.dtsi                      | 185 ++++++++-----
 arch/arm/boot/dts/am4372.dtsi                      |  49 ++--
 arch/arm/mach-omap2/Kconfig                        |   9 +
 arch/arm/mach-omap2/Makefile                       |  14 +-
 arch/arm/mach-omap2/io.c                           |   2 -
 .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h  |   2 -
 .../omap_hwmod_33xx_43xx_interconnect_data.c       |   8 -
 .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c |  36 ---
 arch/arm/mach-omap2/omap_hwmod_33xx_data.c         | 294 ---------------------
 arch/arm/mach-omap2/omap_hwmod_43xx_data.c         |   1 -
 arch/arm/mach-omap2/pdata-quirks.c                 |  12 +-
 13 files changed, 236 insertions(+), 452 deletions(-)
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_33xx_data.c

Comments

Arnd Bergmann Dec. 9, 2020, 8:26 p.m. UTC | #1
From: Arnd Bergmann <arnd@arndb.de>

On Tue, 1 Dec 2020 09:18:47 +0200, Tony Lindgren wrote:
> The following changes since commit 57df7e370d2ab83a64c07acd157acfed4169f114:
> 
>   remoteproc/wkup_m3: Use reset control driver if available (2020-11-16 12:57:40 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.11/genpd-am335x-signed
> 
> [...]

I ended up making a top-level branch "arm/omap-genpd" for the omap
genpd changes, as they touch both code and DT files.

Merged into arm/omap-genpd, thanks!

merge commit: d36edb048f48babb3fbf9a4b249df115b7fab152

       Arnd