]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pwm: jz4740: Document known limitations
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 30 Jul 2019 12:32:29 +0000 (14:32 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 20 Sep 2019 22:55:33 +0000 (00:55 +0200)
The JZ4740 PWM 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@pengutronix.de>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-jz4740.c

index f901e8a0d33dc2d86a25f6f46655de80e4fe1f86..9d444d012f929eab15d9d3fadaa65cf1f989c4e8 100644 (file)
@@ -2,6 +2,11 @@
 /*
  *  Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
  *  JZ4740 platform PWM support
+ *
+ * Limitations:
+ * - The .apply callback doesn't complete the currently running period before
+ *   reconfiguring the hardware.
+ * - Each period starts with the inactive part.
  */
 
 #include <linux/clk.h>