diff options
author | Josh Wu <josh.wu@atmel.com> | 2015-07-31 18:51:20 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-09-09 15:16:01 +0200 |
commit | 7a5938201834a9c25155176d0f5942d48336b244 (patch) | |
tree | 03a472e32ba854c9a4db19612aa8277dd68564ec /drivers/pwm/pwm-atmel-hlcdc.c | |
parent | pwm: Add NXP LPC18xx PWM/SCT DT binding documentation (diff) | |
download | linux-7a5938201834a9c25155176d0f5942d48336b244.tar.xz linux-7a5938201834a9c25155176d0f5942d48336b244.zip |
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 <josh.wu@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/pwm/pwm-atmel-hlcdc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c index fa5feaba25a5..5df1db40fc07 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, }, |