public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: pwm: atmel-hlcdc: add at91sam9n12 entry for the errata
@ 2015-07-31 16:51 Boris Brezillon
  2015-07-31 17:14 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Boris Brezillon @ 2015-07-31 16:51 UTC (permalink / raw)
  To: linux-arm-kernel

From: Josh Wu <josh.wu@atmel•com>

The errata for pwm hlcdc of at91sam9n12 is same as at91sam9x5.

Signed-off-by: Josh Wu <josh.wu@atmel•com>
---
 drivers/pwm/pwm-atmel-hlcdc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c
index fa5feab..3f76d77 100644
--- a/drivers/pwm/pwm-atmel-hlcdc.c
+++ b/drivers/pwm/pwm-atmel-hlcdc.c
@@ -218,6 +218,11 @@ static const struct atmel_hlcdc_pwm_errata atmel_hlcdc_pwm_sama5d3_errata = {
 
 static const struct of_device_id atmel_hlcdc_dt_ids[] = {
 	{
+		.compatible = "atmel,at91sam9n12-hlcdc",
+		/* 9n12 has same errata as 9x5 pwm */
+		.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
+	},
+	{
 		.compatible = "atmel,at91sam9x5-hlcdc",
 		.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
 	},
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: at91: pwm: atmel-hlcdc: add at91sam9n12 entry for the errata
  2015-07-31 16:51 [PATCH] ARM: at91: pwm: atmel-hlcdc: add at91sam9n12 entry for the errata Boris Brezillon
@ 2015-07-31 17:14 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2015-07-31 17:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

The subject should probably be simply:
pwm: atmel-hlcdc: add at91sam9n12 entry for the errata


On 31/07/2015 at 18:51:20 +0200, Boris Brezillon wrote :
> From: Josh Wu <josh.wu@atmel•com>
> 
> The errata for pwm hlcdc of at91sam9n12 is same as at91sam9x5.
> 
> Signed-off-by: Josh Wu <josh.wu@atmel•com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons•com>

> ---
>  drivers/pwm/pwm-atmel-hlcdc.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c
> index fa5feab..3f76d77 100644
> --- a/drivers/pwm/pwm-atmel-hlcdc.c
> +++ b/drivers/pwm/pwm-atmel-hlcdc.c
> @@ -218,6 +218,11 @@ static const struct atmel_hlcdc_pwm_errata atmel_hlcdc_pwm_sama5d3_errata = {
>  
>  static const struct of_device_id atmel_hlcdc_dt_ids[] = {
>  	{
> +		.compatible = "atmel,at91sam9n12-hlcdc",
> +		/* 9n12 has same errata as 9x5 pwm */
> +		.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
> +	},
> +	{
>  		.compatible = "atmel,at91sam9x5-hlcdc",
>  		.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
>  	},
> -- 
> 1.9.1
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-31 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 16:51 [PATCH] ARM: at91: pwm: atmel-hlcdc: add at91sam9n12 entry for the errata Boris Brezillon
2015-07-31 17:14 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox