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

From: Martin Blumenstingl
Date: Sat May 25 2019 - 14:46:09 EST


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(+)

--
2.21.0