Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4959529imm; Tue, 9 Oct 2018 07:42:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV639GZGjiWMVUHBi9KHSh0/T3N4jj+7acn/g0g1pJ1QYwMLcQ7/1EGMX0STABU6rjIHlVGY1 X-Received: by 2002:a17:902:7142:: with SMTP id u2-v6mr29431044plm.154.1539096176133; Tue, 09 Oct 2018 07:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539096176; cv=none; d=google.com; s=arc-20160816; b=cpmAQW/53568NqScJskuVzezvHDVQixGuity8gLa5qVO+U119LylzX/6tqyckLQG4c DUgaLyjZPopt1fZ0hckTodH413sh8673VBkg1iVtcbic82PSInHPj/Z6VNe42Dq/30Df kfcPtbWynm3uO3YBo9qkLEK+zcP6ifL4+fLh84Gz7Q3E2qnMIOryBCF05ScjO5Lu/hk5 1KuMsecXV4wkuRIdYp9eI2/p3hhKBaiT/nCyAV2dMczEHraiT+Tm6hLE9f6cO9FnbO5e vbnKV29rfUd4kEt1kIZ/dkSUarfFZ+9Q773n96qojJ2AJg0k3nes9irVw0mMmYjZfV63 jiEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=D1jiWOmOEhoMTDoX3SCrWueFLWcRBJiIYHsDJBOVaMY=; b=iWihriWzei4uH8rkGReUOPPgDcDep/LEu3JsFN1TcYMUNrrWnTET8PXuQ1dXxnJSq5 MESbhnmuNoJ3yXwY/2fEqV9i236xMDOLOjogVQSBg4WrljMA7i9lJzeB8E9sgMO9K/Ob i6jR7mINF2W7cbNVN+Nl3CQUdqOjr+oPS75Ovc9RBNebpjQhakJSV33MrE9qBIBm9w2R IGuP2KwDBI79N0JgoFjDAhkQIQlIOMT3abinfg/Gni6tl824eBNRX5GzrdX2+Paw4Kyd qTc4F1DHJRFK2QWdPvMmQPVC87G+iqrTa1mO6wd8OULwGMZY8jVsUl7Dr8ebezi8cBL1 PQTw== 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 y20-v6si19664004pgl.125.2018.10.09.07.42.40; Tue, 09 Oct 2018 07:42:56 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726868AbeJIV7Y (ORCPT + 99 others); Tue, 9 Oct 2018 17:59:24 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:55226 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726564AbeJIV7X (ORCPT ); Tue, 9 Oct 2018 17:59:23 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1496118|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e01l07408;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D.eF9LX_1539096116; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D.eF9LX_1539096116) by smtp.aliyun-inc.com(10.147.42.16); Tue, 09 Oct 2018 22:41:56 +0800 From: Guo Ren To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, daniel.lezcano@linaro.org, will.deacon@arm.com, jhogan@kernel.org, paul.burton@mips.com, peterz@infradead.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Guo Ren Subject: [PATCH V11 6/8] dt-bindings: timer: C-SKY Multi-processor timer Date: Tue, 9 Oct 2018 22:41:33 +0800 Message-Id: <47ead8f3b9c1d29d4e7f960e0e07ca0f0d0787c7.1539095312.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dt-bingdings doc for C-SKY SMP system setting. Changelog: - Drop the interrupt-parent. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../devicetree/bindings/timer/csky,mptimer.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 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..15cfec0 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/csky,mptimer.txt @@ -0,0 +1,42 @@ +============================ +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 + +Examples: +--------- + + timer: timer { + compatible = "csky,mptimer"; + clocks = <&dummy_apb_clk>; + interrupts = <16>; + interrupt-parent = <&intc>; + }; -- 2.7.4