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


Groups > linux.kernel > #1343783

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

From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments
Date 2016-02-26 06:20 +0100
Message-ID <r6iYN-6Mo-7@gated-at.bofh.it> (permalink)
References <r6iYN-6Mo-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web