Received: by 10.223.185.116 with SMTP id b49csp3834523wrg; Mon, 19 Feb 2018 06:48:29 -0800 (PST) X-Google-Smtp-Source: AH8x22456NCPsQq+yDnp6LuIxBMfbD1gqQeYXi+KWsMg0IAAIvLUNI0M2iQ3cWc0VV+uWWkIGSFJ X-Received: by 2002:a17:902:8a8b:: with SMTP id p11-v6mr14493421plo.74.1519051709535; Mon, 19 Feb 2018 06:48:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519051709; cv=none; d=google.com; s=arc-20160816; b=JhflPpBCbxikO+i4ak6zqKITzzT7sVVU/vS5eP9ATuaQjmMA2K7dkOvMnMIBdDR7jv 4IN//mtvV2Qh8vdMSQoDrQhRKjJGJjwCDhWPxFPhA1khco7xVvGDxj4VKpb+GoZq0eXT LHGgKyBCoUD8aX0LaKrKCxEfBoY7jFKBuAhCiFWwcg76aq9QoXttqAR3iVNbJaXZagvB DhEzruxcSC0RPXnCoaZgPMl4XXD+Yu3xkrofOTheSCgL3L4+CNJEF5x954Pir98XOK96 XSqLdPxrRXwhwlPqi6sApmEC2kzKxTd+2wP0T9pL19DzDIM4OWSLzL+ugpBN2hBmNuFX nURA== 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=4nyEdi5wYHRT1MxbZsmN9I/Ukf8/jdGLEjFKTHv/HNI=; b=gmQgF3DF/96hCxoS2AfdrgW3Zkh+r6GIJ6sMBU9spefToZe8xV2/1yucNWngsmrBSF CyRsP+zTPyCNH5p2pWaFczvaZVHGlrL1DdpwTQ7ooeNjY6/AoTKY8qcRysjNiEeYD6lI EIQV+2/Mip2l7GogDavJlpT55SAhozefj3o5HsgtGHe7DsdVRkDLMTqy/gZAY8ZvVbwr fzhR7Wpp/Sy/gkrCenMNLsHQETPIgSNF0obXo8tl0bme/m2CQiToTb78eXj9NaR/D/1/ 4Gr4l60fyVUpCJa4pfRzDvsBSacFM2123crT1PIYhSrb5MigA8iszWysXvW5frHvStL0 w7ig== 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 p3si4386906pgr.379.2018.02.19.06.48.14; Mon, 19 Feb 2018 06:48:29 -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 S1752772AbeBSOrj (ORCPT + 99 others); Mon, 19 Feb 2018 09:47:39 -0500 Received: from mail-ot0-f195.google.com ([74.125.82.195]:36282 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751446AbeBSOrh (ORCPT ); Mon, 19 Feb 2018 09:47:37 -0500 Received: by mail-ot0-f195.google.com with SMTP id b15so2702356otf.3; Mon, 19 Feb 2018 06:47:37 -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=4nyEdi5wYHRT1MxbZsmN9I/Ukf8/jdGLEjFKTHv/HNI=; b=Spg2QWqlG/HC+v3XCdmkraPp2AIdLnxMR7Cs6P+LmYDAhWBMjjYjCaaEbRcQ8egRkE J9EZBFJpzn7lZ6gdwjGjE85ZPP+O3IGWSf6nOwDVxRwpwgABZRwRE3ugCQJG+ph5xoHs 2pp59LOhMJ3iu14jksDAKdPfMDZSS2WuJ1ZvXMKLZff0rO1/rkpt7++n3V0RyOQHz1O1 SFLW5H5N17Eaj+q6KCkwJ6L6xD12tNunK29ro5B0Rwn4eAk8AcXdL9nRiQHViYcSgaw8 85H7YL/fnG1cgIwimVLn/HLP9RHZ8BaQDNVZY3TUl13ZH9mNq44IXwPB6IHCZyvYe8jl OQZQ== X-Gm-Message-State: APf1xPDjYW+RBIr2nwEHYvYRIwgRu0saB4HH1vvZQtya+GHYFegUstdA 9PXnG8G1nQfhChMLfRnIZQ== X-Received: by 10.157.4.163 with SMTP id 32mr10385558otm.222.1519051657176; Mon, 19 Feb 2018 06:47:37 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id w8sm12301631otj.32.2018.02.19.06.47.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2018 06:47:36 -0800 (PST) Date: Mon, 19 Feb 2018 08:47:35 -0600 From: Rob Herring To: Ludovic Barre Cc: Ulf Hansson , Maxime Coquelin , Alexandre Torgue , Gerald Baeza , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH 1/5] dt-bindings: mmc: document the stm32 sdmmc bindings Message-ID: <20180219144735.sbxa76z6aik3w453@rob-hp-laptop> References: <1518701697-14242-1-git-send-email-ludovic.Barre@st.com> <1518701697-14242-2-git-send-email-ludovic.Barre@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1518701697-14242-2-git-send-email-ludovic.Barre@st.com> 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 Thu, Feb 15, 2018 at 02:34:53PM +0100, Ludovic Barre wrote: > From: Ludovic Barre > > Document the binding for stm32 sdmmc controller. > > Signed-off-by: Ludovic Barre > --- > .../devicetree/bindings/mmc/st,stm32-sdmmc.txt | 35 ++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mmc/st,stm32-sdmmc.txt > > diff --git a/Documentation/devicetree/bindings/mmc/st,stm32-sdmmc.txt b/Documentation/devicetree/bindings/mmc/st,stm32-sdmmc.txt > new file mode 100644 > index 0000000..52eb1f8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/st,stm32-sdmmc.txt > @@ -0,0 +1,35 @@ > +* STMicroelectronics STM32 SDMMC controller > + > +The highspeed MMC host controller on STM32 soc 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 sdmmc driver. > + > +Required properties: > + - compatible: Should be "st,stm32h7-sdmmc" > + - reg: mmc controller base registers > + - interrupts: Should contain the interrupt number > + - clocks: Should contain phandle for the clock feeding the controller > + - resets: Should contain phandle for the reset feeding the controller > + > +Optional property: > +- st,dirpol: Allow to select direction polarity of external voltage This doesn't need to be so terse. Perhaps "st,dir-output-high". > + transceiver (which manage data and command direction). > + if set: Voltage transceiver IOs are driven as output when direction signals are high, > + else: Voltage transceiver IOs are driven as output when direction signals are low. > +- st,negedge: generate data & command on sdmmc clock falling edge st,neg-edge > +- st,pin-ckin: use sdmmc_ckin pin from an external driver to sample > + the receive data (example: with voltage switch transceiver). st,use-ckin > + > +Example: > + sdmmc1: sdmmc@52007000 { mmc@... > + compatible = "st,stm32h7-sdmmc"; > + reg = <0x52007000 0x1000>; > + interrupts = <49>; > + clocks = <&rcc SDMMC1_CK>; > + resets = <&rcc SDMMC1_R>; > + bus-width = <4>; > + cap-sd-highspeed; > + cap-mmc-highspeed; > + }; > -- > 2.7.4 >