Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752401AbdHJADN (ORCPT ); Wed, 9 Aug 2017 20:03:13 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:36116 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbdHJADL (ORCPT ); Wed, 9 Aug 2017 20:03:11 -0400 Date: Wed, 9 Aug 2017 19:03:08 -0500 From: Rob Herring To: Lokesh Vutla Cc: Santosh Shilimkar , Linux ARM Mailing List , linux-kernel@vger.kernel.org, Device Tree Mailing List , Tero Kristo , Sekhar Nori , Peter Ujfalusi , Keerthy Subject: Re: [PATCH 2/6] dt-bindings: ti,omap-hsmmc: Add 66AK2G mmc controller Message-ID: <20170810000308.45bhcka2z4vk4yhm@rob-hp-laptop> References: <20170801044119.16201-1-lokeshvutla@ti.com> <20170801044119.16201-3-lokeshvutla@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170801044119.16201-3-lokeshvutla@ti.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4293 Lines: 90 On Tue, Aug 01, 2017 at 10:11:15AM +0530, Lokesh Vutla wrote: > Update the ti,omap-hsmmc.txt to include information about > 66AK2G specific mmc controller. Also cleanup the entries > under optional properties to look a bit nicer. > > Signed-off-by: Lokesh Vutla > --- > .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 52 +++++++++++++++------- > 1 file changed, 37 insertions(+), 15 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt > index 0e026c151c1c..016741402e37 100644 > --- a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt > +++ b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt > @@ -1,33 +1,55 @@ > -* TI Highspeed MMC host controller for OMAP > +* TI Highspeed MMC host controller for OMAP and 66AK2G family. > > -The Highspeed MMC Host Controller on TI OMAP family > +The Highspeed MMC Host Controller on TI OMAP and 66AK2G family > provides an interface for MMC, SD, and SDIO types of memory cards. > > This file documents differences between the core properties described > by mmc.txt and the properties used by the omap_hsmmc driver. > > Required properties: > +-------------------- > - compatible: > Should be "ti,omap2-hsmmc", for OMAP2 controllers > Should be "ti,omap3-hsmmc", for OMAP3 controllers > Should be "ti,omap3-pre-es3-hsmmc" for OMAP3 controllers pre ES3.0 > Should be "ti,omap4-hsmmc", for OMAP4 controllers > Should be "ti,am33xx-hsmmc", for AM335x controllers > -- ti,hwmods: Must be "mmc", n is controller instance starting 1 > + Should be "ti,k2g-hsmmc", "ti,omap4-hsmmc" for 66AK2G controllers. Same comment here. > + > +SoC specific required properties: > +--------------------------------- > +The following are mandatory properties for OMAPs, AM33xx and AM43xx SoCs only: > +- ti,hwmods: Must be "mmc", n is controller instance starting 1. > + > +The following are mandatory properties for 66AK2G SoCs only: > +- power-domains:Should contain a phandle to a PM domain provider node > + and an args specifier containing the MMC device id > + value. This property is as per the binding, > + Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt > +- clocks: Must contain an entry for each entry in clock-names. Should > + be defined as per the he appropriate clock bindings consumer > + usage in Documentation/devicetree/bindings/clock/ti,sci-clk.txt > +- clock-names: Shall be "fck" for the functional clock, > + and "mmchsdb_fck" for the debounce clock. > + > > Optional properties: > -ti,dual-volt: boolean, supports dual voltage cards > --supply: phandle to the regulator device tree node > -"supply-name" examples are "vmmc", "vmmc_aux"(deprecated)/"vqmmc" etc > -ti,non-removable: non-removable slot (like eMMC) > -ti,needs-special-reset: Requires a special softreset sequence > -ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed > -dmas: List of DMA specifiers with the controller specific format > -as described in the generic DMA client binding. A tx and rx > -specifier is required. > -dma-names: List of DMA request names. These strings correspond > -1:1 with the DMA specifiers listed in dmas. The string naming is > -to be "rx" and "tx" for RX and TX DMA requests, respectively. > +-------------------- > +- ti,dual-volt: boolean, supports dual voltage cards > +- -supply: phandle to the regulator device tree node > + "supply-name" examples are "vmmc", > + "vmmc_aux"(deprecated)/"vqmmc" etc > +- ti,non-removable: non-removable slot (like eMMC) > +- ti,needs-special-reset: Requires a special softreset sequence > +- ti,needs-special-hs-handling: HSMMC IP needs special setting > + for handling High Speed > +- dmas: List of DMA specifiers with the controller specific > + format as described in the generic DMA client > + binding. A tx and rx specifier is required. > +- dma-names: List of DMA request names. These strings correspond > + 1:1 with the DMA specifiers listed in dmas. > + The string naming is to be "rx" and "tx" for > + RX and TX DMA requests, respectively. Is there some change here or just reformatting? Please make reformatting a separate patch. Rob