aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLokesh Vutla <[email protected]>2020-03-12 04:22:08 +0000
committerThierry Reding <[email protected]>2020-03-30 16:03:07 +0000
commit867beb60d131f7a5cde88ba375338285fdc6ddb8 (patch)
tree4d4f2a8f396989c859611fe915829a1f25e5bb49 /tools/perf/scripts/python/check-perf-trace.py
parentpwm: omap-dmtimer: Update description for PWM OMAP DM timer (diff)
downloadkernel-867beb60d131f7a5cde88ba375338285fdc6ddb8.tar.gz
kernel-867beb60d131f7a5cde88ba375338285fdc6ddb8.zip
pwm: omap-dmtimer: Fix PWM enabling sequence
To configure DM timer in PWM mode the following needs to be set in OMAP_TIMER_CTRL_REG using set_pwm callback: - Set toggle mode on PORTIMERPWM output pin - Set trigger on overflow and match on PORTIMERPWM output pin. - Set auto reload This is a one time configuration and needs to be set before the start of the DM timer. But the current driver tries to set the same configuration for every period/duty cycle update, which is not needed. So move the PWM setup before enabling timer and do not update it in pwm_omap_dmtimer_config(). Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Lokesh Vutla <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions