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

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments
Date Fri, 26 Feb 2016 06:20:01 +0100
Message-ID <r6iYN-6Mo-7@gated-at.bofh.it> (permalink)
References <r6iYN-6Mo-3@gated-at.bofh.it>
X-Original-To Stephen Boyd <sboyd@codeaurora.org>, Michael Turquette <mturquette@baylibre.com>
X-263anti-Spam KSV:0;
X-Mail-Gray 1
X-Abs-Checked 4
X-Rl-Sender shawn.lin@rock-chips.com
X-Fst-To sboyd@codeaurora.org
X-Sender-IP 58.22.7.114
X-Login-Name shawn.lin@rock-chips.com
X-Unique-Tag <cb2b40c57e6aaddf297741b7b7d30c17>
X-Sender lintao@rock-chips.com
X-Mailer git-send-email 1.8.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Shawn Lin <shawn.lin@rock-chips.com>
X-Original-Date Fri, 26 Feb 2016 13:09:06 +0800
X-Original-Message-ID <1456463346-3707-1-git-send-email-shawn.lin@rock-chips.com>
X-Original-References <1456463290-3581-1-git-send-email-shawn.lin@rock-chips.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1343783

Show key headers only | 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