From patchwork Sat Aug 6 12:55:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 9266137 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C3FF56075A for ; Sat, 6 Aug 2016 23:20:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9523282ED for ; Sat, 6 Aug 2016 23:20:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8590D28408; Sat, 6 Aug 2016 23:20:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E4C4282ED for ; Sat, 6 Aug 2016 23:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750980AbcHFXUX (ORCPT ); Sat, 6 Aug 2016 19:20:23 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:51040 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750954AbcHFXUW (ORCPT ); Sat, 6 Aug 2016 19:20:22 -0400 Received: from localhost.localdomain ([95.91.40.150]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0Mgw4G-1brvid06c4-00M64d; Sat, 06 Aug 2016 14:56:11 +0200 From: Stefan Wahren To: Fabio Estevam , Ulf Hansson , Rob Herring , Mark Rutland Cc: Dong Aisheng , Otavio Salvador , Holger Schurig , Shawn Guo , Marek Vasut , Sascha Hauer , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Stefan Wahren Subject: [PATCH RFC 1/3] DT: bindings: mmc: Add property for 3.3V only support Date: Sat, 6 Aug 2016 12:55:38 +0000 Message-Id: <1470488140-10104-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1470488140-10104-1-git-send-email-stefan.wahren@i2se.com> References: <1470488140-10104-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:sXCbn+7oKbebaAloI37VU+foi8B59PP0yRrPe7hCxqFPjNPKbwH H7fj8mTINvfQMBgMAkLkgEOh3QO3sTvspUqCmIUBsYmmOxVI3NgRqaztVtsEve7bVvRvN0e ossVlwHvRDZqe+67Ih44zoqnVZo7ZOMNibOc7gYJHh33YACU3/8kc0nCzOFE4/dhcvynHl5 YwgHF2GRa+sYwQqPSkwHw== X-UI-Out-Filterresults: notjunk:1; V01:K0:tMWEkG4pfNM=:z/jq8OeD2ZQLLbotAbXaZX ZZ604LJyE2PpaBmHc9C499i1l+o+UBJEU9K5BwfLIUgXR2Nxtc0gtKI4+wwfrIjRz6sn4XOZh wNMb20tuwrItF5i6tc9bJxYxaJo0+tNia/bYaFl2aYhva4Wvh9UxORKHSHZK1qv+zqWAcoEs+ evbnCzqbR9U/C/Xa3wzebjainr48kFkrRBHtw5l9GCvwChC65hPK8KvIsR7zzbZwIOquFYb4I R9CNw/fmPr+XMSBxh41vm3lS7zhJFgKk+nwUx8Jo1x0JjGE16MclQCx1qXdZvdnxW/nnxebSc qRbwlfZNGs2bnfYgsXzzjW7OykNN5mcxbMk8I61dft56750WJKRBCpEgj1sOrXH26P4t6BgfH jFs2jLDiXqfiewmeMUh0OIm8sP0taY5e50QIRPctjs9uxspRCaU1uIM6maBM2oZXDp78+h97c LlL4rF3CWxRURW+d4f2Uvn6qHttPSIuTigP16dSTSUGy665SHlwVcGcQsYfD7oc2jVa5Tx3g/ mPQjuPfq1wjuvg9anmUEHGBvqmvG5ThQFfwqrJKQYM3I2Ow/BaTKEIvCsRiiICmK5AIplWJNw eOvgr/lB4PSYZ/ryC1o0ucvfgeH7qjs+DgJjNkO1piAcidCNrfxNAMsgl5CD29N1OugPWQrQi /VvMM8BhQmFlErEp8wPijhcTB0BI8DhvzGGZ86NKUpqat+FmSVT/R6KS+72EJtqUkqAg= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently there is no proper way to define that a MMC host supports only 3.3V. The property no-1-8-v is broken and has different meanings for different sdhci variants. So add a new property for 3.3V only support and mark no-1-8-v as deprecated. Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/mmc/mmc.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt index 22d1e1f..b2b8960 100644 --- a/Documentation/devicetree/bindings/mmc/mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mmc.txt @@ -27,8 +27,6 @@ Optional properties: logic it is sufficient to not specify wp-gpios property in the absence of a WP line. - max-frequency: maximum operating clock frequency -- no-1-8-v: when present, denotes that 1.8v card voltage is not supported on - this system, even if the controller claims it is. - cap-sd-highspeed: SD high-speed timing is supported - cap-mmc-highspeed: MMC high-speed timing is supported - sd-uhs-sdr12: SD UHS SDR12 speed is supported @@ -40,6 +38,7 @@ Optional properties: - cap-mmc-hw-reset: eMMC hardware reset is supported - cap-sdio-irq: enable SDIO IRQ signalling on this interface - full-pwr-cycle: full power cycle of the card is supported +- mmc-ddr-3_3v: eMMC high-speed DDR mode(3.3V I/O) is supported - mmc-ddr-1_8v: eMMC high-speed DDR mode(1.8V I/O) is supported - mmc-ddr-1_2v: eMMC high-speed DDR mode(1.2V I/O) is supported - mmc-hs200-1_8v: eMMC HS200 mode(1.8V I/O) is supported @@ -53,6 +52,10 @@ Optional properties: - no-sd: controller is limited to send sd cmd during initialization - no-mmc: controller is limited to send mmc cmd during initialization +Deprecated properties: +- no-1-8-v: when present, denotes that 1.8v card voltage is not supported on + this system, even if the controller claims it is. + *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line polarity properties, we have to fix the meaning of the "normal" and "inverted" line levels. We choose to follow the SDHCI standard, which specifies both those