summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-09-20 11:57:59 +0300
committerUwe Kleine-König <ukleinek@kernel.org>2024-09-28 16:13:56 +0300
commit6c5126c6406d1c31e91f5b925c621c1c785366be (patch)
tree3c47ebdac5843ddc44f4200e420ce5ada24a6f34 /drivers/pwm/pwm-stm32.c
parent17e40c25158f2505cbcdeda96624afcbab4af368 (diff)
downloadlinux-6c5126c6406d1c31e91f5b925c621c1c785366be.tar.xz
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 <u.kleine-koenig@baylibre.com> Tested-by: Trevor Gamblin <tgamblin@baylibre.com> Link: https://lore.kernel.org/r/6c97d27682853f603e18e9196043886dd671845d.1726819463.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions