Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755807AbaGOP0g (ORCPT ); Tue, 15 Jul 2014 11:26:36 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:8472 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755662AbaGOP0U (ORCPT ); Tue, 15 Jul 2014 11:26:20 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 15 Jul 2014 08:15:05 -0700 From: Peter De Schrijver To: Peter De Schrijver CC: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Stephen Warren , Thierry Reding , Russell King , Prashant Gaikwad , Mike Turquette , Joseph Lo , Alexandre Courbot , Sebastian Hesselbarth , Tuomas Tynkkynen , , , , Subject: [PATCH 4/6] clk: tegra: add nvidia,tegra132-ccplex-clk binding Date: Tue, 15 Jul 2014 18:24:34 +0300 Message-ID: <1405437890-6468-5-git-send-email-pdeschrijver@nvidia.com> X-Mailer: git-send-email 1.7.7.rc0.72.g4b5ea.dirty In-Reply-To: <1405437890-6468-1-git-send-email-pdeschrijver@nvidia.com> References: <1405437890-6468-1-git-send-email-pdeschrijver@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra132 has a few new clocks for the CPU complex (ccplex). Signed-off-by: Peter De Schrijver --- .../bindings/clock/nvidia,tegra132-ccplex-clk.txt | 27 ++++++++++++++++++++ include/dt-bindings/clock/tegra132-ccplex.h | 12 +++++++++ 2 files changed, 39 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra132-ccplex-clk.txt create mode 100644 include/dt-bindings/clock/tegra132-ccplex.h diff --git a/Documentation/devicetree/bindings/clock/nvidia,tegra132-ccplex-clk.txt b/Documentation/devicetree/bindings/clock/nvidia,tegra132-ccplex-clk.txt new file mode 100644 index 0000000..1441e36 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/nvidia,tegra132-ccplex-clk.txt @@ -0,0 +1,27 @@ +NVIDIA Tegra132 ccplex clocks + +This binding uses the common clock binding: +Documentation/devicetree/bindings/clock/clock-bindings.txt + +The Tegra132 ccplex clock module on Tegra132 is the HW module responsible +for the ccplex related clocks. + +Required properties : +- compatible : Should be "nvidia,tegra132-ccplex-clk" +- reg : Should contain ccplex clock registers location and length +- #clock-cells : Should be 1. + In clock consumers, this cell represents the clock ID exposed by the + ccplex clock module. The assignments may be found in header file + . + +Example SoC include file: + +/ { + ccplex-clock@0,70040000 { + compatible = "nvidia,tegra132-ccplex-clk"; + reg = <0x0 0x70040000 0x0 0x1000>; + status = "okay"; + #clock-cells = <1>; + }; + +}; diff --git a/include/dt-bindings/clock/tegra132-ccplex.h b/include/dt-bindings/clock/tegra132-ccplex.h new file mode 100644 index 0000000..58ea190 --- /dev/null +++ b/include/dt-bindings/clock/tegra132-ccplex.h @@ -0,0 +1,12 @@ +/* + * This header provides constants for the binding nvidia,tegra132-ccplex-clk + */ + +#ifndef __DT_BINDINGS_CLOCK_TEGRA132_CCPLEX_H +#define __DT_BINDINGS_CLOCK_TEGRA132_CCPLEX_H + +#define TEGRA132_CCPLEX_CCLK_G 1 +#define TEGRA132_PLL_X 2 +#define TEGRA132_CCPLEX_CLK_MAX 3 + +#endif -- 1.7.7.rc0.72.g4b5ea.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/