aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Brown <[email protected]>2022-12-02 19:35:24 +0100
committerThierry Reding <[email protected]>2022-12-06 12:46:15 +0100
commit8ba2725ffac351a1b80063ac7eb362832fae16a2 (patch)
treef3c5d14f710b086229b31882cc76531fb7256db5
parent092c2ef4571cbc7e5f466bc241ff054723c41973 (diff)
pwm: pxa: Add reference manual link and limitations
Add a pointer to the location of reference manuals for some of the supported chips, and add a limitations section explaining the hardware's PWM disable behavior. Suggested-by: Uwe Kleine-König <[email protected]> Signed-off-by: Doug Brown <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
-rw-r--r--drivers/pwm/pwm-pxa.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index 00063ead7c0a..46ed668bd141 100644
--- a/drivers/pwm/pwm-pxa.c
+++ b/drivers/pwm/pwm-pxa.c
@@ -6,6 +6,13 @@
*
* 2008-02-13 initial version
* eric miao <[email protected]>
+ *
+ * Links to reference manuals for some of the supported PWM chips can be found
+ * in Documentation/arm/marvell.rst.
+ *
+ * Limitations:
+ * - When PWM is stopped, the current PWM period stops abruptly at the next
+ * input clock (PWMCR_SD is set) and the output is driven to inactive.
*/
#include <linux/module.h>