Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4317335ybl; Mon, 9 Dec 2019 08:51:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzSwGQ9aa08xmd1eni0W4wO4c+yLn3S7+q5AvT4PfwM6EJSqTZ47qkS/fWyMh7Cgq4NV92Y X-Received: by 2002:aca:cdca:: with SMTP id d193mr19352536oig.152.1575910299410; Mon, 09 Dec 2019 08:51:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575910299; cv=none; d=google.com; s=arc-20160816; b=Aozyn7gClLUon4B7CZe5FHwYWVSFL/rbWQsQnidtyMtkEMs26dTGwXqu55fZhCyOQT eNGIhJd7RDOZjJeWFtfBGiyma9KSlH/TbaEnD2h3qRbhiNIcQTLVbrNTpDgZAlcYugqc jpUrw4QX3y3FyFYQJis4VVk6Aya00asCutwZn5HGEQZ0pgnz68CrpMDsQ+ZoOzwkeN0x N3T88WijjObBERym9IKnWS/UkSgv2XeBbszWCU/xEaAN0zWwGIibReYHw81tUnnZu7+h 2C6EBsILYnj5u5myTJlY2jMXESGptymhMNCD4iVepNyjDepm5d4fGlioS7swPW0hRUKJ 8mKA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HxjIDEX+7ZVeJgru8LvvR5BufYtC0NpT+WMH9OusOnY=; b=GqIc5keAI72kFDtPVlMARiUVVeVEkPcY/hHWPfJN4E/Tfr4f/NQKVue4lMbH8UXBtm EvHrc2iI4wJ7WpRt/mHItw0nKsExK02itVh1v8uN+Lm+LBNbVJVYjfkA3v6HMwEg3p20 735ijK+OJb53LW/DpxiETENxDT909vhlHtG5hvk9FDmzwe61/kj0NUufJMKJeDP3y2U9 eazfrsQlAnq2CP/FoMY78jGAMld0gtvffVYhBpZ40nrVEH7YiJUH58G9Ej5+Jha6imRX 7z2hP1KXweZ6QT1RmOeYyYx8RgcAQ0auDqc+p9leLLvzI4x1DJ+5z4Et/OKC6nAb7pGo xxtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BQOeRUrP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x137si184620oif.42.2019.12.09.08.51.27; Mon, 09 Dec 2019 08:51:39 -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=@gmail.com header.s=20161025 header.b=BQOeRUrP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726708AbfLIQuq (ORCPT + 99 others); Mon, 9 Dec 2019 11:50:46 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:46465 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbfLIQuo (ORCPT ); Mon, 9 Dec 2019 11:50:44 -0500 Received: by mail-pj1-f66.google.com with SMTP id z21so6122989pjq.13 for ; Mon, 09 Dec 2019 08:50:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HxjIDEX+7ZVeJgru8LvvR5BufYtC0NpT+WMH9OusOnY=; b=BQOeRUrPJ++Kti92Xgwb5MxAYTIorWD7rvCPzQY/cR2v608QtRkHwD6Y+ywHt8d84x rgCXVDZbeKRx0VBOH89NFymh5/jMPAGwo6yJRQxw+kYaDqfnU/wT2j+LuKiYyuD4HB/1 KSQoGWEsuVMK+dqIKyDqffC/Rso/XGEvNcqwMlDfTdvCLktfCZb8UBzYTJVfI6qVb0Jp IQSqlBsZKlecpPyAvmS8q1uUEXAXK8kboyXwHwtBCbmVLM1kjKCX6OiMqcPpfMia9Izz ymwh5Bs2RWRMS7QyWzPxprJh0cWCJmmJ0TV+/alpNwSmkb1l658CP6Obv3KyezE0t2ds qnag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HxjIDEX+7ZVeJgru8LvvR5BufYtC0NpT+WMH9OusOnY=; b=GPqg9/24J9AO2GrwX21ar9l+cBDM6FuTTHCZynkkGoMt8BZGr6yECA7uj4hvFh8Ew3 Cqwty81ojM0M9fkKcAFx779TvhUXL2efxg0lzzM/92xK4sYEHqtO0TLzgkhV9odyGGLc MnJzK6rk9eEZzyP6YbXUmrp52DKr6z0Beowemf8mZ4/GuU+JND9doL0DnS+DmMnq1P1U xdnxUYmjEWVSD9LhBTTqFnrU0ByF8A5m8tAWkygKQqAR3HBeFxVAmluG+RD6w0e3JwH2 CtiOrAf446jC3+Vyic78qgNmJLnfauHNSqEECkQvM/w94L/DkRHkc8mwialMYI5Bobgj btrQ== X-Gm-Message-State: APjAAAXj7iunlOYN1RNIt59ZExHOSDSlDpM3BojEfDIA+4mumtW1sMRk qfFrKZs1cCLrqilz/R+gMiQ= X-Received: by 2002:a17:90a:cc16:: with SMTP id b22mr33101464pju.65.1575910243781; Mon, 09 Dec 2019 08:50:43 -0800 (PST) Received: from localhost.localdomain (c-67-165-113-11.hsd1.wa.comcast.net. [67.165.113.11]) by smtp.gmail.com with ESMTPSA id c19sm18299294pfc.144.2019.12.09.08.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 08:50:42 -0800 (PST) From: Andrey Smirnov To: linux-arm-kernel@lists.infradead.org Cc: Andrey Smirnov , Chris Healy , Lucas Stach , Shawn Guo , Fabio Estevam , linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3 Date: Mon, 9 Dec 2019 08:50:17 -0800 Message-Id: <20191209165018.21794-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191209165018.21794-1-andrew.smirnov@gmail.com> References: <20191209165018.21794-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 7531f0595bd1..d062c86e0762 100644 --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi @@ -743,7 +743,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; @@ -756,7 +756,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; @@ -1180,7 +1180,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 >; }; @@ -1193,7 +1192,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.21.0