diff options
author | Olivier Moysan <olivier.moysan@foss.st.com> | 2022-12-13 13:27:07 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-04-06 17:35:01 +0300 |
commit | d0a4564bd024eaa81cab8c7255e7c44230bdd8a2 (patch) | |
tree | b40d147bb43e000c7fd0d5f401e8a9283d60f177 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | de614ac31955fe20f71021fd5f4a9a811e90028f (diff) | |
download | linux-d0a4564bd024eaa81cab8c7255e7c44230bdd8a2.tar.xz |
pwm: stm32: Enforce settings for PWM capture
The PWM capture assumes that the input selector is set to default
input and that the slave mode is disabled. Force reset state for
TISEL and SMCR registers to match this requirement.
Note that slave mode disabling is not a pre-requisite by itself
for capture mode, as hardware supports it for PWM capture.
However, the current implementation of the driver does not
allow slave mode for PWM capture. Setting slave mode for PWM
capture results in wrong capture values.
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Acked-by: Lee Jones <lee@kernel.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions