]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pwm: Add kernel doc for members added to pwm_ops recently
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 1 Oct 2024 08:51:39 +0000 (10:51 +0200)
committerUwe Kleine-König <ukleinek@kernel.org>
Tue, 1 Oct 2024 19:48:26 +0000 (21:48 +0200)
The callbacks for lowlevel pwm drivers were expanded to handle the new
waveform abstraction. When doing that I missed to expand the kernel doc
description. This is catched up here.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/linux-next/20241001135207.125ca7af@canb.auug.org.au
Fixes: 17e40c25158f ("pwm: New abstraction for PWM waveforms")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20241001085138.1025818-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
include/linux/pwm.h

index c3d9ddeafa65e1d23515c6a017fe4c0e1b49ad32..f1cb1e5b0a36955b2b495ed71b27f41058ab451d 100644 (file)
@@ -276,6 +276,11 @@ struct pwm_capture {
  * @request: optional hook for requesting a PWM
  * @free: optional hook for freeing a PWM
  * @capture: capture and report PWM signal
+ * @sizeof_wfhw: size (in bytes) of driver specific waveform presentation
+ * @round_waveform_tohw: convert a struct pwm_waveform to driver specific presentation
+ * @round_waveform_fromhw: convert a driver specific waveform presentation to struct pwm_waveform
+ * @read_waveform: read driver specific waveform presentation from hardware
+ * @write_waveform: write driver specific waveform presentation to hardware
  * @apply: atomically apply a new PWM config
  * @get_state: get the current PWM state.
  */