From: Josh Wu Date: Fri, 31 Jul 2015 16:51:20 +0000 (+0200) Subject: ARM: at91: pwm: atmel-hlcdc: Add at91sam9n12 errata X-Git-Tag: v5.15~15098^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a5938201834a9c25155176d0f5942d48336b244;p=platform%2Fkernel%2Flinux-starfive.git ARM: at91: pwm: atmel-hlcdc: Add at91sam9n12 errata The errata for HLCDC PWM of at91sam9n12 are the same as for at91sam9x5. Signed-off-by: Josh Wu Acked-by: Alexandre Belloni Signed-off-by: Thierry Reding --- diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c index fa5feab..5df1db4 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 HLCDC PWM */ + .data = &atmel_hlcdc_pwm_at91sam9x5_errata, + }, + { .compatible = "atmel,at91sam9x5-hlcdc", .data = &atmel_hlcdc_pwm_at91sam9x5_errata, },