From patchwork Sun Jan 22 12:17:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92145 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp802507qgi; Sun, 22 Jan 2017 04:17:14 -0800 (PST) X-Received: by 10.99.132.200 with SMTP id k191mr27026837pgd.10.1485087434818; Sun, 22 Jan 2017 04:17:14 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si12496362plm.134.2017.01.22.04.17.14; Sun, 22 Jan 2017 04:17:14 -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 S1751104AbdAVMRN (ORCPT + 7 others); Sun, 22 Jan 2017 07:17:13 -0500 Received: from mail-lf0-f52.google.com ([209.85.215.52]:34138 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbdAVMRN (ORCPT ); Sun, 22 Jan 2017 07:17:13 -0500 Received: by mail-lf0-f52.google.com with SMTP id v186so80673568lfa.1 for ; Sun, 22 Jan 2017 04:17:12 -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; bh=6KpPfAEp1oAFw0/1oBw5sd+GpQIP3l3oXUJ/YX7QhDQ=; b=dUwdEjfDYUOA1nyglFTQzeqPdQc4t7cmdCEfoy2Qdhuop0d455zQ4Pt0aCIphVjJrA WU9cP8+FyfXXxMUSL7TCv5ji61XflinQKSd8uafJGRIbuxFuR+3cDY0dubGDPNcQMXmX acpJLuwyJSlpuvvzkFL/HXPVVNXQfyozIPvgs= 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; bh=6KpPfAEp1oAFw0/1oBw5sd+GpQIP3l3oXUJ/YX7QhDQ=; b=p9PNLygDL5xNIocSijxmLjFouOpz+7xX/RKMETPJE4JYnxal9KVqMkAH8aG4XsXD1Z 31lLB2BSrxKe4kdras/uy4yqAVRv/0sZGBI0ym8I3Cr1XHOkWG31gUUvCnulTLPSjULh IHNQ3m2G6kYNG9RgC1eI3wAVo27kr+29BQqqXrHl8Z7HDrr5NqjbGO6xBIbdTBM6w9LI eNs54caT03/U8kNw3PAm1RSpFbSkl34Vvo5wB0QWgkdT7k1baQVJ1d7llSuqIDTe/YJw 2YXFCIA/mM4Wt5mdMjGAl2niAvmmqbbR3m+zD90vk2VCbsco+7x+D3AS6PMa2HnTGH0J VM0Q== X-Gm-Message-State: AIkVDXI4+z2p2nLIoh8YtzBHyJ2ILzOc6G+6RJQd1G1tgFTTF15XjQiBxx/fuUXcZEEJlVxM X-Received: by 10.25.129.147 with SMTP id c141mr7396807lfd.93.1485087431562; Sun, 22 Jan 2017 04:17:11 -0800 (PST) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id v18sm5369849lja.31.2017.01.22.04.17.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jan 2017 04:17:10 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Daniel Lezcano , Thomas Gleixner Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 04/22] clocksource: add DT bindings for Cortina Gemini Date: Sun, 22 Jan 2017 13:17:07 +0100 Message-Id: <20170122121707.10200-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- clocksource maintainers: please just apply this when you feel pleased with it. These portions are functionally orthogonal to the series, it is just in a series for context. --- .../bindings/timer/cortina,gemini-timer.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt -- 2.9.3 -- 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 Acked-by: Rob Herring 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 000000000000..16ea1d3b2e9e --- /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>; +};