From patchwork Wed Feb 8 23:14:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 93658 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp10352qgi; Wed, 8 Feb 2017 16:26:56 -0800 (PST) X-Received: by 10.99.223.5 with SMTP id u5mr417043pgg.58.1486600016209; Wed, 08 Feb 2017 16:26:56 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30si8482529plj.218.2017.02.08.16.26.55; Wed, 08 Feb 2017 16:26:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752424AbdBIA0f (ORCPT + 7 others); Wed, 8 Feb 2017 19:26:35 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:37659 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308AbdBIA0f (ORCPT ); Wed, 8 Feb 2017 19:26:35 -0500 Received: by mail-wm0-f42.google.com with SMTP id v77so4377405wmv.0 for ; Wed, 08 Feb 2017 16:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AHwzUeCLFQ1VM4ZJlgXClZzaiWTqfhy8M7wUyEJz2AQ=; b=AydF7wlb9ieFVgM+Wc1gD1E30CsvCkg6z/NWygOOB5IMcITfgQLNFwVA9IX//57vW6 pqlVSumKnjSjXByMVmUu9gg82elg3/4Ie18u1VML2kOeUjPaETrDOtCBvL/bKimTDU4a yXRLtYzOH2oTEcCIxEv5NRwIgGOc/0OKDKrIM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AHwzUeCLFQ1VM4ZJlgXClZzaiWTqfhy8M7wUyEJz2AQ=; b=qqYPKn0qViiCWFUFfp68ow9LNNTZQmdEkkJ9+UW0IMriiLTVk88uHKCzutRjfIV0up 65SWRN9jVUgxbvbHup2aHs2tIXMIm5uZ8bgFgRk8BagD//mn7eKiSBjbsGikYUPiHvHS p9KfXT4Tq3yGQb3+eHnNcbxjn74QIWADoaqG2WCyqVMCh+xpKeAL8ksXdHo09xut2fsy xP/C+4EHx+0Ob5r5Hty7KMsxQ9NdDFqIJH6yYDw2i2F+NbZOBbOyKvrftlFIBBAHxle/ n8QgnnjyvpuEkzb9nbEyMGWXhjG03rvWAyimFy79s2CEHBYf7fz+qwiQ+Q2EIQLus/AH Z/7w== X-Gm-Message-State: AMke39nIJqtU45UFpKZmbis/Tw/WILX3NwPUGLC6MLYH/cTwxnc418Hgx/iknZywvEKNNm8M X-Received: by 10.28.137.203 with SMTP id l194mr20117719wmd.63.1486595747871; Wed, 08 Feb 2017 15:15:47 -0800 (PST) Received: from mai.lan ([2001:41d0:fe90:b800:3f16:bcf7:601c:a13b]) by smtp.gmail.com with ESMTPSA id u42sm15422821wrc.1.2017.02.08.15.15.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Feb 2017 15:15:47 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: Linus Walleij , Janos Laube , Paulius Zaleckas , Hans Ulli Kroll , Florian Fainelli , devicetree@vger.kernel.org, Rob Herring , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 02/10] clocksource: add DT bindings for Cortina Gemini Date: Thu, 9 Feb 2017 00:14:36 +0100 Message-Id: <1486595685-10232-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486595685-10232-1-git-send-email-daniel.lezcano@linaro.org> References: <20170208231208.GB12695@mai> <1486595685-10232-1-git-send-email-daniel.lezcano@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Linus Walleij This adds device tree bindings for the Cortina Systems Gemini timer block used in these SoCs. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij Acked-by: Rob Herring Signed-off-by: Daniel Lezcano --- .../bindings/timer/cortina,gemini-timer.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt b/Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt new file mode 100644 index 0000000..16ea1d3 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt @@ -0,0 +1,22 @@ +Cortina Systems Gemini timer + +This timer is embedded in the Cortina Systems Gemini SoCs. + +Required properties: + +- compatible : Must be "cortina,gemini-timer" +- reg : Should contain registers location and length +- interrupts : Should contain the three timer interrupts with + flags for rising edge +- syscon : a phandle to the global Gemini system controller + +Example: + +timer@43000000 { + compatible = "cortina,gemini-timer"; + reg = <0x43000000 0x1000>; + interrupts = <14 IRQ_TYPE_EDGE_RISING>, /* Timer 1 */ + <15 IRQ_TYPE_EDGE_RISING>, /* Timer 2 */ + <16 IRQ_TYPE_EDGE_RISING>; /* Timer 3 */ + syscon = <&syscon>; +};