16 Dec, 2015
3 commits
-
Signed-off-by: Stefan Wahren
Reviewed-by: Eric Anholt
Signed-off-by: Thierry Reding -
It's possible that the PWM clock becomes an orphan. So better check the
result of clk_get_rate() in order to prevent a division by zero.Signed-off-by: Stefan Wahren
Reviewed-by: Eric Anholt
Signed-off-by: Thierry Reding -
Currently pwm-bcm2835 assumes a fixed clock rate and stores the
resulting scaler in the driver structure. But with the upcoming
PWM clock support for clk-bcm2835 the rate could change, so
calculate the scaler in the ->config() callback.Signed-off-by: Stefan Wahren
Reviewed-by: Eric Anholt
Signed-off-by: Thierry Reding
17 Nov, 2014
1 commit
-
Add PWM driver for Broadcom BCM2835 processor (Raspberry Pi)
Signed-off-by: Bart Tanghe
Acked-by: Stephen Warren
Signed-off-by: Thierry Reding