RFC arm: omap2+: hwmod: Allow hwmods to share same modulemode register filed
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC Latest2 patches 2 repliesIn review
Changes in v2 from the cover letter
- The OMAP4 PRCM hwmod flag to show that this hwmod is shared was found redundant, and therefore, removed.
- Some of the struct names are shortened, and members are named more appropriately.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ARM: OMAP2+: hwmod: Add refcounting for modulemode shared by multiple hwmodsarch/ arch/ | +133 | 2 replies | |
| 1/2 | arm: omap2+: hwmod: Add refcounting for modulemode shared by multiple hwmodsarch/ arch/ | +153 | 0 replies | |
| 2/2 | ARM: OMAP5: hwmod data: Make DSS hwmods share MODULEMODE fieldsarch/ | +33 | 0 replies | |
| 2/2 | arm: omap5 hwmod data: Example: Make DSS hwmods share MODULEMODE fieldsarch/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC v2 0/2] arm: omap2+: hwmod: Allow hwmods to share same modulemode register filed
IP blocks within a clock domain generally come with their own CM_X_CLKCTRL registers, each having it's own MODULEMODE field to manage the module. This is not the case for DSS, though. DSS contains contains sub modules, each of which are represented by hwmods, but DSS itself has only one register CM_DSS_DSS_CLKCTRL.
Add a way to allow multiple hwmods to share the same MODULEMODE fiels. This means that MODULEMODE operation should be disabled only when the last hwmod using it is disabled.
Changes in v2:
- The OMAP4 PRCM hwmod flag to show that this hwmod is shared was found redundant, and therefore, removed.
- Some of the struct names are shortened, and members are named more appropriately.
Archit Taneja (2):
arm: omap2+: hwmod: Add refcounting for modulemode shared by multiple
hwmods
arm: omap5 hwmod data: Example: Make DSS hwmods share MODULEMODE
fields
arch/arm/mach-omap2/omap_hwmod.c | 145 +++++++++++++++++++++++++---- arch/arm/mach-omap2/omap_hwmod.h | 35 +++++-- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 40 +++++--- 3 files changed, 180 insertions(+), 40 deletions(-)
Signature · 1 line
1.9.1