Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2307245imm; Thu, 27 Sep 2018 10:35:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV60j9Gp5PgtJ1mvFDzz8Pmu4346dJ+i3Vbj2i9TkL+AoBcXNJy6ZbGa1LcWuM7iz03Ur/xlE X-Received: by 2002:a62:a0e:: with SMTP id s14-v6mr10429024pfi.153.1538069757643; Thu, 27 Sep 2018 10:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538069757; cv=none; d=google.com; s=arc-20160816; b=cvkBtzFxx7LIe1JXr6tGtP3zpz+g4lesb9Shs0wOehk3A+jT9u8HciUqYnpX2b6NSP X0fa7s9knwXQSnxvqMdMdNqIoipoyVStPizfoJYuBO0nX73pl8nbPTtGmbDdgiEq/jPt GYIzk34nP8Ho7+pRD3HJ5EKVJSBvbYVOeKDM2K5KoCqJJChvOfoO+HhQkxRHq0PbhDAW Qhk7rkqDMrc21mRPUasWvaQbA3EaqRWBZvfuhtN782Z1pI1Ty0LCjYqApVyK9MT+Kfq7 g9ib10p31xUvtXpRgID5IOdXpRSKPcPzXWumlEK6B2DlmAhiACCxiylGHqjSgXH1ZmO8 zlQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jZd70GJELwHNZNCIL4XjmIsm7lLpANr90XzdeDYRo/8=; b=o8EHLxQadB3D0MEA1r4dVKCCDdUA4kTlMUM9Xhb85a8K/e6PYw+vVpiW9nozMlv/M5 GrIFAq60O6ubWHiQJsZPtVJUkMTfku4/XjnjVkchEn8UOTK+1CxCKouc8sn/Y+DOMSFL xvIMllH5nzpaPTU5ZufUGydcF+Yhfl3T9rdmK4+i6QMJSTEbDaSVPc9hLUQxGpeE5KFO 9OFTah6QC4nt0u31zKsQZIC5AcOyXJdMdVPSWK4e1Pq1d5aEVyu40cugGzQQvXM8kuY2 HmDVByS3MFmnw0yXJuKxa3i67ZQQqgdQzp5+EhUs6ivv/m7J6yuN9RkBGmKoqjwNNXDk 1R0Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11-v6si2716752plk.302.2018.09.27.10.35.34; Thu, 27 Sep 2018 10:35:57 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728347AbeI0Xys (ORCPT + 99 others); Thu, 27 Sep 2018 19:54:48 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:43489 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727622AbeI0Xys (ORCPT ); Thu, 27 Sep 2018 19:54:48 -0400 Received: by mail-oi1-f193.google.com with SMTP id s69-v6so2875923oie.10; Thu, 27 Sep 2018 10:35:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jZd70GJELwHNZNCIL4XjmIsm7lLpANr90XzdeDYRo/8=; b=D0QUL5AMQRj4mWXTgXhfear9NqU5jGa36xTM6RQMX03asWyOA04LAW/RA5JicWry37 3GjHU+nXW/T4zPWyr2P8vhCTftDV0l37kQda+SIat0z6EDDhlp2s9mBRkOsURsW60tSJ LBDLv+3gq31rIl8Ho3PmvbPMsMuvUyMSeXK9G1X7ah41LbJIfymmhquOZFPnJKkfmKCs E5rnZVCWquO4YdkJsniBFq8S2Y4TTO84pJFYdJNI7A0jp/LOXgED1eBWXT5FZmE+r6cu RjoWgjLqiOR3DydSBwyCSfc7JOpBee+y5RKXS06JALo/sKxiWFDJbUFMr6blOGDlWt3+ 0zDg== X-Gm-Message-State: ABuFfojAB7JF4U1j5HWdeC52JCYfJvzMgsW/27FFyceeox6tWTfWyT/J uHDAWNSy0KrVs6VykxOx/w== X-Received: by 2002:aca:4802:: with SMTP id v2-v6mr3578555oia.259.1538069727191; Thu, 27 Sep 2018 10:35:27 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id f5-v6sm627315oih.51.2018.09.27.10.35.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 10:35:26 -0700 (PDT) Date: Thu, 27 Sep 2018 12:35:26 -0500 From: Rob Herring To: Guo Ren Cc: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com, palmer@sifive.com Subject: Re: [PATCH V5 25/30] dt-bindings: timer: C-SKY Multi-processor timer Message-ID: <20180927173526.GA26777@bogus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 07:39:28AM +0800, Guo Ren wrote: > - Dt-bingdings doc for C-SKY SMP system setting. > > Signed-off-by: Guo Ren > --- > .../devicetree/bindings/timer/csky,mptimer.txt | 46 ++++++++++++++++++++++ > 1 file changed, 46 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.txt > > diff --git a/Documentation/devicetree/bindings/timer/csky,mptimer.txt b/Documentation/devicetree/bindings/timer/csky,mptimer.txt > new file mode 100644 > index 0000000..1e7e31d > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/csky,mptimer.txt > @@ -0,0 +1,46 @@ > +============================ > +C-SKY Multi-processors Timer > +============================ > + > +C-SKY multi-processors timer is designed for C-SKY SMP system and the > +regs is accessed by cpu co-processor 4 registers with mtcr/mfcr. > + > + - PTIM_CTLR "cr<0, 14>" Control reg to start reset timer. > + - PTIM_TSR "cr<1, 14>" Interrupt cleanup status reg. > + - PTIM_CCVR "cr<3, 14>" Current counter value reg. > + - PTIM_LVR "cr<6, 14>" Window value reg to triger next event. > + > +============================== > +timer node bindings definition > +============================== > + > + Description: Describes SMP timer > + > + PROPERTIES > + > + - compatible > + Usage: required > + Value type: > + Definition: must be "csky,mptimer" > + - clocks > + Usage: required > + Value type: > + Definition: must be input clk node > + - interrupts > + Usage: required > + Value type: > + Definition: must be timer irq num defined by soc > + - interrupt-parent: Drop this. It is implied and could be in the parent node. > + Usage: required > + Value type: > + Definition: must be interrupt controller node > + > +Examples: > +--------- > + > + timer: timer { > + compatible = "csky,mptimer"; > + clocks = <&dummy_apb_clk>; > + interrupts = <16>; > + interrupt-parent = <&intc>; > + }; > -- > 2.7.4 >