Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3498655imm; Sun, 14 Oct 2018 22:09:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV60k35ZgWd5qca33njM2hobM6N5if+ozXl7yNdF+NK1rnjtJSLWVuGLk5XSMuX7vaRzK67Y7 X-Received: by 2002:a17:902:ea:: with SMTP id a97-v6mr15583258pla.164.1539580141927; Sun, 14 Oct 2018 22:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539580141; cv=none; d=google.com; s=arc-20160816; b=WjDpRXvWNfIrobpAGKP65S8W7OwNUbkMBzJ1Npq47r/PwQKJMGfK4XLZ72wmwIGkkz JeaNfPOw3B68b+qS0HE3tjNt7IBUp7KEx1ealSQQ2gb7wQEheUBQ9xMKbreo4Ye7sAXt TkfuN0jDqn1xT9tamKb4VLX/vbn+Xte6hvA9v3tGi2CxYdU0hDrnYmdjJa8X3GT9Ch0Z 9gTxBt9RZymlluSbDv03T0d/UjNBXRiXtDWTBRSmD3Z7PG2WaynNLHzlqdaoOVXIcC1M snNH+WGtTcKUH35XPV3gQvsJ9X9Wk7gSCb2ePzaCqvyrAsJwUIMucztinc/o6/dKCo1L 18qw== 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=nZVGnYnZoB0pChDEl3xmD7+W6Ye395EtfDFXa2jj4sk=; b=h0uuGLacdQNvltXHbIUaG3ekyMIwTUL+D2zri8oqWyDOlsCumrAS5xjWaqLIt9dVaV 83CFy92iqVsQiwhsjWTufEiQRi4JApAlfc9uWb61Bc7yBZBxw+8VD81hAhcqi/jtceKR To/HvjrOu5AEpkwII2uGtXZPqlqAqx1Ww9UOhRqUODWjA5vIrDsRR8DKn9b1x/AMgD2j Qqar1RV5XeuGf3ih4cF0v3Xm2QNaPFaDPhXxtTZAZ5ykQ76GK6cHq6Fg2wrGPujQlUsJ HZxaAC0eR2JgNqqf/TKKpVDptxl6HcHzURi9/TuONw+Zhvqq0ZzXSekpK1sA8KjFIcM8 OGqQ== 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 e68-v6si10074983plb.313.2018.10.14.22.08.46; Sun, 14 Oct 2018 22:09:01 -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 S1726689AbeJOMvv (ORCPT + 99 others); Mon, 15 Oct 2018 08:51:51 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:35645 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbeJOMvt (ORCPT ); Mon, 15 Oct 2018 08:51:49 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1514162|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03291;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D2CJ4qP_1539580082; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D2CJ4qP_1539580082) by smtp.aliyun-inc.com(10.147.44.118); Mon, 15 Oct 2018 13:08:03 +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 V13 2/4] dt-bindings: timer: C-SKY Multi-processor timer Date: Mon, 15 Oct 2018 13:07:42 +0800 Message-Id: <0f7cbde6462150c6ddb058d89d59ce35c3d6da9f.1539579760.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <7becd836e1477d7ac2d3f8538a6d7f5b9651c389.1539579760.git.ren_guo@c-sky.com> References: <7becd836e1477d7ac2d3f8538a6d7f5b9651c389.1539579760.git.ren_guo@c-sky.com> In-Reply-To: <7becd836e1477d7ac2d3f8538a6d7f5b9651c389.1539579760.git.ren_guo@c-sky.com> References: <7becd836e1477d7ac2d3f8538a6d7f5b9651c389.1539579760.git.ren_guo@c-sky.com> 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. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- Changelog: - Drop the interrupt-parent. --- --- .../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