Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt: pwm: add support for specifying frequency in Hz and kHz
Add a pair of dt macros for specifying the pwm frequency in hertz or kilohertz: PWM_HZ and PWM_KHZ. This is then converted in period nanoseconds so it works as expected with the other definitions. Signed-off-by: Fabio Baltieri <[email protected]>
- Loading branch information