Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3610055imu; Sun, 11 Nov 2018 19:21:38 -0800 (PST) X-Google-Smtp-Source: AJdET5f9s0yGM9cVY9+JLrem3+XhB7xIBw2taFb2P9tCfFrmEewY/q74TgisFD4DQF14uTHvxiAd X-Received: by 2002:a17:902:8d88:: with SMTP id v8-v6mr18291895plo.21.1541992898698; Sun, 11 Nov 2018 19:21:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541992898; cv=none; d=google.com; s=arc-20160816; b=iG9FUmGpUyOK0+smL1+c16MIuO+ie7ks/RAQB751tA1cvAMepQgl8lJSqf5Kd8P5ZA aVGhe3sQfbP4/46ab9LomL+ufPAgDWSvCISd1kdIE/07yBSlWuM8cF/rVGFTUX81u8MQ FSVM63z9bSKN424u613xGp4XL9Fzib3H6ucY6/DdCgcmUIzaCQg6c4EJStfsLppXjs9Y n7qLqPOw8sOn6ZVZBTdSnb76JvMGF8pY/aLumG7+pJPcDnCBrsWGT9RBw0pmMGyVoxv1 qkPHNGjIAKD4Pu5tLcDLnzH/ddMlUqH1AX4IHafKnDNMAIQ5hBxRvS0UJTogaS4K8YY3 NIUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4WDqwwqXRN4DMJYd8XIF7QTnNQ+TppMUbC1b6A29UjI=; b=eNCH+S6Mfe7MvBGAXA77gttiEMZ6ALrRqETBSGQMmkHmf2os2Djv9ZrzMW58DV37rT qryK6zGHPSaLLYjZEqU/w19nnxYzGScQ9LnebDuWgzQV3mqHfsD1ZRT+DO9fcf0wo0Bv SczAyQlGPgu3xDZ3SSFQhPcoyWRuQYir1IOMKeNLmMM7gMUGlLXluCgK/xo6X1tQIGap E+1MIU4jM518q6W2j0vMLHeb0cOehOLKd/vwobxL8cWdAFHq5PdwGboLP2H2X1nzFYSr pjjuKNm9/+PvYp7+nUAGby8SUiIfIp8Rr+YjfyuWBfB4uqw0B6FK8jmXldJ9K7cqBnSa FU5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si12819092pgg.446.2018.11.11.19.21.22; Sun, 11 Nov 2018 19:21:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730474AbeKLNMI (ORCPT + 99 others); Mon, 12 Nov 2018 08:12:08 -0500 Received: from shell.v3.sk ([90.176.6.54]:59579 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729919AbeKLNMH (ORCPT ); Mon, 12 Nov 2018 08:12:07 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Robert Jarzmik , Lubomir Rintel 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 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. =20 +Optional properties: +- clocks : Should contain a single entry describing the clock input. + Example: timer0: timer@d4014000 { compatible =3D "mrvl,mmp-timer"; reg =3D <0xd4014000 0x100>; interrupts =3D <13>; + clocks =3D <&coreclk 2>; }; --=20 2.19.1