Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933511AbaJ2Ovb (ORCPT ); Wed, 29 Oct 2014 10:51:31 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:34190 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932962AbaJ2Ov2 (ORCPT ); Wed, 29 Oct 2014 10:51:28 -0400 From: Tomeu Vizoso To: linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas , Tomeu Vizoso , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Stephen Warren , Thierry Reding , Alexandre Courbot , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 1/3] of: Add binding for NVIDIA Tegra ACTMON node Date: Wed, 29 Oct 2014 15:50:11 +0100 Message-Id: <1414594232-15684-2-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1414594232-15684-1-git-send-email-tomeu.vizoso@collabora.com> References: <1414594232-15684-1-git-send-email-tomeu.vizoso@collabora.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This block gathers statistics about various counters and can be configured to fire interrupts when thresholds are crossed. Signed-off-by: Tomeu Vizoso --- .../devicetree/bindings/arm/tegra/actmon.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/tegra/actmon.txt diff --git a/Documentation/devicetree/bindings/arm/tegra/actmon.txt b/Documentation/devicetree/bindings/arm/tegra/actmon.txt new file mode 100644 index 0000000..593683f --- /dev/null +++ b/Documentation/devicetree/bindings/arm/tegra/actmon.txt @@ -0,0 +1,26 @@ +Tegra124 Activity Monitor driver + +Required properties: + +- compatible: should be "nvidia,tegra124-actmon" +- reg: offset and length of the register set for the device +- interrupts: standard interrupt property +- clocks: Must contain a phandle and clock specifier pair for each entry in clock-names. See ../clock/clock-bindings.txt for details. +- clock-names: Must include the following entries: + - actmon + - emc +- resets: Must contain an entry for each entry in reset-names. See ../reset/reset.txt for details. +- reset-names: Must include the following entries: + - actmon + +Example: + actmon@0,6000c800 { + compatible = "nvidia,tegra124-actmon"; + reg = <0x0 0x6000c800 0x0 0x400>; + interrupts = ; + clocks = <&tegra_car TEGRA124_CLK_ACTMON>, + <&tegra_car TEGRA124_CLK_EMC>; + clock-names = "actmon", "emc"; + resets = <&tegra_car 119>; + reset-names = "actmon"; + }; -- 1.9.3 -- 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/