Skip to content

Clean-up timer-ti-dm a bit

Tony Lindgren linux-arm-kernel linux-omap lkml 1 version Applied

Status from this message: applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9clocksource/drivers/timer-ti-dm: Drop unused functionsdrivers/clocksource/timer-ti-dm.c include/clocksource/timer-ti-dm.h+0 -581 reply
2/9clocksource/drivers/timer-ti-dm: Simplify register reads with dmtimer_read()drivers/clocksource/timer-ti-dm.c+40 -480 replies
3/9clocksource/drivers/timer-ti-dm: Simplify register writes with dmtimer_write()drivers/clocksource/timer-ti-dm.c+44 -540 replies
4/9clocksource/drivers/timer-ti-dm: Simplify register access furtherdrivers/clocksource/timer-ti-dm.c include/clocksource/timer-ti-dm.h+17 -170 replies
5/9clocksource/drivers/timer-ti-dm: Move private defines to the driverdrivers/clocksource/timer-ti-dm.c include/clocksource/timer-ti-dm.h+62 -620 replies
6/9clocksource/drivers/timer-ti-dm: Use runtime PM directly and check errorsdrivers/clocksource/timer-ti-dm.c+91 -260 replies
7/9clocksource/drivers/timer-ti-dm: Move struct omap_dm_timer fields to driverdrivers/clocksource/timer-ti-dm.c include/clocksource/timer-ti-dm.h+170 -910 replies
8/9clocksource/drivers/timer-ti-dm: Add flag to detect omap1drivers/clocksource/timer-ti-dm.c+6 -30 replies
9/9clocksource/drivers/timer-ti-dm: Get clock in probe with devm_clk_get()drivers/clocksource/timer-ti-dm.c+9 -150 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJanusz Krzysztofik
SeriesR-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Clean-up timer-ti-dm a bit

Hi all,

This series of changes cleans up timer-ti-dm a bit. After this series we can start replacing the custom PWM related functions with standard Linux frameworks and use things like clk_set_duty_cycle().

I have only tested this on K3 and omap2+ devices, I don't have any omap1 devices online right now. Aaro & Janusz, if you could give this series a quick boot test for omap1 that would be great.

The patches are against v6.0-rc1.

Regards,

Tony

Tony Lindgren (9):
clocksource/drivers/timer-ti-dm: Drop unused functions clocksource/drivers/timer-ti-dm: Simplify register reads with
dmtimer_read()
clocksource/drivers/timer-ti-dm: Simplify register writes with
dmtimer_write()
clocksource/drivers/timer-ti-dm: Simplify register access further clocksource/drivers/timer-ti-dm: Move private defines to the driver clocksource/drivers/timer-ti-dm: Use runtime PM directly and check
errors
clocksource/drivers/timer-ti-dm: Move struct omap_dm_timer fields to
driver
clocksource/drivers/timer-ti-dm: Add flag to detect omap1 clocksource/drivers/timer-ti-dm: Get clock in probe with

    devm_clk_get()
 drivers/clocksource/timer-ti-dm.c | 681 +++++++++++++++++++-----------
 include/clocksource/timer-ti-dm.h | 112 -----
 2 files changed, 429 insertions(+), 364 deletions(-)
Signature · 1 line
2.37.1