Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1616015ybv; Fri, 21 Feb 2020 00:20:55 -0800 (PST) X-Google-Smtp-Source: APXvYqzdbZOs4aKcOzvMqEGKxBnSSXp3KukWrmHFS2QDsIIIZvN6V88Hyb/kEyfT6AZVKk+STEtE X-Received: by 2002:a9d:6e9a:: with SMTP id a26mr25877527otr.344.1582273255051; Fri, 21 Feb 2020 00:20:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582273255; cv=none; d=google.com; s=arc-20160816; b=TG0ZqMvKbHx7LGtRxk1pUNsf6MXNmvNFF9bV3fwKNm1jbZAupmpR0sEqj5kfBp6KQX YzA2gYAF6xF7PqkBEAT9jyCyT1SGU5pfv6qjuY+DTosHNdZDdJ+KDUB8DCqL9GQ7tXqR NVpXTlah5vQoHOtjn5swGPxdV9OZ9AJzzo1Py0TmRa1U2lLF8BbW/xMmz9f0jlR2MWMC HEHkzh7efhFFfnkonH6pqVrlKtV/dLwkYJbuL7XFKwPbMuQw3M9QD93ElFZKWRV5RePa 5jIGl9f8M8as4lfBpH8IRL69xo4rxXXAIhZFIMUXLd+o0Y823tJheJt+9d0MSgv77hjB QGpA== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7Ejh7U/OM8BCX+MSKJAHR+0mJ4DHMQwnx8uiOzCCszg=; b=dvu4vvqTj4B3AIh+Sd/CtoIp6pDYWGdCG4R/XlzYOepS/42lFUAqvgE4VFJeM36HJa fMuwS8QQgPWCLxbqYrBSYoqhyqo9qyUtk8x33noGFLWluxSOg5dNEuJ4vz7t2/3SML8Z jG/1BUjjxj/0wtm8fAHQLMo3eW2dELR4p5VFRNhCgQp+1fBwrwAhNHEm66XihG1I0Nk5 ZeXfwvp8Aqxw1IXUz4NMLK5b0jnvi99CHjzClL403r+5TuJfx2PuDxEZnCM2qJQYw5R9 WMhkbsBdRrX9iWJxXKUAWnccZ3uDK2ccQV3g+NQR4TdMlsjSoRZDMcD4nXX5ZPX95Xu7 3f2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dXOpYmfG; 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 d5si444301oij.139.2020.02.21.00.20.42; Fri, 21 Feb 2020 00:20:55 -0800 (PST) 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=@kernel.org header.s=default header.b=dXOpYmfG; 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 S2387949AbgBUITD (ORCPT + 99 others); Fri, 21 Feb 2020 03:19:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:57178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387897AbgBUITC (ORCPT ); Fri, 21 Feb 2020 03:19:02 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4FC0F2468E; Fri, 21 Feb 2020 08:19:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582273141; bh=RMhyLwjHo+FIB9P37K7aaJm4nJKilhyzbJgF6malxW4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dXOpYmfGa1spEf9CYilpe6KvFcmwurKoXcoY4cHxR6qxFd27D5ZEZezBpVLihur35 A/ghoozbbfoVwMM1qo8d+bAhGhzmGTUr/VzgO4oFOgEE7k3fb8pdtktFrTS4k1qCPz zHIkIIWrw49QjUKtn/uuJhRn4byKlHEiBJymIE6w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Healy , Lucas Stach , Andrey Smirnov , Shawn Guo , Fabio Estevam , linux-arm-kernel@lists.infradead.org, Sasha Levin Subject: [PATCH 4.19 062/191] ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3 Date: Fri, 21 Feb 2020 08:40:35 +0100 Message-Id: <20200221072258.852020820@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072250.732482588@linuxfoundation.org> References: <20200221072250.732482588@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrey Smirnov [ Upstream commit cd58a174e58649426fb43d7456e5f7d7eab58af1 ] RDU2 production units come with resistor connecting WP pin to correpsonding GPIO DNPed for both SD card slots. Drop any WP related configuration and mark both slots with "disable-wp". Reported-by: Chris Healy Reviewed-by: Chris Healy Reviewed-by: Lucas Stach Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Fabio Estevam Cc: Lucas Stach Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi index 315d0e7615f33..56d6e82b75337 100644 --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi @@ -657,7 +657,7 @@ pinctrl-0 = <&pinctrl_usdhc2>; bus-width = <4>; cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; - wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; + disable-wp; vmmc-supply = <®_3p3v_sd>; vqmmc-supply = <®_3p3v>; no-1-8-v; @@ -670,7 +670,7 @@ pinctrl-0 = <&pinctrl_usdhc3>; bus-width = <4>; cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; - wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + disable-wp; vmmc-supply = <®_3p3v_sd>; vqmmc-supply = <®_3p3v>; no-1-8-v; @@ -1081,7 +1081,6 @@ MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059 - MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x40010040 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x40010040 >; }; @@ -1094,7 +1093,6 @@ MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 - MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x40010040 MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x40010040 >; -- 2.20.1