Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-12-24 | pwm: bcm2835: Switch to SPDX identifier | Stefan Wahren | 1 | -4/+1 | |
Adopt the SPDX license identifier headers to ease license compliance management. Cc: Bart Tanghe <[email protected]> Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2017-08-21 | pwm: bcm2835: Support for polarity setting via DT | Stefan Wahren | 1 | -0/+2 | |
This adds support for the third (optional) pwm cell to specify the polarity, which is needed by display backlights for example. 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: 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]> |