[PATCH v3 0/5] add support for the new SAM9X60's PWM controller

From: Claudiu.Beznea
Date: Mon Feb 25 2019 - 11:45:28 EST


From: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>

This series adds support for PWM controller of the new SAM9X60. The difference
b/w this one and the provious AT91SAM9X5 is the counter size (32 bits compared
with 16 bits on the previous version) thus, allowing to generate signals with
bigger periods and duty cycles. This series, modifies the driver to take into
account per IP counter size by embedding this information into driver's data.

Changes in v3:
- collect Acked-by tags
- introduced patch 3/5 which changes the name of objects of type
atmel_pwm_data
- changed a bit commit message for patches 1/5 and 2/5
- use mchp_sam9x60_pwm_data instead of atmel_pwm_data_v3 for SAM9X60
compatible data

Changes in v2:
- add reviewed-by tag to DT inding patch
- move PWM_MAXV2_PRD from patch 2/4 in patch 3/4
- change commit description for patch 3/4

Claudiu Beznea (5):
pwm: atmel: add struct atmel_pwm_data
pwm: atmel: add support for controllers with 32 bit counters
pwm: atmel: rename objects of type atmel_pwm_data
pwm: atmel: add support for SAM9X60's PWM controller
pwm: atmel: add PWM binding for SAM9X60

.../devicetree/bindings/pwm/atmel-pwm.txt | 1 +
drivers/pwm/pwm-atmel.c | 117 ++++++++++++++-------
2 files changed, 79 insertions(+), 39 deletions(-)

--
2.7.4