From patchwork Mon Nov 12 03:20:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10678045 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6DC9B14BA for ; Mon, 12 Nov 2018 03:21:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B1932A09E for ; Mon, 12 Nov 2018 03:21:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E4D02A0D4; Mon, 12 Nov 2018 03:21:38 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 B5DEB2A0CE for ; Mon, 12 Nov 2018 03:21:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4tkHUU5eVW5mBroR33PSwvGQgYz1zPkN5gomMXrIATY=; b=O9W2CGAhqUXJ9c CUWYZcS4Op+YVqbNG/oD3z6a+6lrXS4RuiRoh71EE7qQu1McJpOA2KPbQdrht1CphN45I51uRXY1+ IDVOxq100UYItUu/w26lX6aokl77ZJPAZx3YQa8L1thI8eKI8IonFR9kQdyPF3jZwNtwwLz673YTV 5/q8yzUdhtyI/w1x7oai4X7S4Gq4g1OBDqHwAVz1q3Q1vIoNk5bX7uF0V5I+zkdCucCRPyKAGICFA WJYEhqYi4bcPPxnMDdnaoCIbxzpwi7Za+z8f3K6WjOG58PgyHeCj6yyItnfTGocU1tM4nToq71kiB JNtEg8ENOq9Kbb+qS9ug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2n7-0006qB-7u; Mon, 12 Nov 2018 03:21:33 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2mp-0006W2-2k for linux-arm-kernel@bombadil.infradead.org; Mon, 12 Nov 2018 03:21:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4WDqwwqXRN4DMJYd8XIF7QTnNQ+TppMUbC1b6A29UjI=; b=BLlQkrtJojijsNCbVGvXLDXGvD izSt2GsIN2A6BAIK+WJZzNeFjyHynOhDBuHO4CNpStmDdssSqqsfuWyu51SR8+2GmHxN6beJjoiqz y5b2X1tp6/1hq1/KQS9VcKJNKYJ+8KtiunTaKLY1zPVRF09VTeIEQZk6PLaHYTAqEACJ5NfYKLiph v7aO2NgpVD2ggpBqM4DUmOu1Fd3jEw7k/luxffKDxQB97lgv/Qzay/MxWRe796gKJmM0Zswkih0Bm ue9k2ioxl7MLu7ZMgjHpl/iMpD8A7pOL4YnlNE0mhjt2RYceF3gUt26O7mT/ROv6N03t3uIYtQL+x SxTTCS0Q==; Received: from shell.v3.sk ([90.176.6.54]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2mk-0005uE-L7 for linux-arm-kernel@lists.infradead.org; Mon, 12 Nov 2018 03:21:13 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 4AA95C6A2D; Mon, 12 Nov 2018 04:20:53 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id RAKxe3cAYSOA; Mon, 12 Nov 2018 04:20:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 61C7EC6A2A; Mon, 12 Nov 2018 04:20:37 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id evc0Z8J5dUEe; Mon, 12 Nov 2018 04:20:36 +0100 (CET) Received: from belphegor.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id A7754C6A21; Mon, 12 Nov 2018 04:20:35 +0100 (CET) From: Lubomir Rintel To: Eric Miao , Haojian Zhuang Subject: [PATCH v3 01/18] dt-bindings: mrvl,mmp-timer: add clock Date: Mon, 12 Nov 2018 04:20:10 +0100 Message-Id: <20181112032027.653931-2-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181112032027.653931-1-lkundrak@v3.sk> References: <20181112032027.653931-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181112_032110_740656_CF393292 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. 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: Lubomir Rintel , Robert Jarzmik , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King 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 The timer needs the timer clock to be enabled, otherwise it stops ticking. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring Acked-by: Pavel Machek --- Changes since v1: - Made the clock optional, to keep compatibility with DTs without it Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt index 9a6e251462e7..b8f02c663521 100644 --- a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt +++ b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt @@ -5,9 +5,13 @@ Required properties: - reg : Address and length of the register set of timer controller. - interrupts : Should be the interrupt number. +Optional properties: +- clocks : Should contain a single entry describing the clock input. + Example: timer0: timer@d4014000 { compatible = "mrvl,mmp-timer"; reg = <0xd4014000 0x100>; interrupts = <13>; + clocks = <&coreclk 2>; };