mbox series

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

Message ID 1551113039-937-1-git-send-email-claudiu.beznea@microchip.com
Headers show
Series add support for the new SAM9X60's PWM controller | expand

Message

Claudiu Beznea Feb. 25, 2019, 4:44 p.m. UTC
From: Claudiu Beznea <claudiu.beznea@microchip.com>

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(-)

Comments

Thierry Reding March 4, 2019, 10:58 a.m. UTC | #1
On Mon, Feb 25, 2019 at 04:44:30PM +0000, Claudiu.Beznea@microchip.com wrote:
> From: Claudiu Beznea <claudiu.beznea@microchip.com>
> 
> 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(-)

Applied, thanks.

Thierry