Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp388020imm; Thu, 31 May 2018 02:13:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIYdM3UsPAoheh0PNa6MtBvV++hgaMKdbt46WZ3cVru/fKFYAzIOLUGsxffkdvnP5UdG35F X-Received: by 2002:a65:5d51:: with SMTP id e17-v6mr4868705pgt.100.1527758025892; Thu, 31 May 2018 02:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527758025; cv=none; d=google.com; s=arc-20160816; b=N/Uv0BMHFUhz03KiyyNEZXTMbJSRxZkIHnBW12GevH8dGjfrBPZ84KCZkvABmm98lx FapFXZXYwkur/4rTLeHN/nzmCS1pINGUvKe8cqfZMJJ6FV82YikUaU4SZz7gmRlDFOSE UEpmgOxtST5t3L9P415Zp4iNjJh5w8+7a9qI0OAU+yRkiwPHF14ff8yNcvXjqu2/s2jI DHHhNuSGDxoVYrQncXOtTmHEPyPemyVtu2om3PVHRbkYUlcw3N8n/q6pJfNKaZLB/+Tz Erbbrcw6XzobeAG1UfghlFX0f1zGBe/u9Icm6RTEDwheFHHC2OpV+swjE/Cvf+ThlzEC 1VAg== 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:dkim-signature :arc-authentication-results; bh=kEWHi31ux8IIDu5qIJoxmLZyFUhEZH1ERtwT5w0AVPw=; b=uOtrpFVsrDeh57PzUDeUWJE+EqdD+5Asy8aNYb652m/dUGJOm312K+i6Gre9yXLCG2 SxUkeRsq6711f8KnPUNY2WLfBRB2YjOmK+1/oQPJna1sFfAsStyVn1XxJ2IjFalT/yEJ 8E5m1l1WJqnuuJFwgXFl9VZhMdqfOcxs65jYZbye5CcbOzV09TFAMacdexCO2+AsRTNW 7fB6hxtGlYRcMjFmhzFc9H7eoHu9IIaKPIpVZog2PjvotvQ6bD9mbOy8qFr6cgFqtbsc YSqV/6O5omE8HWk86xxrlj3I57OogtgDDsyYnU3EwSmY0KY1sH4sUFRPlrnD1biwuFDy Zl0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=tHL4UM6O; 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 w12-v6si36037200pld.367.2018.05.31.02.13.31; Thu, 31 May 2018 02:13:45 -0700 (PDT) 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; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=tHL4UM6O; 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 S1754197AbeEaJNH (ORCPT + 99 others); Thu, 31 May 2018 05:13:07 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34539 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754122AbeEaJNE (ORCPT ); Thu, 31 May 2018 05:13:04 -0400 Received: by mail-wr0-f194.google.com with SMTP id j1-v6so32235909wrm.1 for ; Thu, 31 May 2018 02:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=kEWHi31ux8IIDu5qIJoxmLZyFUhEZH1ERtwT5w0AVPw=; b=tHL4UM6ORBN43aVjYFfS/LM7yhr5JV9WFkg5LlFQZgekMABPgMWJrxSexegHh0Ynk4 aZkdvf9dusAildL6T9qp4bI2OMoGKHbkQ2eRhrYEeqPkFFRY/BCSXvsuwq9zjgNthtd2 QDETVJRQedupnCaLQpr763lcbETKq6L2eeVpH2aFYMBkgL3vw4MU3o6+v9PSrJkKPGyf ZxziSz43DA6xCRdBOQ2BMw8j+3rlWARUc7x2hFE/wSC+TtnT0YhftWbD1l4hf2Z3Iafg 2EHq3L5TkazF1gdDlOloeoYdjywSsyt4ZP+1A2UAWMh5GY11gvNkAMVys3Cma3yIWI2Q m8JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kEWHi31ux8IIDu5qIJoxmLZyFUhEZH1ERtwT5w0AVPw=; b=WiBpu413pmEmlEYDn8+fFua0AVRDulBkzFC5+uGZC9Q9mSXwyYtU+hRXe1BJ1BYfFd aFZM4rlCK8eMEbHMoAFKPgJNvMXuw4INJ6c0BwS5dGMi77WpmJFyg1niVOd9YPTAuzVP gMnhJwWATqoYzmbmuDAe8/kzWP+K6me1N1L9q6x192fjXxvB69nDsKLeWAyOQNGM3OrR Rx+P3yrWcQp0+rhlXZiqs/5SEx6m8yN1oUNYgGK0eemgH6ZqBNcNUzeEjEaA5jAMMAYq tedbcdzntRFM7hKxe6qLcD69X8YxEGFjltM91n034yonjRYoOOdErnM+h/rJFIMmZVfz YRTw== X-Gm-Message-State: ALKqPwdvcx4ihzBlt0roKOxmkYiJSsNIuwyHYDu5JtPr1tHbEBVuKy4w v8VDbEW7a2ktPVBk8gIAxnBWwiCaYaQ= X-Received: by 2002:adf:f688:: with SMTP id v8-v6mr4464590wrp.74.1527757982877; Thu, 31 May 2018 02:13:02 -0700 (PDT) Received: from [192.168.112.17] ([89.249.64.228]) by smtp.gmail.com with ESMTPSA id s3-v6sm11151252wrp.76.2018.05.31.02.13.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 02:13:01 -0700 (PDT) Subject: Re: [PATCH v2] ARM: dts: imx51-zii-rdu1: Make sure SD1_WP is low 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 References: <20180526021238.30753-1-andrew.smirnov@gmail.com> From: Nikita Yushchenko Message-ID: <3bd6b3fb-8512-df27-8361-e53841597c55@cogentembedded.com> Date: Thu, 31 May 2018 12:12:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180526021238.30753-1-andrew.smirnov@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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