Skip to content
Commit 901f8f54 authored by Nikita Travkin's avatar Nikita Travkin Committed by Thierry Reding
Browse files

pwm: Add clock based PWM output driver



Some systems have clocks exposed to external devices. If the clock
controller supports duty-cycle configuration, such clocks can be used as
pwm outputs. In fact PWM and CLK subsystems are interfaced with in a
similar way and an "opposite" driver already exists (clk-pwm). Add a
driver that would enable pwm devices to be used via clk subsystem.

Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarNikita Travkin <nikita@trvn.ru>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent c2252c18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment