]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: clk-gpio: update documentation for gpio-gate clock
authorHeiko Stuebner <heiko@sntech.de>
Fri, 6 Sep 2024 08:25:08 +0000 (10:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 Oct 2024 23:04:19 +0000 (16:04 -0700)
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@sntech.de>
Link: https://lore.kernel.org/r/20240906082511.2963890-3-heiko@sntech.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-gpio.c

index 5b114043771ddb38483e2b82d2e2fe7620e35c58..98415782f9a2d0f42aeb4c09f73d713d51032cb2 100644 (file)
@@ -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
  */