aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-imx-gpt.c
diff options
context:
space:
mode:
authorLokesh Vutla <[email protected]>2020-02-24 05:07:53 +0000
committerDaniel Lezcano <[email protected]>2020-02-27 09:26:23 +0000
commit6ce4fcb015a1a1290ffafcf3554901b40f9322df (patch)
treef75d52ced400a814c340094331f0629895d15678 /drivers/clocksource/timer-imx-gpt.c
parentclocksource/drivers/owl: Improve owl_timer_init fail messages (diff)
downloadkernel-6ce4fcb015a1a1290ffafcf3554901b40f9322df.tar.gz
kernel-6ce4fcb015a1a1290ffafcf3554901b40f9322df.zip
clocksource/drivers/timer-ti-dm: Do not update counter on updating the period
Write to trigger register(OMAP_TIMER_TRIGGER_REG) will load the value in Load register(OMAP_TIMER_LOAD_REG) into Counter register (OMAP_TIMER_COUNTER_REG). omap_dm_timer_set_load() writes into trigger register every time load register is updated. When timer is configured in pwm mode, this causes disruption in current pwm cycle, which is not expected especially when pwm is used as PPS signal for synchronized PTP clocks. So do not write into trigger register on updating the period. Signed-off-by: Lokesh Vutla <[email protected]> Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/clocksource/timer-imx-gpt.c')
0 files changed, 0 insertions, 0 deletions