Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3354260imm; Sun, 30 Sep 2018 18:37:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV61x5F/D8zbFJv/nd7fcFcOxt0KYM6EaLG/P+8klL8lBThEsGaGTeRn2489Ad5u8NAWsp67/ X-Received: by 2002:a17:902:3a5:: with SMTP id d34-v6mr9387715pld.98.1538357839866; Sun, 30 Sep 2018 18:37:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538357839; cv=none; d=google.com; s=arc-20160816; b=nVkQcv4/IWBkZEJoFNsAjlAhO9MJjtowbV+iDUhRo/cHjsbLN5O8Ur6je3cIq3pV9A VCadGK1AC+7Di7oCY1aRM239vxZKy8ttwVze42OHoYQNJI8bn5iz9V2RjWlAR+ECphds fze/Stl8i6lo/Yx9xDk9VpbflD5ptwNNre6AfNlI5gIHf+4clrZDI4yX07vY9kPdI1jo l2vsUxo5XVQeaR8roP+DUrJ7ZltgW1bSMyX18Ivq9xLC6VFDZ+SnPxuu3Wu7CDaDm3fb 9VajA5UIb/pRiR+INcYMGgR1meerkNBjG71JF9sIvimgRtUdi72CjZTub2jQ5oSFabZ9 32UQ== 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=PPGHS2cysvn+l1Xd9Bj953uVPti2EJC0LA3fUlyLbfkRwpaLCOUiIhWAkmq/IBisG/ ABv+VzEaXzzLp7LHzHx4f/jXsn/En607Lk3HYuEielYrvO3hisQJu6qI/uTyXhlByPDJ 4Zz/NVSDU6IO6virAU5W6bnlU88UepOnAnQ1u4ePqo5JYxvm2K88h36cdmLEe4ZIBA3s gbG5OmTWbVpI+iFoAm5gBPCL8jB/AF/MG50AjjRcE1NVBMXAOjcK7jakesFLUGZsxSPH jksXoytrke7cXJK++lbhZ0EEqQ3wviUoIXK2nwugdJ1aEf8cExsb8suR0zWnDCrBWUZy Abnw== 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 r25-v6si11588703pga.489.2018.09.30.18.37.05; Sun, 30 Sep 2018 18:37:19 -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 S1728112AbeJAIMP (ORCPT + 99 others); Mon, 1 Oct 2018 04:12:15 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:38431 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbeJAIMP (ORCPT ); Mon, 1 Oct 2018 04:12:15 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1565424|-1;CH=green;FP=17162995108824298753|1|1|12|0|-1|-1|-1;HT=e02c03312;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.Cy2dG2U_1538357799; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.Cy2dG2U_1538357799) by smtp.aliyun-inc.com(10.147.42.22); Mon, 01 Oct 2018 09:36:40 +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 Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Guo Ren Subject: [PATCH V9 4/8] dt-bindings: timer: C-SKY Multi-processor timer Date: Mon, 1 Oct 2018 09:35:59 +0800 Message-Id: <0632f4d8a3e443dd4da5ae7980816ea5624ab789.1538355281.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