From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753337AbcBZFPU (ORCPT ); Fri, 26 Feb 2016 00:15:20 -0500 Received: from lucky1.263xmail.com ([211.157.147.131]:60325 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218AbcBZFPQ (ORCPT ); Fri, 26 Feb 2016 00:15:16 -0500 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 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: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Shawn Lin To: Stephen Boyd , Michael Turquette Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Shawn Lin Subject: [RFC PATCH 3/3] Documentation: clk: Add clk phase callback comments Date: Fri, 26 Feb 2016 13:09:06 +0800 Message-Id: <1456463346-3707-1-git-send-email-shawn.lin@rock-chips.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1456463290-3581-1-git-send-email-shawn.lin@rock-chips.com> References: <1456463290-3581-1-git-send-email-shawn.lin@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch add get_phase, set_phase, round_phase and determine_phase into the description of clk_ops. Signed-off-by: Shawn Lin --- 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