Thread (2 messages) 2 messages, 2 authors, 2015-07-31
DORMANTno replies REVIEWED: 1 (0M)

[PATCH] ARM: at91: pwm: atmel-hlcdc: add at91sam9n12 entry for the errata

From: Alexandre Belloni <hidden>
Date: 2015-07-31 17:14:09
Also in: linux-pwm

Hi,

The subject should probably be simply:
pwm: atmel-hlcdc: add at91sam9n12 entry for the errata


On 31/07/2015 at 18:51:20 +0200, Boris Brezillon wrote :
From: Josh Wu <redacted>

The errata for pwm hlcdc of at91sam9n12 is same as at91sam9x5.

Signed-off-by: Josh Wu <redacted>
Acked-by: Alexandre Belloni <redacted>
quoted hunk ↗ jump to hunk
---
 drivers/pwm/pwm-atmel-hlcdc.c | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c
index fa5feab..3f76d77 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 pwm */
+		.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
+	},
+	{
 		.compatible = "atmel,at91sam9x5-hlcdc",
 		.data = &atmel_hlcdc_pwm_at91sam9x5_errata,
 	},
-- 
1.9.1
-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help