From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753424Ab3LUJgJ (ORCPT ); Sat, 21 Dec 2013 04:36:09 -0500 Received: from 6.mo1.mail-out.ovh.net ([46.105.43.205]:50418 "EHLO mo1.mail-out.ovh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752601Ab3LUJgH (ORCPT ); Sat, 21 Dec 2013 04:36:07 -0500 From: Boris BREZILLON To: Rob Landley , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Mike Turquette , Russell King , Nicolas Ferre , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Cc: Boris BREZILLON , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 0/2] clk: add clk accuracy support Date: Sat, 21 Dec 2013 10:34:46 +0100 Message-Id: <1387618488-3075-1-git-send-email-b.brezillon@overkiz.com> X-Mailer: git-send-email 1.7.9.5 X-Ovh-Tracer-Id: 6615787854195488866 X-Ovh-Remote: 78.236.240.82 (cha74-5-78-236-240-82.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrtdehucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrtdehucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patch series adds support for clock accuracy retrieval in the common clk framework. Best Regards, Boris Changes since v3: - do not export __clk_get_accuracy symbol Changes since v2: - fix __clk_recalc_accuracies function comment - modify __clk_get_accuracy to return the current clock accuracy even when the clock is orphan - only recalculate clock accuracy when reparent succeed Changes since v1: - remove HAVE_CLK_GET_ACCURACY option and enable clk accuracy support only when using the CCF - export __clk_get_accuracy (might be used by clk-providers) - fix documentation (s/recalc_rate/recalc_accuracy/) - move fixed_accuracy field addition (struct clk_fixed_rate) from the 1st patch to the 2nd patch of this series Boris BREZILLON (2): clk: add clk accuracy retrieval support clk: add accuracy support for fixed clock Documentation/clk.txt | 4 + .../devicetree/bindings/clock/fixed-clock.txt | 3 + drivers/clk/clk-fixed-rate.c | 43 +++++++-- drivers/clk/clk.c | 102 ++++++++++++++++++-- include/linux/clk-private.h | 1 + include/linux/clk-provider.h | 15 +++ include/linux/clk.h | 17 ++++ 7 files changed, 172 insertions(+), 13 deletions(-) -- 1.7.9.5