commit | 4c34282fb7d7a1d47a4d901554b574ea6b256cd5 | [log] [tgz] |
---|---|---|
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | Sat May 25 20:42:53 2019 +0200 |
committer | Stephen Boyd <sboyd@kernel.org> | Thu Jun 06 11:31:03 2019 -0700 |
tree | a128f2fe524687e0645927e65ba28dab85777d88 | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 [diff] |
clk: pwm: implement the .get_duty_cycle callback Commit 9fba738a53dda2 ("clk: add duty cycle support") added support for getting and setting the duty cycle of a clock. This implements the get_duty_cycle callback for PWM based clocks so the duty cycle is shown in the debugfs output (/sys/kernel/debug/clk/clk_summary). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>