Yuri Pankov
d70ad055e0
pwm.8: fix markup in synopsis, add -f description
...
Reviewed by: bcr, manu
Differential revision: https://reviews.freebsd.org/D18829
2019-02-06 04:00:37 +00:00
Emmanuel Vadot
50a123aad8
pwm(8): Add percentage value support for duty cycle
2018-12-14 18:38:10 +00:00
Emmanuel Vadot
6a9997ed67
pwm: Convert period and duty to unsigned int
...
We don't need a 64 bits value to store nanoseconds
Discused with: ian, jhibbits
2018-12-14 18:37:26 +00:00
Emmanuel Vadot
d9848bd254
pwm: Fix some arches by using %ju and casting to uintmax_t
...
Reported by: ci.freebsd.org
2018-12-12 21:25:52 +00:00
Emmanuel Vadot
9312900f6d
Add a pwm subsystem so we can configure pwm controller from kernel and userland.
...
The pwm subsystem consist of API for PWM controllers, pwmbus to register them
and a pwm(8) utility to talk to them from userland.
Reviewed by: oshgobo (capsicum), bcr (manpage), 0mp (manpage)
Differential Revision: https://reviews.freebsd.org/D17938
2018-12-12 20:56:56 +00:00