clk: clk-gpio: update documentation for gpio-gate clock

A patch from »Binding and driver for gated-fixed-clocks« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Tue, 27 Aug 2024 17:34:43 +0200

Commit-Message

The main documentation block seems to be from a time before the driver handled sleeping and non-sleeping gpios and with that change it seems updating the doc was overlooked. So do that now. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

drivers/clk/clk-gpio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Statistics

  • 3 lines added
  • 2 lines removed

Changes

---------------------------- drivers/clk/clk-gpio.c ----------------------------
index 5b114043771d..98415782f9a2 100644
@@ -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
*/
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...