summaryrefslogtreecommitdiff
path: root/arch/tile/gxio
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-01-09 20:03:33 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-01-10 23:13:36 +0100
commitd9eda7f14320c450990004ed1db409d35eb50929 (patch)
tree173121f7005776d5feddbf24b230631633b46b88 /arch/tile/gxio
parent4aa67da3629424ff6c27ee5b2b3d48b3fc84dae3 (diff)
colibri imx6 dt: don't configure pwmleds
With /sys/class/pwm a more versatile interface to pwm exists now. PWM<A>: pwmchip3 export 0 PWM<B>: pwmchip1 export 0 PWM<C>: pwmchip4 export 0 PWM<B>: pwmchip2 export 0 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 'arch/tile/gxio')
0 files changed, 0 insertions, 0 deletions