From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752858AbcF1U4E (ORCPT ); Tue, 28 Jun 2016 16:56:04 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:36071 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752822AbcF1Uz5 (ORCPT ); Tue, 28 Jun 2016 16:55:57 -0400 Date: Tue, 28 Jun 2016 15:55:51 -0500 From: Rob Herring To: Han Xu Cc: boris.brezillon@free-electrons.com, richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 2/6] Documentation: dt: mtd: gpmi: document the clocks and clock-names in DT property Message-ID: <20160628205551.GI3737@rob-hp-laptop> References: <1466804411-19874-1-git-send-email-han.xu@nxp.com> <1466804411-19874-3-git-send-email-han.xu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466804411-19874-3-git-send-email-han.xu@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 24, 2016 at 04:40:07PM -0500, Han Xu wrote: > add the clocks and clock-names in DT property, gpmi-io clock is > mandatory for all platforms, but some platforms, such as i.MX6Q may > need more extra clocks for submodules. More details please refer to the > SoC reference manual. > > Signed-off-by: Han Xu > --- > Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt > index d02acaf..a2fd034 100644 > --- a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt > +++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt > @@ -13,6 +13,13 @@ Required properties: > and GPMI DMA channel ID. > Refer to dma.txt and fsl-mxs-dma.txt for details. > - dma-names: Must be "rx-tx". > + - clocks : The clocks needed by the gpmi controller. This field varies > + depends on the SoC design, "gpmi-io" is mandatory but some platforms may > + need several extra clocks, such as i.MX6 series, which requires "gpmi_apb, > + gpmi_bch, gpmi_bch_apb and per1_bch" for all submodules, while i.MX7 only > + need gpmi_bch_apb. Please refer to the HW design manual. > + - clock-names : the name of the clocks, please refer to the HW design > + manual. No please list the names here (I assume what is above?). Also need to specify the order of the clocks. It would be clearest if you list things by exact compatible strings. Rob