[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190809123031.24219-8-paul@crapouillou.net>
Date: Fri, 9 Aug 2019 14:30:31 +0200
From: Paul Cercueil <paul@...pouillou.net>
To: Thierry Reding <thierry.reding@...il.com>
Cc: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, od@...c.me,
linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org,
Paul Cercueil <paul@...pouillou.net>
Subject: [PATCH 7/7] pwm: jz4740: document known limitations
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
The jz4740 PMW implementation doesn't fulfill the (up to now
insufficiently documented) requirements of the PWM API. At least
document them in the driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Signed-off-by: Paul Cercueil <paul@...pouillou.net>
---
drivers/pwm/pwm-jz4740.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c
index 8df898429d47..b331a73a9d5d 100644
--- a/drivers/pwm/pwm-jz4740.c
+++ b/drivers/pwm/pwm-jz4740.c
@@ -2,6 +2,10 @@
/*
* Copyright (C) 2010, Lars-Peter Clausen <lars@...afoo.de>
* JZ4740 platform PWM support
+ *
+ * Limitations:
+ * - The .apply callback doesn't complete the currently running period before
+ * reconfiguring the hardware.
*/
#include <linux/clk.h>
--
2.21.0.593.g511ec345e18
Powered by blists - more mailing lists