From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933298AbdA0Pii (ORCPT ); Fri, 27 Jan 2017 10:38:38 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:35567 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933105AbdA0Pg4 (ORCPT ); Fri, 27 Jan 2017 10:36:56 -0500 MIME-Version: 1.0 In-Reply-To: <87fuk4yg1i.fsf@free-electrons.com> References: <89c95d0084da6ad7132caa54ca66eb619d8a5090.1484154449.git-series.gregory.clement@free-electrons.com> <87fuk4yg1i.fsf@free-electrons.com> From: Ulf Hansson Date: Fri, 27 Jan 2017 16:36:36 +0100 Message-ID: Subject: Re: [PATCH v5 05/12] dt: bindings: Add bindings for Marvell Xenon SD Host Controller To: Gregory CLEMENT Cc: Adrian Hunter , "linux-mmc@vger.kernel.org" , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , "linux-arm-kernel@lists.infradead.org" , Mike Turquette , Stephen Boyd , linux-clk , "linux-kernel@vger.kernel.org" , Rob Herring , "devicetree@vger.kernel.org" , Ziji Hu , Jimmy Xu , Jisheng Zhang , Nadav Haklai , Ryan Gao , Doug Jones , Victor Gu , "Wei(SOCP) Liu" , Wilson Ding , Yehuda Yitschak , Ma rcin Wojtas , Hanna Hawa , Kostya Porotchkin Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > OK, but maybe we could keep the part about the mmcard for the eMMC to > emphasize that we need to setup this option for the controller. Right! > >>> + >>> +- no-1-8-v: >>> + Select this property when 1.8V signaling voltage supply is unavailable. >>> + When this property is enabled, both mmc-ddr-1_8v and mmc-hs400-1_8v should be >>> + cleared. >> >> Please don't use this sdhci property, unless really needed. > > Actually this is a mmc property, at least it is described in this the > mmc binding: > Documentation/devicetree/bindings/mmc/mmc.txt Yes, the documentation is wrong. It should we be moved into the docs for sdhci. I will send a patch updating it. Apologize for the misleading information. > > The description of this optional property is: > "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." > > So as it is also part of the mmc binding we can remove it from our > bindings as we are going to do it for the other mmc property. Nope. > > But I am curious to know why do you think we could use it without any > need. Are you aware of some abuse of this property? Yes. > >> >> Perhaps you can elaborate exactly why it makes sense for your case. Or >> perhaps we already discussed this, in either case, please re-fresh my >> mind. > > For instance we need it now on the 7040DB board which does not have the > 1.8V signal voltage available. It it's better to describe what the controller/board support, instead of what it doesn't. I think you should be able to use other existing mmc DT bindings (perhaps also you need the brand new "mmc-ddr-3_3v"), instead of the "no-1-8-v". Kind regards Uffe