From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Yushchenko Subject: Re: [PATCH v2] ARM: dts: imx51-zii-rdu1: Make sure SD1_WP is low Date: Thu, 31 May 2018 12:12:59 +0300 Message-ID: <3bd6b3fb-8512-df27-8361-e53841597c55@cogentembedded.com> References: <20180526021238.30753-1-andrew.smirnov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180526021238.30753-1-andrew.smirnov@gmail.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Andrey Smirnov , Shawn Guo Cc: Fabio Estevam , Lucas Stach , Chris Healy , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org > Make sure that MX51_PAD_GPIO1_1 does not remain configure as > ALT0/SD1_WP (it is out of reset). This is needed because of external > pull-up resistor attached to that pad that, when left unchanged, will > drive SD1_WP high preventing eSDHC1/eMMC from working correctly. > > To fix that add a pinmux configuration line configureing the pad to > function as a GPIO. While we are at it, add a corresponding > output-high GPIO hog in an effort to minimize current consumption. > > Cc: Nikita Yushchenko > Cc: Shawn Guo > Cc: Fabio Estevam > Cc: Lucas Stach > Cc: Chris Healy > Cc: Rob Herring > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Andrey Smirnov Tested-By: Nikita Yushchenko With this patch, eMMC works correctly. Nikita