mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shawn Lin <shawn.lin@rock-chips.com>
To: Stephen Boyd <sboyd@codeaurora.org>,
	Michael Turquette <mturquette@baylibre.com>
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	Shawn Lin <shawn.lin@rock-chips.com>
Subject: [RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments
Date: Fri, 26 Feb 2016 13:09:06 +0800	[thread overview]
Message-ID: <1456463346-3707-1-git-send-email-shawn.lin@rock-chips.com> (raw)
In-Reply-To: <1456463290-3581-1-git-send-email-shawn.lin@rock-chips.com>

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

      parent reply	other threads:[~2016-02-26  5:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26  5:08 [RFC PATCH 0/3] Support round phase stuff for clock driver Shawn Lin
2016-02-26  5:08 ` [RFC PATCH 1/3] clk: add clk_round_phase support Shawn Lin
2016-02-26  5:08 ` [RFC PATCH 2/3] clk: add clk_hw_set_phase_range support Shawn Lin
2016-02-26  5:09 ` Shawn Lin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456463346-3707-1-git-send-email-shawn.lin@rock-chips.com \
    --to=shawn.lin@rock-chips.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®