OMAP: DMTIMER: Convert platform driver so as to make use of hwmod + omap device framework for OMAP2 PLUS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | OMAP: Convert dual mode timer into a platform driver.arch/ arch/ | +176 | 1 reply | |
| 2/9 | OMAP1: Dual mode timer device registration.arch/ arch/ arch/ | +149 | 0 replies | |
| 3/9 | OMAP2/3/4 : Dual mode timer device registration.arch/ arch/ arch/ +1 more | +355 | 5 replies | |
| 4/9 | OMAP2: Support for early device registrationarch/ | +16 | 1 reply | |
| 5/9 | OMAP2/3/4: Adding device names to dmtimer fclk nodesarch/ arch/ arch/ +1 more | +46 | 0 replies | |
| 6/9 | OMAP3: Add hwmod data for OMAP3 dual mode timers.arch/ | +571 | 0 replies | |
| 7/9 | OMAP2: Add hwmod data for OMAP2420 dual mode timers.arch/ | +618 | 0 replies | |
| 8/9 | OMAP2: Add hwmod data for OMAP2430 dual mode timers.arch/ | +618 | 0 replies | |
| 9/9 | OMAP4: Changing dmtimer1 fclk namearch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] OMAP: DMTIMER: Convert platform driver so as to make use of hwmod + omap device framework for OMAP2 PLUS
This patch series converts the OMAP Dual Mode Timer into a platform driver. This involves using of hwmod structures and omap_device layer for OMAP2/3/4 dmtimers and generic linux platform device layer for OMAP1.
As a result of this patch series the dmtimer platform driver resides in arch/arm/plat-omap directory and arch specific implementations and device registerations reside in arch/arm/mach-omap1 and arch/arm/mach-omap2 for OMAP1 and OMAP2 PLUS respectively.
This patch series has been compile tested for OMAP1 using omap_1610_h2_defconfig, compile tested for OMAP2 using omap3_defconfig and boot and sanity tested for OMAP3/OMAP4 again using omap3_defconfig. Boot testing has been done on OMAP3430 SDP and OMAP4430 SDP boards. All testing has been done on origin/origin/pm-wip/hwmods-omap4 branch off Kevin Hilman's tree as these patches have dependencies on runtime pm API's and OMAP4 autogenerated hwmod data base.
It would be great if somebody could test these patches on OMAP1 and OMAP2 platforms.
Thara Gopinath (9):
OMAP: Convert dual mode timer into a platform driver.
OMAP1: Dual mode timer device registration. OMAP2/3/4 : Dual mode timer device registration.
OMAP2: Support for early device registration OMAP2/3/4: Adding device names to dmtimer fclk nodes
OMAP3: Add hwmod data for OMAP3 dual mode timers.
OMAP2: Add hwmod data for OMAP2420 dual mode timers.
OMAP2: Add hwmod data for OMAP2430 dual mode timers.
OMAP4: Changing dmtimer1 fclk name
arch/arm/mach-omap1/Makefile | 1 + arch/arm/mach-omap1/dmtimers.c | 148 +++++++ arch/arm/mach-omap1/timer32k.c | 3 - arch/arm/mach-omap2/Makefile | 3 +- arch/arm/mach-omap2/clock2420_data.c | 24 +- arch/arm/mach-omap2/clock2430_data.c | 24 +- arch/arm/mach-omap2/clock3xxx_data.c | 22 +- arch/arm/mach-omap2/clock44xx_data.c | 24 +- arch/arm/mach-omap2/dmtimers.c | 296 +++++++++++++ arch/arm/mach-omap2/dmtimers.h | 57 +++ arch/arm/mach-omap2/io.c | 16 + arch/arm/mach-omap2/omap_hwmod_2420_data.c | 619 +++++++++++++++++++++++++++- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 619 +++++++++++++++++++++++++++- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 572 +++++++++++++++++++++++++- arch/arm/mach-omap2/timer-gp.c | 2 - arch/arm/plat-omap/dmtimer.c | 401 ++++++++----------- arch/arm/plat-omap/include/plat/dmtimer.h | 12 +- 17 files changed, 2550 insertions(+), 293 deletions(-) create mode 100644 arch/arm/mach-omap1/dmtimers.c create mode 100644 arch/arm/mach-omap2/dmtimers.c create mode 100644 arch/arm/mach-omap2/dmtimers.h