diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-02-20 16:58:18 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-03-11 11:59:54 +0100 |
commit | 054d3e1f9a995e13b8be07482fe5c1c42655223d (patch) | |
tree | 4b8558c78e5668a68817db6c19cdd5a1e4a869a1 /drivers/pwm | |
parent | c456fbb2b221d137e14857f143d64263262badfa (diff) | |
download | op-kernel-dev-054d3e1f9a995e13b8be07482fe5c1c42655223d.zip op-kernel-dev-054d3e1f9a995e13b8be07482fe5c1c42655223d.tar.gz |
pwm: atmel-hlcdc: Add errata handling for sama5d4
sama5d4 SoC also has an errata on the HLCDC PWM. It is the same as the
sama5d3 that is forbidding the use of div1 prescaler.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/pwm-atmel-hlcdc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c index 522f707..fa5feab 100644 --- a/drivers/pwm/pwm-atmel-hlcdc.c +++ b/drivers/pwm/pwm-atmel-hlcdc.c @@ -225,6 +225,10 @@ static const struct of_device_id atmel_hlcdc_dt_ids[] = { .compatible = "atmel,sama5d3-hlcdc", .data = &atmel_hlcdc_pwm_sama5d3_errata, }, + { + .compatible = "atmel,sama5d4-hlcdc", + .data = &atmel_hlcdc_pwm_sama5d3_errata, + }, { /* sentinel */ }, }; |