aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2018-05-16 09:35:58 +0200
committerLee Jones <[email protected]>2018-05-16 09:10:53 +0100
commit53e38fe73f941291fd20794c15c3bb7b104a4a17 (patch)
tree948500fb0d45d578e1d01a16ae367bed38d51076 /tools/perf/scripts/python/call-graph-from-sql.py
parent0c6609805b638debcb7d9d44556546b043ded2e9 (diff)
pwm: stm32: Add capture support
Add support for PMW input mode on pwm-stm32. STM32 timers support period and duty cycle capture as long as they have at least two PWM channels. One capture channel is used for period (rising-edge), one for duty-cycle (falling-edge). When there's only one channel available, only period can be captured. Duty-cycle is simply zero'ed in such a case. Capture requires exclusive access (e.g. no pwm output running at the same time, to protect common prescaler). Timer DMA burst mode (from MFD core) is being used, to take two snapshots of capture registers (upon each period rising edge). Signed-off-by: Fabrice Gasnier <[email protected]> Reviewed-by: Benjamin Gaignard <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions