]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/timer-ti-dm: Add support to get pwm current status
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 5 Mar 2020 08:27:14 +0000 (13:57 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 16 Mar 2020 11:40:42 +0000 (12:40 +0100)
commit3ad7bdf244d678fe72d74f16fddbca687f7c8bf8
tree70a100e6612405f9d6ef62770c2c46a465e3620b
parent440e337978f2257a01711544bec7bc45b2615cac
clocksource/drivers/timer-ti-dm: Add support to get pwm current status

omap_dm_timer_ops provide support to configure the pwm but there is no
support to get the current status. For configuring pwm it is advised to
check the current hw status instead of relying on pwm framework. So
implement a new timer ops to get the current status of pwm.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Tony Lindgen <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200305082715.15861-6-lokeshvutla@ti.com
drivers/clocksource/timer-ti-dm.c
include/linux/platform_data/dmtimer-omap.h