Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp688599imm; Fri, 12 Oct 2018 05:14:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV61T+Vo/UtvmBMOqqSP6pialK77ohlBP39zURJ6bNIhhLSfjob+xhhLO8GR2yeMIHRg9ziff X-Received: by 2002:a62:642:: with SMTP id 63-v6mr5762682pfg.190.1539346448979; Fri, 12 Oct 2018 05:14:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539346448; cv=none; d=google.com; s=arc-20160816; b=oymY73/gfeN0XnH7uZb7Jey9/XFKJXaimeucCAziQnMEudzUqF4/cTmw2ko0wP9T87 xocSgeMugPxG9LtkRcFE4FBS25euwwiofIGyrntdScXiUibBbW2qolc7G54KgxkfW+9W B9Vl/KzlnPy9biaY0N5Dr0uQ0WimQWV8Wq0TiKj9baY5KUsCvuZ7ytiqpozBoxnJUG4n H5IegHUlF3IjgHPz6qq5cUyyd4RC8CIUKwjBOJb/Wk2Y+0WcNAkSzHAstgIdsfDo7WzB IWAy2clO4edP+dVqRPGsMIDNBqwOZ2XUknxopfDsbesQzRUYBljfb+dP+OeNRRYbVHyo 1pjg== 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=Dw0w7eLcxgFNU3Q5yQsS1jP/GMLMaAcfcppzNxZIE13liy8qUyku8kY/ks2+x1MkGT m3vsAeqol5Akf9Cc8DThjY1dZtRRHi6iAhPm6xpTlMd98Bk/D1zN0hlsLkiFcVgvL7p+ PAlK/Z0JUKpT8DgkwNooYllEMGTwvPGpleGsnR9EyJbtYxI9Xj+VNOdo1nbrf2/sjbEm vrd1W+pprKpPH7orhHWXtpevoiawlfg1vxAPhqf5BgQbQInNbcNU84WKEwBWGJZL5sFX OVmnHgXxBMYv9Knr//jepisg3pAs+R3iTVjkccF8l/bXbpA0h8H4HFe6EeleZoQKpcwb aunA== 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 x17-v6si1112946pgl.414.2018.10.12.05.13.54; Fri, 12 Oct 2018 05:14:08 -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 S1728692AbeJLTpZ (ORCPT + 99 others); Fri, 12 Oct 2018 15:45:25 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:45859 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728145AbeJLTpX (ORCPT ); Fri, 12 Oct 2018 15:45:23 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1463838|-1;CH=blue;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03309;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D162q7v_1539346360; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D162q7v_1539346360) by smtp.aliyun-inc.com(10.147.44.129); Fri, 12 Oct 2018 20:12: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, 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 V12 6/8] dt-bindings: timer: C-SKY Multi-processor timer Date: Fri, 12 Oct 2018 20:12:19 +0800 Message-Id: <45401df64791c7badd5dd8d3101031e2cddaf213.1539315341.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