Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1343783 > unrolled thread

[RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments

Started byShawn Lin <shawn.lin@rock-chips.com>
First post2016-02-26 06:20 +0100
Last post2016-02-26 06:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments Shawn Lin <shawn.lin@rock-chips.com> - 2016-02-26 06:20 +0100

#1343783 — [RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments

FromShawn Lin <shawn.lin@rock-chips.com>
Date2016-02-26 06:20 +0100
Subject[RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments
Message-ID<r6iYN-6Mo-7@gated-at.bofh.it>
This patch add get_phase, set_phase, round_phase and
determine_phase into the description of clk_ops.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 Documentation/clk.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/clk.txt b/Documentation/clk.txt
index 5c4bc4d..7f192f2 100644
--- a/Documentation/clk.txt
+++ b/Documentation/clk.txt
@@ -84,6 +84,11 @@ the operations defined in clk.h:
 					    u8 index);
 		unsigned long	(*recalc_accuracy)(struct clk_hw *hw,
 						unsigned long parent_accuracy);
+		int		(*get_phase)(struct clk_hw *hw);
+		int		(*set_phase)(struct clk_hw *hw, int degrees);
+		long		(*round_phase)(struct clk_hw *hw, int degrees);
+		int		(*determine_phase)(struct clk_hw *hw,
+						   struct clk_phase_request *req);
 		void		(*init)(struct clk_hw *hw);
 		int		(*debug_init)(struct clk_hw *hw,
 					      struct dentry *dentry);
-- 
2.3.7

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web