Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1250618imm; Thu, 4 Oct 2018 10:25:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Pc3yxtzyiwlxOwZ0TI5xeScXYOeJ2cdCHVO6+c9IvH8ZumiWn9y1UAh524Y05vJ0v19Hc X-Received: by 2002:a17:902:748a:: with SMTP id h10-v6mr7646907pll.192.1538673910036; Thu, 04 Oct 2018 10:25:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538673910; cv=none; d=google.com; s=arc-20160816; b=lKdH6PQAi9lMGG9w/lpQ+RmF3YEwGWaW5k9y9StSMuPPvp8HaGkKul9twPamfPrdwN kY4kruBnE+34ay1l2HKDq8J9fgWYeuhoQ5Xaoq9HS0ozlcJZdHwLcAMDdqfwrJX/87Y1 lPT60EbwgbTovN0jBTseb29nlo3ZBp9L6BOC6/Cmq4sbdBi6A5unf9hrnM/qICrWkR6V gFzJM1fJ/8eUwE8jjWSg96E0XtunyLlM5nnsQbpOpNpAnVPkAmOBpaPbUAG01xW0+aeP Dcm7ghgHe4NNKkp+ogY3VBgE2m7eyKU5nJmCa7wkxUIcTAHzIJ3adQ87aibQEgaphLuh F2iQ== 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=hUTPKyvsnGtB8DvCVyRKdYeYlGG5yT0UH7xmIXgd+Mw=; b=Xwv4uKPu+tfLo8BufUIVBF20eaHs6Ly+7lyhOuzHIpq/eun5tg9Ejt/3BKQL6e/IH2 m1PZl3c085TUrsJ//KcTr23g8AhOlQxpCcYTVEijKas1Ctkk6AOvEFuNC+dxL1dPHwt4 CbMJwQnfd4h+gbUy99/4V2qpXHpNCfhOCiCb9eNExn4kaia4UdmEhNr8+t2OvLnNWn1O Oof4s6QIjpKhZGy7myU5MUwlbyIREXF9IgdVG7uo3Vqz6wdCEDlCj3R/wzJrDQ04ZOdx Zf1TDK4Mx0VtKD8xhn8M9X/7ypV4mC20GPKD/FOoQwxJed+l7v65JElsbOCIfZrZMivQ YwwA== 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 j4-v6si5595885pga.152.2018.10.04.10.24.54; Thu, 04 Oct 2018 10:25:10 -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 S1728197AbeJEARf (ORCPT + 99 others); Thu, 4 Oct 2018 20:17:35 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:52663 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728178AbeJEARe (ORCPT ); Thu, 4 Oct 2018 20:17:34 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.151662|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03290;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=17;RT=17;SR=0;TI=SMTPD_---.CzPqqhh_1538673767; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CzPqqhh_1538673767) by smtp.aliyun-inc.com(10.147.41.231); Fri, 05 Oct 2018 01:22:48 +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, anurup.m@huawei.com, Jonathan.Cameron@huawei.com, will.deacon@arm.com, zhangshaokun@hisilicon.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 V10 6/8] dt-bindings: timer: C-SKY Multi-processor timer Date: Fri, 5 Oct 2018 01:22:26 +0800 Message-Id: <98c73d601d7ad98993ecfe8d8ce4b5abbc07e4da.1538672812.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 --- .../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