mbox series

[0/1] clk-pwm: show duty cycle in debugfs

Message ID 20190525184253.3088-1-martin.blumenstingl@googlemail.com (mailing list archive)
Headers show
Series clk-pwm: show duty cycle in debugfs | expand

Message

Martin Blumenstingl May 25, 2019, 6:42 p.m. UTC
This is a patch that I had lying around in my tree for a while. I was
planning to use it back when I was debugging CPU clock issues on
Meson8b a while ago but it turned out that PWM was not related to that.

Feel free to apply or drop this patch, depending on whether it might or
might not be useful for anyone.

I have successfully tested it with the 32.768kHz LPO clock for the SDIO
wifi chipset on my Khadas VIM (Amlogic Meson GXL SoC):
  wifi32k  [...]  32768  [...]  50000


Martin Blumenstingl (1):
  clk: pwm: implement the .get_duty_cycle callback

 drivers/clk/clk-pwm.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)