diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-01-09 20:33:16 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-10 23:13:37 +0100 |
commit | c1177831f5a1fd3ee9e5c3f9567526a5d62d5d78 (patch) | |
tree | db6044d1309639dc5f88daa38735d52676f9ea12 /Documentation/zh_CN/SubmittingDrivers | |
parent | d9eda7f14320c450990004ed1db409d35eb50929 (diff) |
apalis imx6 dt: don't configure pwmledsColibri_iMX7_LinuxImageV2.7Beta1_20170112Colibri_iMX6_LinuxImageV2.7Beta1_20170112Apalis_iMX6_LinuxImageV2.7Beta1_20170112
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