2020-02-28 09:58:21

by Lokesh Vutla

[permalink] [raw]
Subject: [PATCH v2 2/6] pwm: omap-dmtimer: Update description for pwm omap dm timer

Update the description with a brief about how pwm is generated
using OMAP DM timer. Also add link to the Reference Manual.

Suggested-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Lokesh Vutla <[email protected]>
---
drivers/pwm/pwm-omap-dmtimer.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/pwm/pwm-omap-dmtimer.c b/drivers/pwm/pwm-omap-dmtimer.c
index e4f5f710bfaa..a24a630ccdb9 100644
--- a/drivers/pwm/pwm-omap-dmtimer.c
+++ b/drivers/pwm/pwm-omap-dmtimer.c
@@ -10,7 +10,11 @@
*
* Description:
* This file is the core OMAP support for the generic, Linux
- * PWM driver / controller, using the OMAP's dual-mode timers.
+ * PWM driver / controller, using the OMAP's dual-mode timers
+ * with a timer counter that goes up. When it overflows it gets
+ * reloaded with the load value and the pwm output goes up.
+ * When counter matches with match register, the output goes down.
+ * Reference Manual: http://www.ti.com/lit/ug/spruh73q/spruh73q.pdf
*/

#include <linux/clk.h>
--
2.23.0


2020-03-06 18:04:49

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH v2 2/6] pwm: omap-dmtimer: Update description for pwm omap dm timer

* Lokesh Vutla <[email protected]> [200228 09:58]:
> Update the description with a brief about how pwm is generated
> using OMAP DM timer. Also add link to the Reference Manual.

Acked-by: Tony Lindgren <[email protected]>