diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-07-29 12:36:04 +0200 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@kernel.org> | 2025-09-15 11:39:46 +0200 |
commit | ce1116446098e183720ac529217889c88b964e0f (patch) | |
tree | e641c9593ed7e15a4233da637061edfcd9e3e9ce /rust/helpers/processor.c | |
parent | 42f18ae36f3f262683739fed5fff9342a6954914 (diff) |
pwm: pca9586: Convert to waveform API
This allows to expose the duty_offset feature that the chip supports, and
so also emit inverted polarity waveforms. The conversion from a waveform to
hardware settings (and vice versa) is aligned to the usual rounding rules
silencing warnings with PWM_DEBUG.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/1927d115ae6797858e6c4537971dacf1d563854f.1753784092.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions