Received: by 10.223.176.46 with SMTP id f43csp27158wra; Fri, 19 Jan 2018 13:14:08 -0800 (PST) X-Google-Smtp-Source: ACJfBovpF93OUFFDGUlJxOLF4sI3TkB0XHv1akQSeCidhuGF3r87fcGFOFR3CX/+Fd8cBxLfphzK X-Received: by 10.99.146.3 with SMTP id o3mr6624539pgd.309.1516396447909; Fri, 19 Jan 2018 13:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516396447; cv=none; d=google.com; s=arc-20160816; b=UODQpJDB2kIsL87ShV1Dg3DheZb/1U/LRuMzPOQGWdz3YVdDzlIcaQ7uT8zn7gL4Q6 jTHEcnkEA7qEB7drgkRyD0xbmIFXsyj0A9mElfdrlgwuG80jdYaSHvP5GmySgWMQp7NM lBSrNzgnPlW6mzVOzxF4QnzGpRQX0VDY1dY15kcDWLLbwq/+doHTBJFOSPcQOwHeCyT4 8kaxk5UkYap2f7zZTiCmFqWI3NvWb4fvU0gkNGd/1MIHLwHm4OXSFSXhhOHYpINt5Xbc nUFCWRY+St1o4CZQrb57vKsY/WkWh32IWwMHdr5AFgQeYG+3a4UMgyjSLAp7erCRUnw9 p6nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=sxON3kE3JoIgJS8k0O2ZdVgetjtX+k6xQEiOqFYytNQ=; b=T69rMMbX9fP98s/kSrLSZvUAOYlw1z/sKKkpVcMkD+NjvTEN48UqC1mKjGAM6ZW9uT rGjsaG6VFxNAEt7G6KlnJj6m53Cwko1MZSqasbYYkJ96/xvdRK80oqi5O7AwtAsn/DoL joABbNLJ+omJ4891lCiOg7UBvFHdya+D5+xFL834PgGIVN/e/dB2YHTGf/VyJxJZNXXh jRGb4cYUzb663K/+6MGkimCKoLeFDWSgR1ZU58iTPhKZLj6JFqg6vvXBC6VnTDskI9lW ppxzKzJtB0GdQx3cRd/TJNISGlTcVgnzi54kOdBrpKCwX/pgkDhgxsLY3p4uEtVDyhUa 07Fg== 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 k69si1464774pgd.749.2018.01.19.13.13.44; Fri, 19 Jan 2018 13:14:07 -0800 (PST) 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 S1756460AbeASVLm (ORCPT + 99 others); Fri, 19 Jan 2018 16:11:42 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:38371 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754118AbeASVLc (ORCPT ); Fri, 19 Jan 2018 16:11:32 -0500 Received: by mail-oi0-f66.google.com with SMTP id m65so2043593oig.5; Fri, 19 Jan 2018 13:11:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sxON3kE3JoIgJS8k0O2ZdVgetjtX+k6xQEiOqFYytNQ=; b=fUQG8NJONkWGbUhAr7RElvmVSO4KNajxCsLrJiDVWG0Tcekscuo9xNUOZxI9dFmtN/ 23OCcBGyvyAIBIBpmV4TZnbzC+JCIppCSNj8wr7Lqgfv3WmM1LzKfgezj8mwytQq4VC/ /q6OoGgf3f111v1JvIfTV50udqD4Gmhc/WxqHwsRXh8zrQUIZC2+nBUG6muMhRpwGd8I NBc1bRC5IFfOS7Rhnm5ZGd4/AmlMY4djlWNNQbwXcYLq/sIbM96WhueTM6PyAwhWlIo4 9YRNhwjFZiHyeI3xBa/ds8ogIEKlFf8fDPDW1Q4LCNDvdRjR6AFQ5YhS+4rVAgk7ZcMZ CC8w== X-Gm-Message-State: AKwxytdBL+s66g/2EbVxRP2kRtLOp/5uLTIQX3Yhymi3LW2H9Ferg6YJ h8Wu/JZ9dZkNyqmbwEhAcg== X-Received: by 10.202.173.84 with SMTP id w81mr5933294oie.299.1516396292122; Fri, 19 Jan 2018 13:11:32 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id f142sm4338224oig.54.2018.01.19.13.11.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jan 2018 13:11:31 -0800 (PST) Date: Fri, 19 Jan 2018 15:11:31 -0600 From: Rob Herring To: Paul Cercueil Cc: Michael Turquette , Stephen Boyd , Mark Rutland , Thomas Gleixner , Jason Cooper , Marc Zyngier , Daniel Lezcano , Lee Jones , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/9] doc: dt-bindings: Add doc for the Ingenic TCU clocks driver Message-ID: <20180119211131.w5ekt63w5j6uxgqx@rob-hp-laptop> References: <20180101143344.2099-1-paul@crapouillou.net> <20180110224838.16711-1-paul@crapouillou.net> <20180110224838.16711-4-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180110224838.16711-4-paul@crapouillou.net> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 10, 2018 at 11:48:33PM +0100, Paul Cercueil wrote: > Add documentation about how to properly use the Ingenic TCU > (Timer/Counter Unit) clocks driver from devicetree. > > Signed-off-by: Paul Cercueil > --- > .../bindings/clock/ingenic,tcu-clocks.txt | 36 ++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/ingenic,tcu-clocks.txt > > v3: New patch in this series > > diff --git a/Documentation/devicetree/bindings/clock/ingenic,tcu-clocks.txt b/Documentation/devicetree/bindings/clock/ingenic,tcu-clocks.txt > new file mode 100644 > index 000000000000..90bb30e07b86 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/ingenic,tcu-clocks.txt > @@ -0,0 +1,36 @@ > +Ingenic SoC TCU binding > + > +The TCU is the Timer/Counter Unit present in all Ingenic SoCs. It features 8 > +channels, each one having its own clock, that can be started and stopped, > +reparented, and reclocked. > + > +Required properties: > +- compatible : One of: > + * ingenic,jz4740-tcu-clocks, > + * ingenic,jz4770-tcu-clocks, > + * ingenic,jz4780-tcu-clocks. > +- clocks : List of phandle & clock specifiers for clocks external to the TCU. > + The "pclk", "rtc" and "ext" clocks should be provided. > +- clock-names : List of name strings for the external clocks. > +- #clock-cells: Should be 1. > + Clock consumers specify this argument to identify a clock. The valid values > + may be found in . Need to say this is a child of "ingenic,tcu" and reference it's binding doc. > + > +Example: > + > +/ { > + mfd@10002000 { > + compatible = "ingenic,tcu", "simple-mfd", "syscon"; > + reg = <0x10002000 0x1000>; > + > + tcu_clk: clocks { clocks@10002010 And ranges needed. > + compatible = "ingenic,jz4740-tcu-clocks"; > + reg = <0x10002010 0xFF0>; 0xff0 > + > + clocks = <&ext>, <&rtc>, <&pclk>; > + clock-names = "ext", "rtc", "pclk"; > + > + #clock-cells = <1>; > + }; > + }; > +}; > -- > 2.11.0 >