HomeFreeBSD

usr.sbin/pwm/pwm add support for flags

Description

usr.sbin/pwm/pwm add support for flags

The pwm utility cant set the only flag defined (PWM_POLARITY_INVERTED) so this
patch add the option -I (capital letter i) to send it to the drivers.

None of existing PWM driver have implemented support for flags.
But soon:ish I will put up an review of a pwm driver using TI OMAP DMTimer.

Differential Revision: https://reviews.freebsd.org/D29137
MFC after: 2 weeks

(cherry picked from commit 17b14d8f7733d39397ae5fc104547e358f5f7ddf)

Details

Provenance
oskar.holmlund_ohdata.seAuthored on Mar 11 2021, 8:55 AM
manuCommitted on Jul 22 2021, 4:39 PM
Differential Revision
D29137: usr.sbin/pwm/pwm add support for flags
Parents
rG5c11eddf9578: share/man/man9/pwmbus.9 fix types in arguments
Branches
Unknown
Tags
Unknown