From mboxrd@z Thu Jan 1 00:00:00 1970 From: Otavio Salvador Subject: Re: [PATCH v2] mmc: core: Do not set mmc voltage to 1.8V when 'no-1-8-v' is present Date: Mon, 15 Jun 2015 08:44:35 -0300 Message-ID: References: <1434227067-9600-1-git-send-email-festevam@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-pd0-f180.google.com ([209.85.192.180]:33379 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753861AbbFOLog (ORCPT ); Mon, 15 Jun 2015 07:44:36 -0400 Received: by pdjn11 with SMTP id n11so71396837pdj.0 for ; Mon, 15 Jun 2015 04:44:35 -0700 (PDT) In-Reply-To: <1434227067-9600-1-git-send-email-festevam@gmail.com> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Fabio Estevam Cc: ulf.hansson@linaro.org, aisheng.dong@freescale.com, Kevin Lemoi , kernel@pengutronix.de, Russell King , chuanxiao.dong@intel.com, linux-mmc@vger.kernel.org, Fabio Estevam On Sat, Jun 13, 2015 at 5:24 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 312449efd16bb06 ("mmc: core: Fix sequence for I/O voltage > in DDR mode for eMMC") the mmc voltage is set to 1.8V inside > mmc_select_hs_ddr(), even if 'no-1-8-v' property is present. > > This causes the following error on a mx6sl board with the 'no-1-8-v' > property passed in the device tree: > > mmc0: power class selection to bus width 8 ddr 4 failed > mmc0: error -110 whilst initialising MMC card > > Fix this problem by only setting the mmc voltage to 1.8V if the > 'no-1-8-v' property is absent. > > Reported-by: Kevin Lemoi > Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750