summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2017-03-22 15:29:35 +0200
committerThierry Reding <thierry.reding@gmail.com>2017-04-06 17:45:03 +0200
commit44521afa57bb6f0016c1c1ad70cc8ef352c6d83b (patch)
tree86542686c0d5224bf1920afd5aeeb81ac96b97de /drivers/pwm
parent1a722aad587967985f927e4ec2650ca64632c3e1 (diff)
downloadlinux-44521afa57bb6f0016c1c1ad70cc8ef352c6d83b.tar.gz
linux-44521afa57bb6f0016c1c1ad70cc8ef352c6d83b.tar.bz2
linux-44521afa57bb6f0016c1c1ad70cc8ef352c6d83b.zip
pwm: atmel: Enable PWM on sama5d2
sama5d2 can use the same atmel_pwm_data as sama5d3. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Rob Herring <robh@kernel.org> Reviewed-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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index f147154d9cb2..530d7dc5f1b5 100644
--- a/drivers/pwm/pwm-atmel.c
+++ b/drivers/pwm/pwm-atmel.c
@@ -312,6 +312,9 @@ static const struct of_device_id atmel_pwm_dt_ids[] = {
.compatible = "atmel,sama5d3-pwm",
.data = &atmel_pwm_regs_v2,
}, {
+ .compatible = "atmel,sama5d2-pwm",
+ .data = &atmel_pwm_regs_v2,
+ }, {
/* sentinel */
},
};