Skip to content

clk: pwm: A few improvements

Uwe Kleine-König linux-clk linux-pwm 1 version Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4clk: pwm: Let .get_duty_cycle() return the real duty cycledrivers/clk/clk-pwm.c+4 -11 reply
2/4clk: pwm: Convert to use pwm_apply_might_sleep()drivers/clk/clk-pwm.c+9 -71 reply
3/4clk: pwm: Don't reconfigure running PWM at probe timedrivers/clk/clk-pwm.c+0 -61 reply
4/4clk: pwm: Make use of non-sleeping PWMsdrivers/clk/clk-pwm.c+29 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] clk: pwm: A few improvements

Hello,

my main objective here to get rid of the call to pwm_config() as I want to drop that function. While implementing that I found a few changes left and right of it that I think improve the driver.

Only compile tested.

Best regards
Uwe

Uwe Kleine-König (4):
clk: pwm: Let .get_duty_cycle() return the real duty cycle
clk: pwm: Convert to use pwm_apply_might_sleep()
clk: pwm: Don't reconfigure running PWM at probe time
clk: pwm: Make use of non-sleeping PWMs

 drivers/clk/clk-pwm.c | 49 +++++++++++++++++++++++++++++++++----------
 1 file changed, 38 insertions(+), 11 deletions(-)

base-commit: 8ffd015db85fea3e15a77027fda6c02ced4d2444

Signature · 1 line
2.47.2