diff mbox series

[v3,2/5] clk: clk-gpio: update documentation for gpio-gate clock

Message ID 20240828101503.1478491-3-heiko@sntech.de (mailing list archive)
State New
Headers show
Series Binding and driver for gated-fixed-clocks | expand

Commit Message

Heiko Stuebner Aug. 28, 2024, 10:15 a.m. UTC
The main documentation block seems to be from a time before the driver
handled sleeping and non-sleeping gpios and which that change it seems
updating the doc was overlooked. So do that now.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 drivers/clk/clk-gpio.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Diederik de Haas Aug. 28, 2024, 11:37 a.m. UTC | #1
On Wed Aug 28, 2024 at 12:15 PM CEST, Heiko Stuebner wrote:
> The main documentation block seems to be from a time before the driver
> handled sleeping and non-sleeping gpios and which that change it seems

s/which/with/ ?

> updating the doc was overlooked. So do that now.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
diff mbox series

Patch

diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c
index 5b114043771d..98415782f9a2 100644
--- a/drivers/clk/clk-gpio.c
+++ b/drivers/clk/clk-gpio.c
@@ -22,8 +22,9 @@ 
  * DOC: basic gpio gated clock which can be enabled and disabled
  *      with gpio output
  * Traits of this clock:
- * prepare - clk_(un)prepare only ensures parent is (un)prepared
- * enable - clk_enable and clk_disable are functional & control gpio
+ * prepare - clk_(un)prepare are functional and control a gpio that can sleep
+ * enable - clk_enable and clk_disable are functional & control
+ *          non-sleeping gpio
  * rate - inherits rate from parent.  No clk_set_rate support
  * parent - fixed parent.  No clk_set_parent support
  */