Skip to content

Commit dab9cd4

Browse files
ukleinekUwe Kleine-König
authored andcommitted
pwm: Add kernel doc for members added to pwm_ops recently
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: 17e40c2 ("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]>
1 parent 65406de commit dab9cd4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/linux/pwm.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ struct pwm_capture {
276276
* @request: optional hook for requesting a PWM
277277
* @free: optional hook for freeing a PWM
278278
* @capture: capture and report PWM signal
279+
* @sizeof_wfhw: size (in bytes) of driver specific waveform presentation
280+
* @round_waveform_tohw: convert a struct pwm_waveform to driver specific presentation
281+
* @round_waveform_fromhw: convert a driver specific waveform presentation to struct pwm_waveform
282+
* @read_waveform: read driver specific waveform presentation from hardware
283+
* @write_waveform: write driver specific waveform presentation to hardware
279284
* @apply: atomically apply a new PWM config
280285
* @get_state: get the current PWM state.
281286
*/

0 commit comments

Comments
 (0)