]> Git Repo - linux.git/commitdiff
pwm: Add kernel doc for members added to pwm_ops recently
authorUwe Kleine-König <[email protected]>
Tue, 1 Oct 2024 08:51:39 +0000 (10:51 +0200)
committerUwe Kleine-König <[email protected]>
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 <[email protected]>
Link: https://lore.kernel.org/linux-next/[email protected]
Fixes: 17e40c25158f ("pwm: New abstraction for PWM waveforms")
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
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.
  */
This page took 0.063925 seconds and 4 git commands to generate.