]> git.karo-electronics.de Git - linux-beck.git/commit
pwm: Add information about polarity, duty cycle and period to debugfs
authorHeiko Stübner <heiko@sntech.de>
Thu, 14 Apr 2016 19:17:44 +0000 (21:17 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 17 May 2016 12:48:05 +0000 (14:48 +0200)
commit23e3523f5d3a980edf7f189743cf4bb9490400a9
tree598002d441de9e8d044d971af0b96a6eefc166b5
parent39100ceea79ff2efeb2fb094baf120c73d5ccf47
pwm: Add information about polarity, duty cycle and period to debugfs

The PWM states make it possible to also output the polarity, duty cycle
and period information in the debugfs summary output. This simplifies
gathering information about PWMs without needing to walk through the
sysfs attributes of every PWM.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[thierry.reding@gmail.com: use more spaces in debugfs output]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c