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: 9530895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 98EF76020B for ; Sun, 22 Jan 2017 12:19:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88AB728395 for ; Sun, 22 Jan 2017 12:19:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7CA7A283C2; Sun, 22 Jan 2017 12:19:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1869F28395 for ; Sun, 22 Jan 2017 12:19:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cVH76-0007f5-CL; Sun, 22 Jan 2017 12:19:16 +0000 Received: from mail-lf0-f43.google.com ([209.85.215.43]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cVH6P-00071K-Hg for linux-arm-kernel@lists.infradead.org; Sun, 22 Jan 2017 12:18:35 +0000 Received: by mail-lf0-f43.google.com with SMTP id n124so80470831lfd.2 for ; Sun, 22 Jan 2017 04:18:13 -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=OBEGO+ZfBLNQ60EzXAjUdiN8paty1WEIs6McHlEHeSr0ce3UoivXWea6YH5wlOh0QU iEDf/asu7OuzfJ12vEmJwyGOtmYtyBg6ZbJfZcWmHCGz+LGmyVdImC1uLK5fs+oIMCZ1 yJbC9gb52izac32ATyLA/7I5e3whAjPFWhkqyIzLS2x1VJDjGu8G84tDd9v8WaYIUGbf i4PaXwN9aFdIcJ0Ivdk8Apdf7Hkh4b4DSuGGfR0XP7XuuiNT3pg7XUDs0otd9svTkS6E BfGXNqnQm27/+6EQRtGDHkUcu9fy9wupIBfuO1kPPimCod3tq5gqVgqPNQl92ds9G4eT B1qw== X-Gm-Message-State: AIkVDXLE1VyqGTpp+G7vKgvz7mXTyHSZsHK6hLAd8BiB/LD66DE/6hHUtl5kZfo9bDuw96s5 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170122_041833_772023_B7420265 X-CRM114-Status: GOOD ( 13.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@openwrt.org, devicetree@vger.kernel.org, Paulius Zaleckas , Arnd Bergmann , Linus Walleij , linux-kernel@vger.kernel.org, Janos Laube MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 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>; +};