From patchwork Sun Sep 16 09:30:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Ren X-Patchwork-Id: 970310 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=c-sky.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42CkXB1Vtlz9sB4 for ; Sun, 16 Sep 2018 19:31:05 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727391AbeIPOxW (ORCPT ); Sun, 16 Sep 2018 10:53:22 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:53496 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727367AbeIPOxW (ORCPT ); Sun, 16 Sep 2018 10:53:22 -0400 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1315224|-1; CH=green; FP=16647443445966517625|1|1|5|0|-1|-1|-1; HT=e01e04463; MF=ren_guo@c-sky.com; NM=1; PH=DS; RN=8; RT=8; SR=0; TI=SMTPD_---.CrU-5Rv_1537090259; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CrU-5Rv_1537090259) by smtp.aliyun-inc.com(10.147.42.135); Sun, 16 Sep 2018 17:30:59 +0800 From: Guo Ren To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Guo Ren Subject: [PATCH V6 2/2] dt-bindings: timer: gx6605s SOC timer Date: Sun, 16 Sep 2018 17:30:56 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: <4d409a1fdecf1c376e8cc6b55308cd3c522047b0.1537090237.git.ren_guo@c-sky.com> References: <4d409a1fdecf1c376e8cc6b55308cd3c522047b0.1537090237.git.ren_guo@c-sky.com> In-Reply-To: <4d409a1fdecf1c376e8cc6b55308cd3c522047b0.1537090237.git.ren_guo@c-sky.com> References: <4d409a1fdecf1c376e8cc6b55308cd3c522047b0.1537090237.git.ren_guo@c-sky.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Guo Ren --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt diff --git a/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt b/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt new file mode 100644 index 0000000..6b04344 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt @@ -0,0 +1,42 @@ +================= +gx6605s SOC Timer +================= + +The timer is used in gx6605s soc as system timer and the driver +contain clk event and clk source. + +============================== +timer node bindings definition +============================== + + Description: Describes gx6605s SOC timer + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,gx6605s-timer" + - reg + Usage: required + Value type: + Definition: in soc from cpu view + - clocks + Usage: required + Value type: phandle + clock specifier cells + Definition: must be input clk node + - interrupt + Usage: required + Value type: + Definition: must be timer irq num defined by soc + +Examples: +--------- + + timer0: timer@20a000 { + compatible = "csky,gx6605s-timer"; + reg = <0x0020a000 0x400>; + clocks = <&dummy_apb_clk>; + interrupts = <10>; + interrupt-parent = <&intc>; + };