aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-09-20 08:57:59 +0000
committerUwe Kleine-König <[email protected]>2024-09-28 13:13:56 +0000
commit6c5126c6406d1c31e91f5b925c621c1c785366be (patch)
tree3c47ebdac5843ddc44f4200e420ce5ada24a6f34 /drivers/pwm/pwm-stm32.c
parentpwm: New abstraction for PWM waveforms (diff)
downloadkernel-6c5126c6406d1c31e91f5b925c621c1c785366be.tar.gz
kernel-6c5126c6406d1c31e91f5b925c621c1c785366be.zip
pwm: Provide new consumer API functions for waveforms
Provide API functions for consumers to work with waveforms. Note that one relevant difference between pwm_get_state() and pwm_get_waveform*() is that the latter yields the actually configured hardware state, while the former yields the last state passed to pwm_apply*() and so doesn't account for hardware specific rounding. Signed-off-by: Uwe Kleine-König <[email protected]> Tested-by: Trevor Gamblin <[email protected]> Link: https://lore.kernel.org/r/6c97d27682853f603e18e9196043886dd671845d.1726819463.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions