Skip to content
Commit 82634eda authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Maureen Helm
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 1e02dd0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment