summaryrefslogtreecommitdiff
path: root/Documentation/zh_CN/SubmittingDrivers
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-01-09 20:33:16 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-01-10 23:13:37 +0100
commitc1177831f5a1fd3ee9e5c3f9567526a5d62d5d78 (patch)
treedb6044d1309639dc5f88daa38735d52676f9ea12 /Documentation/zh_CN/SubmittingDrivers
parentd9eda7f14320c450990004ed1db409d35eb50929 (diff)
With /sys/class/pwm a more versatile interface to pwm exists now. e.g. configure a 1kHz 25% on PWM<C>: (period and duty cycle in nano seconds) $ cd /sys/class/pwm/pwmchip3 $ echo 0 > export $ echo 1000000 > pwm0/period $ echo 250000 > pwm0/duty_cycle $ echo 1 > pwm0/enable Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'Documentation/zh_CN/SubmittingDrivers')
0 files changed, 0 insertions, 0 deletions