Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2993216imm; Sun, 30 Sep 2018 09:20:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60THrB/ojy1wx4kF0n9pNKUJIW2Te8/BCHGipTWq/UqlERlSzrr4gZHd88w2e7y5ru4l+Fj X-Received: by 2002:a62:1dc2:: with SMTP id d185-v6mr7547217pfd.219.1538324415552; Sun, 30 Sep 2018 09:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538324415; cv=none; d=google.com; s=arc-20160816; b=TFOBCpKKgwC0wiVeo9/iD6XWeSNYgPgysK35Ybb0TAYRjSLvBUL0V9WUuW2zMtmn9F NrOs/FNtvioLM4ITmIojBY/mJY3wEQqoGFbsJTnOTyAIEiisto/VLtX+sTLGPZUaAVCn +kzAC/JVXcftA8S3d2jzSOxDPSOYaE4pHkhUu1XQYFdcaKMCb5OUydiPExTtMiPkUiaT c/s9QlAO1h521Ixg7hTWKfoSOBoqLQP4SAifH66vJf/DqRm9p7YMcXFxLMokU+vhEqOo Ryfa72bDa/vDuPojhZlOkxpzsNpTPnRK3XyVdK3p6KUHkrVabKQdLykctrmSPGpvPiZU EtwA== 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=YtVKuHppXJ3NWCUXJGfNyFJNtg8JHKMGSxR2NRmmNrzAOo2gVJLlBUgCVffPn+kEas 6RFyFHWcjlEaqxiYLa11D73cjkE2k7Bkp4A/IMfActRwJufiG44zBEJWXRcwWjSrtlgj EldpcHOrLyLO5pQhQDikvbnZ2R++QPpwnvlQtHKbXnM8JlGfnv0ZPRv8LQzEJOqseBBc guOdw1ElsBd3dmofIxHXb3ZHhCIJ7aWK+poJyzXqrzAFWI1NzAdu7Qu7glSt0abfrO2F 1+HgWxTIAmCA0OSHhTWA6z3W/07nMSbHw1yc1YA5/8WpySMttvfBGqu/tQLNYtRwW5za vyfw== 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 x85-v6si6461526pfk.54.2018.09.30.09.19.46; Sun, 30 Sep 2018 09:20:15 -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 S1728623AbeI3WxO (ORCPT + 99 others); Sun, 30 Sep 2018 18:53:14 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:55191 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728612AbeI3WxO (ORCPT ); Sun, 30 Sep 2018 18:53:14 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1529636|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e01e01546;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.Cxw3q4f_1538324360; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.Cxw3q4f_1538324360) by smtp.aliyun-inc.com(10.147.41.178); Mon, 01 Oct 2018 00:19:20 +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, f.fainelli@gmail.com, arnd@arndb.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Guo Ren Subject: [PATCH V7 4/8] dt-bindings: timer: C-SKY Multi-processor timer Date: Mon, 1 Oct 2018 00:18:45 +0800 Message-Id: <0632f4d8a3e443dd4da5ae7980816ea5624ab789.1538323894.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <9d68bdd87a8c91f4ee35ff4311e273ea81ab9eb4.1538323894.git.ren_guo@c-sky.com> References: <9d68bdd87a8c91f4ee35ff4311e273ea81ab9eb4.1538323894.git.ren_guo@c-sky.com> 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