ARM: at91: pwm: atmel-hlcdc: Add at91sam9n12 errata
authorJosh Wu <josh.wu@atmel.com>
Fri, 31 Jul 2015 16:51:20 +0000 (18:51 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 9 Sep 2015 13:16:01 +0000 (15:16 +0200)
The errata for HLCDC PWM of at91sam9n12 are the same as for at91sam9x5.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel-hlcdc.c

index fa5feaba25a5d768d47aa100f4a9e55c634aabce..5df1db40fc075add53c4084b55f94993800b0b9e 100644 (file)
@@ -217,6 +217,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 HLCDC PWM */
+               .data = &atmel_hlcdc_pwm_at91sam9x5_errata,
+       },
        {
                .compatible = "atmel,at91sam9x5-hlcdc",
                .data = &atmel_hlcdc_pwm_at91sam9x5_errata,