Re: [PATCH v2 5/7] pwm: atmel-hlcdc: add compatible for SAM9X60 HLCDC's PWM

From: Lee Jones
Date: Thu Apr 25 2019 - 04:31:38 EST


On Tue, 05 Mar 2019, Claudiu.Beznea@xxxxxxxxxxxxx wrote:

> From: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
>
> Add compatible string for SAM9X60 HLCDC's PWM.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
> Acked-by: Thierry Reding <thierry.reding@xxxxxxxxx>
> ---
> drivers/pwm/pwm-atmel-hlcdc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c
> index 54c6633d9b5d..331ca0233d9e 100644
> --- a/drivers/pwm/pwm-atmel-hlcdc.c
> +++ b/drivers/pwm/pwm-atmel-hlcdc.c
> @@ -246,6 +246,9 @@ static const struct of_device_id atmel_hlcdc_dt_ids[] = {
> .compatible = "atmel,sama5d4-hlcdc",
> .data = &atmel_hlcdc_pwm_sama5d3_errata,
> },
> + {
> + .compatible = "microchip,sam9x60-hlcdc",
> + },

Please make this a single line entry, like the one below.

> { /* sentinel */ },
> };
> MODULE_DEVICE_TABLE(of, atmel_hlcdc_dt_ids);

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog