Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp27997imm; Wed, 5 Sep 2018 17:49:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZL4itD5/4lpPHmz+gV3BSINdmmSRnvFxDvPfAxcrGTDag64javtru9DYC46Rm2O1MHyn1H X-Received: by 2002:a62:3644:: with SMTP id d65-v6mr295672pfa.133.1536194995800; Wed, 05 Sep 2018 17:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536194995; cv=none; d=google.com; s=arc-20160816; b=aG3lB+NmunDNwZyUXBOwP449+gdMTrORDIRTF9iqpKNKwU+H3v3ogPb65LHQTihF/M nAZ20yotlnabf9qzUk9p9pP2cBlIzYU1aXahnFg62joFni6rpGiidoorHKAkz38IW/l3 YDNjc2XBYohMvwJtIifndhPsOAvwGDXfb53wgSD/20KHGvt2IzMxfi6KVMa+eVpI8K1t luuC5nAVJkSc48YmF02Dcxiw0jldVrCNLYGfs+g/gR0wJKX6T3KvI2vHxRbfTSRDQ4ML itzd8q1JI6Wp1i2pkYd8kKEkBubCwds8a5nENrkQNIuCgG9MlbOnY5ejjmn0SJHGtfJV Fdcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=o/94KpfrApopehYa44oy06KYLaW2mUujUF2XnIayISw=; b=O6vikT1VROikNXXSilpK2tFj27h05S1EdHy77TnInyTLu3RtXoKvV5hKe5dDaghYoe O8K4ekQl+fRHZc5p8Vs/vw9IhgPhvyQCnC1v0z2LJg7ldbCBC591twmuA+ZJIs/c0i4f 1QbieiNe9GUHTss0enq42D6j8y2TA2IUkEr+9xA9UPLFl7XqO3YuKAmaa9R6MbQIqvOg CaxkiSKmGCjuR1AjweMiZnVx1+Ny50kjuuR9bYpgC9ebKTYo3WTYbK6MV1claTEfVefr 9ngcsCa5H92rlyjrD+UZVmEMaeERPEpUyhXxvzfG2nkAhbHkwePtgDOtHPnYE7tnnJ9r aiNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LPhghl3D; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g131-v6si3461781pgc.204.2018.09.05.17.49.39; Wed, 05 Sep 2018 17:49:55 -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; dkim=pass header.i=@linaro.org header.s=google header.b=LPhghl3D; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726495AbeIFFUZ (ORCPT + 99 others); Thu, 6 Sep 2018 01:20:25 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35863 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbeIFFUZ (ORCPT ); Thu, 6 Sep 2018 01:20:25 -0400 Received: by mail-wm0-f68.google.com with SMTP id j192-v6so9503796wmj.1 for ; Wed, 05 Sep 2018 17:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o/94KpfrApopehYa44oy06KYLaW2mUujUF2XnIayISw=; b=LPhghl3DGCpDiOJ+k00a+L2108ZMhdmAZ7Bu0XZjZZ6Odb2wg+fIRuSR1nzdnxBIaE CjeoaE0GvYOFqQhm/I6nsTadyxrLiLQfI36efNKZH3ATIPdkuQeSq2T4/SYz5mIM5COM fOoa5sRjCWUP1AxOnWebdGJScS3Isov7adDOQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o/94KpfrApopehYa44oy06KYLaW2mUujUF2XnIayISw=; b=eaHe6j2VWgSIImXQcMSKVUEsNQ4Htqqx3XF/NaKVlRWRtP9fkAxhfLvFaap6TsEf2m jXA9gSEJBns9Qx7geaCwlqEx9hMlwbqZlNNz83XYiA5qoLHS5pYJDqgufb423DbeUoLb iv9T+L9J4yRMAdu33eqUvO5G1TQENRKTB/AZwzogz9ykSjzT4SbbveGUgzr55mx29o6R TZk7oVeqL/w2IXNZ6RU80bT+gddERFy3tsPZhJ2EOBz3L/DSL//HOKgA2DT+cpSrRwF4 4DK+BZ7tvQXCcr0bZCh9a3D4kbFLu4z5eiOHbxTSVlb1FnNpgkxjFoT/UGutEqFilTPJ E7XA== X-Gm-Message-State: APzg51C75Bmk+we9fvI2o8pcHRA86XKzyH4LAV1QXF/OXNEvJywAqSGK SvGZzK2Bb5el9v46XA5XIzBDScsFmVjBvvBgr3JmnQ== X-Received: by 2002:a1c:cb4d:: with SMTP id b74-v6mr520496wmg.123.1536194860638; Wed, 05 Sep 2018 17:47:40 -0700 (PDT) MIME-Version: 1.0 References: <768ac390f9eee8acb4dc9ca85a489a1d2fd00628.1536138304.git.ren_guo@c-sky.com> In-Reply-To: <768ac390f9eee8acb4dc9ca85a489a1d2fd00628.1536138304.git.ren_guo@c-sky.com> From: Rob Herring Date: Wed, 5 Sep 2018 19:47:29 -0500 Message-ID: Subject: Re: [PATCH V3 19/26] dt-bindings: timer: gx6605s SOC timer To: ren_guo@c-sky.com Cc: linux-arch@vger.kernel.org, Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , Arnd Bergmann , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, Greentime Hu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../bindings/timer/csky,gx6605s-timer.txt | 46 ++++++++++++++++++++++ > 1 file changed, 46 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..1136d9e > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt > @@ -0,0 +1,46 @@ > +================= > +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 > + - interrupt-parent: This is implied. Don't need to document it here. > + Usage: required > + Value type: > + Definition: must be interrupt controller node > + > +Examples: > +--------- > + > + timer:timer { Needs a unit-address. > + compatible = "csky,gx6605s-timer"; > + reg = <0x0020a000 0x400>; > + clocks = <&dummy_apb_clk>; > + interrupts = <10>; > + interrupt-parent = <&intc>; > + }; > -- > 2.7.4 >