diff options
| author | Scott Mertz <scott@cyngn.com> | 2015-08-04 02:25:19 -0700 |
|---|---|---|
| committer | Davide Garberi <dade.garberi@gmail.com> | 2022-07-27 18:59:13 +0200 |
| commit | 7ad4a0faea6e754998445f7e60c96978cd470f51 (patch) | |
| tree | d64b25fb4d52d6bc5e65753522a9e4a063db0005 /include/linux | |
| parent | efb319f45fa406136049ecc69b1b2350b7fb6c73 (diff) | |
pwm: qpnp-pwm: add api for synchronous enable of pwms
Change-Id: Ibe4d8f8f8c9dbb89434cd633a049bd9e216af6f4
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/qpnp/pwm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/qpnp/pwm.h b/include/linux/qpnp/pwm.h index 782b7849da4a..6ade2d7ec001 100644 --- a/include/linux/qpnp/pwm.h +++ b/include/linux/qpnp/pwm.h @@ -195,6 +195,11 @@ static inline int pwm_enable_synchronized(struct pwm_device **pwms, size_t num) } #endif +/* + * synchronized enable of multiple pwm instances + */ +int pwm_enable_synchronized(struct pwm_device **pwms, size_t num); + /* Standard APIs supported */ /* * pwm_request - request a PWM device |
