Skip to content

omap changes to allocate struct omap_hwmod dynamically

Tony Lindgren linux-arm-kernel linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: OMAP2+: Fix potentially uninitialized return value for _setup_reset()arch/arm/mach-omap2/omap_hwmod.c+1 -10 replies
2/7ARM: OMAP2+: Make interconnect target module allocation functions staticarch/arm/mach-omap2/omap_hwmod.c+16 -140 replies
3/7ARM: OMAP2+: Prepare class allocation for dynamically allocated modulesarch/arm/mach-omap2/omap_hwmod.c+10 -80 replies
4/7ARM: OMAP2+: Define _HWMOD_STATE_DEFAULT and use itarch/arm/mach-omap2/io.c arch/arm/mach-omap2/omap_hwmod.h+7 -60 replies
5/7ARM: OMAP2+: Allocate struct omap_hwmod based on dts dataarch/arm/mach-omap2/omap_hwmod.c+78 -40 replies
6/7ARM: OMAP2+: Remove hwmod .rev data and use local SoC checks insteadarch/arm/mach-omap2/i2c.c arch/arm/mach-omap2/omap_hwmod.h arch/arm/mach-omap2/omap_hwmod_2420_data.c +9 more+7 -310 replies
7/7ARM: OMAP2+: Handle reset quirks for dynamically allocated modulesarch/arm/mach-omap2/common.h arch/arm/mach-omap2/omap_hwmod.c arch/arm/mach-omap2/omap_hwmod_7xx_data.c+80 -13 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] omap changes to allocate struct omap_hwmod dynamically

Hi all,

With ti-sysc interconnect target module, and clkctrl clock driver, we can start allocating struct omap_hwmod dynamically from dts and configure devices at module_init time. Here's a series of changes to prepare the hwmod code for that.

Note that we also still need related changes to the ti-sysc interconnect target module driver that I'll post separately.

Regards,

Tony

Tony Lindgren (7):
ARM: OMAP2+: Fix potentially uninitialized return value for

    _setup_reset()

ARM: OMAP2+: Make interconnect target module allocation functions
static
ARM: OMAP2+: Prepare class allocation for dynamically allocated
modules
ARM: OMAP2+: Define _HWMOD_STATE_DEFAULT and use it
ARM: OMAP2+: Allocate struct omap_hwmod based on dts data
ARM: OMAP2+: Remove hwmod .rev data and use local SoC checks instead
ARM: OMAP2+: Handle reset quirks for dynamically allocated modules

 arch/arm/mach-omap2/common.h                  |   9 +
 arch/arm/mach-omap2/i2c.c                     |  11 +-
 arch/arm/mach-omap2/io.c                      |   7 +-
 arch/arm/mach-omap2/omap_hwmod.c              | 200 +++++++++++++++---
 arch/arm/mach-omap2/omap_hwmod.h              |   8 +-
 arch/arm/mach-omap2/omap_hwmod_2420_data.c    |   1 -
 arch/arm/mach-omap2/omap_hwmod_2430_data.c    |   1 -
 .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c |   1 -
 .../omap_hwmod_33xx_43xx_ipblock_data.c       |   2 -
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c    |   4 -
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c    |   3 -
 arch/arm/mach-omap2/omap_hwmod_54xx_data.c    |   2 -
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c     |   7 +-
 arch/arm/mach-omap2/omap_hwmod_81xx_data.c    |   1 -
 arch/arm/mach-omap2/sr_device.c               |   5 +-
 15 files changed, 198 insertions(+), 64 deletions(-)
Signature · 1 line
2.21.0