Received: by 10.223.185.116 with SMTP id b49csp3866388wrg; Mon, 19 Feb 2018 07:17:21 -0800 (PST) X-Google-Smtp-Source: AH8x226nPSEVeJfFyvCeSlDMLmu4GS1aPFDTr7zUxE+OYC4oXISXo6UrHxAsml7JRobJ4kqPeYHI X-Received: by 2002:a17:902:64d0:: with SMTP id y16-v6mr14463897pli.258.1519053441702; Mon, 19 Feb 2018 07:17:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519053441; cv=none; d=google.com; s=arc-20160816; b=syYdc81KPG4WpjuryWbBVAbW3oLJiHdRs+g+3LrGgbPdeo7aD1abaWw+1EQENl2dQz bX3X4u8/qT5HNAl70Ion+ySVG3cMlNKkLY9gLd0OWAx0yzKR2QgWMAN/zClMf5Edt4GF aMPnT/bZRlD/Q+1ltNcXcnQsrWecErYBqX7UFPP9q5YwXPqAALxPOfBiq859MRiTJulm nHZgfk4DHbXYzDBiCxwtjO+9hLgl+EMoN5ibtqrg51QFwC80rj9pSgi2Rn+YmJZvgmOr OPh/yjasU5HQCfIiGwNfI9RoV6Ey/brvSsi3AQsxr5HNMugJjaBCjXQUx2eJBNcvWTFn HlYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=mrGdFyj784xqVDY+aRvtM6pph+SSvVRsMfJswx6p6Qc=; b=h2b22oF/EBvjpPTTmce/8aS/4Ae6KihWu+ZQE8DwWljwFAesUFwXRwq59R/LK44jqh eMz2dnuyqMbkZ+oWUuA571nXwGaFgeQtCysoY7YM/7h7AqS1JZQD7GvbMYL2CtuFM6su Q0azW3gvSTE6WQGn5UrUgkjM9oakjBG/Mk69UgWjCN0FhruKkbn2Vefecfgj4yWJgv0T h7us8aQGyce8ygxN7jsuRa+bqVUosS6AcJ7BTroO8jwon7ptDX5uYXG+wuid1bqhzT5b nmMYm6ZMDRXnclCIsaiCIhnYeeA+eW2kL3/uAXal/SLtIAb7V6QIMuksrX60N2ltMAn+ phBw== 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 q10si2522459pgd.335.2018.02.19.07.17.06; Mon, 19 Feb 2018 07:17:21 -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 S1752913AbeBSPQ0 (ORCPT + 99 others); Mon, 19 Feb 2018 10:16:26 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:7797 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751528AbeBSPQY (ORCPT ); Mon, 19 Feb 2018 10:16:24 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1JFEV8F021487; Mon, 19 Feb 2018 16:16:04 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2g6ad8jas6-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 19 Feb 2018 16:16:04 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F270434; Mon, 19 Feb 2018 15:16:02 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CF61D55C4; Mon, 19 Feb 2018 15:16:02 +0000 (GMT) Received: from [10.48.0.237] (10.75.127.44) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 19 Feb 2018 16:16:01 +0100 Subject: Re: [PATCH 1/5] dt-bindings: mmc: document the stm32 sdmmc bindings To: Rob Herring CC: Ulf Hansson , Maxime Coquelin , Alexandre Torgue , Gerald Baeza , , , , References: <1518701697-14242-1-git-send-email-ludovic.Barre@st.com> <1518701697-14242-2-git-send-email-ludovic.Barre@st.com> <20180219144735.sbxa76z6aik3w453@rob-hp-laptop> From: Ludovic BARRE Message-ID: <12fc58db-3b21-4c83-30ce-e1b495928dbc@st.com> Date: Mon, 19 Feb 2018 16:16:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180219144735.sbxa76z6aik3w453@rob-hp-laptop> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG5NODE3.st.com (10.75.127.15) To SFHDAG6NODE1.st.com (10.75.127.16) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-19_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi Rob Ok for all changes BR Ludo On 02/19/2018 03:47 PM, Rob Herring wrote: > 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". > Ok, I take "st,dir-output-high", your're right it's more descriptive :-) >> + 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 > OK >> + >> +Example: >> + sdmmc1: sdmmc@52007000 { > > mmc@... > OK >> + 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 >>