Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-07-06 | pwm: sun4i: Drop legacy callbacks | Alexandre Belloni | 1 | -160/+0 | |
Remove the legacy callbacks .enable(), .disable(), .set_polarity() and .config(). Signed-off-by: Alexandre Belloni <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2017-07-06 | pwm: sun4i: Switch to atomic PWM | Alexandre Belloni | 1 | -0/+166 | |
Switch the driver to atomic PWM. This makes it easier to wait a proper amount of time when changing the duty cycle before disabling the channel (main use case is switching the duty cycle to 0 before disabling). Signed-off-by: Alexandre Belloni <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2017-07-06 | pwm: sun4i: Improve hardware read out | Alexandre Belloni | 1 | -19/+46 | |
Implement .get_state instead of only reading the polarity at probe time. This allows to get the proper state, period and duty cycle. Signed-off-by: Alexandre Belloni <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2017-01-04 | pwm: Remove .can_sleep from struct pwm_chip | Thierry Reding | 1 | -1/+0 | |
All PWM devices have been marked as "might sleep" since v4.5, there is no longer a need to differentiate on a per-chip basis. Signed-off-by: Thierry Reding <[email protected]> | |||||
2016-09-08 | pwm: sunxi: Add H3 support | Milo Kim | 1 | -0/+9 | |
H3 PWM controller has same register layout as sun4i driver, so it works by adding H3 specific data. Cc: Thierry Reding <[email protected]> Cc: Rob Herring <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Milo Kim <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Alexandre Belloni <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2016-05-17 | pwm: Use pwm_get/set_xxx() helpers where appropriate | Boris Brezillon | 1 | -1/+2 | |
Use pwm_get/set_xxx() helpers instead of directly accessing the pwm->xxx field. Doing that will ease adaptation of the PWM framework to support atomic update. Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2015-11-10 | pwm: sunxi: Fix whitespace issue | Olliver Schinagl | 1 | -1/+1 | |
This patch changes no code, it just fixes the whitespacing. Operators should be separated from operands by a single space. Signed-off-by: Olliver Schinagl <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2015-11-10 | pwm: sun4i: Add support for PWM controller on sun5i SoCs | Hans de Goede | 1 | -2/+23 | |
The PWM controller on sun5i SoCs is identical to the one found on sun7i SoCs. On the A13 package only one of the 2 pins is routed to the outside, so only advertise one PWM channel there. Signed-off-by: Hans de Goede <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Thierry Reding <[email protected]> | |||||
2015-01-30 | pwm: Add Allwinner SoC support | Alexandre Belloni | 1 | -0/+366 | |
This adds a generic PWM framework driver for the PWM controller found on Allwinner SoCs. Signed-off-by: Alexandre Belloni <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Thierry Reding <[email protected]> |