Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-12-16 | pwm: bcm2835: Fix email address specification | Stefan Wahren | 1 | -1/+1 | |
Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2015-12-16 | pwm: bcm2835: Prevent division by zero | Stefan Wahren | 1 | -1/+9 | |
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2015-12-16 | pwm: bcm2835: Calculate scaler in ->config() | Stefan Wahren | 1 | -5/+3 | |
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2014-11-17 | pwm: Add BCM2835 PWM driver | Bart Tanghe | 1 | -0/+205 | |
Add PWM driver for Broadcom BCM2835 processor (Raspberry Pi) Signed-off-by: Bart Tanghe <[email protected]> Acked-by: Stephen Warren <[email protected]> Signed-off-by: Thierry Reding <[email protected]> |