]> git.baikalelectronics.ru Git - kernel.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)
commit47c1153e31c8bae21c7563fe6bed2df86cbd0589
tree598002d441de9e8d044d971af0b96a6eefc166b5
parentca05cc630421453af0ffb491ef4e1edede364cd4
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