Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp700165imm; Mon, 9 Jul 2018 09:03:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdMOTACutDn+PdZpJ9xuiDGujRiRJ+wyOAh+AJJ5PVlJyS2tMMRqEpDfdJUNoSqSm6117uH X-Received: by 2002:a17:902:583:: with SMTP id f3-v6mr21234624plf.115.1531152234698; Mon, 09 Jul 2018 09:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531152234; cv=none; d=google.com; s=arc-20160816; b=jdmzBeiyp2IZipaZHApCBgXWlqHqJn1lEFruQ8IZ/OI3MIKI8ZwQ15/UYYLDBVZNFw IC/U5dbbDR5TAai4UhLGsqBXH+wNs9/1BXnX78cHBP8ZDj86RWzUX7EeggHXC1Nblvb/ Q80ggwNlpdyxKvaZhxP5yohLykrDLI6uO6M6uomEZYGqlsMFEfGeQQnRQw6am6zFRIf4 djPNZTI3DZq7bWAMHF+sIGCQZOsIJx4W/WQoUqHn4ka/gL2lWhFCsevhPpurM9qMUKQ7 xnkUjdHEDsHb1JSK5R5Zx4eQTbMx+ZPJXlhQGOTUE0sVqymVjbCQ2UMwdLUbEFaFpSJJ VCeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=oiz3QYuvBXEprreWiBKgkK3ba2tKz+UO7KlzqpQNnCM=; b=Ky80F1qvhizYBqHB0GExtlGVctbENAy4kIv5paYutbQKNcdtX8fawZoO966d3wVdgK hgbqFiNuzKclYkdjYpzQUMRqAYYASfhJ4FH+p7tBn40mrIZWHQZR+WHUXCD3Co2FQ6QG /qbhnmTqh7aN7o5wuff/X4HmLhl2RuxUDcr742/d06oyKlUgr5yApt3sK4xO5xI9j7yj IasvUkYI2uqR2VwQM8tvd6jnZfWBvBqHx7EWte4v+8bgTKM2YAXWZQS/ctv8W8knXf2f cvzzgJ5Qp+/92Kfg+N2jBRjnQahtsbM1pXwY1iMq13uO7/y9qxyHv1TAUOwIzKMwLmjS jZ9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=iMM1RqUp; 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 f8-v6si15097303plb.381.2018.07.09.09.03.40; Mon, 09 Jul 2018 09:03:54 -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=@agner.ch header.s=dkim header.b=iMM1RqUp; 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 S933668AbeGIQAn (ORCPT + 99 others); Mon, 9 Jul 2018 12:00:43 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:49784 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933304AbeGIPtT (ORCPT ); Mon, 9 Jul 2018 11:49:19 -0400 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 2C4DB5C1C11; Mon, 9 Jul 2018 17:49:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1531151357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oiz3QYuvBXEprreWiBKgkK3ba2tKz+UO7KlzqpQNnCM=; b=iMM1RqUpJP49cyC1n0bP3vvokZwOG75kdzTr2CTcSl/srNlXj3FgvQ+IZE0QGMPhpV4WbA sER4xvSIFgG3C+Of/TDiLiHij4D0KL8FyYKq7xpNzsmtp84a7zjw+fnJeYZCT5iujtTacQ aNdz85q355vpYdwfDEm6nBotxb9nl6A= From: Stefan Agner To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, marcel.ziswiler@toradex.com, max.krummenacher@toradex.com, maitysanchayan@gmail.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH 4/8] ARM: dts: imx6qdl-apalis/-colibri: disable read-only switch Date: Mon, 9 Jul 2018 17:48:44 +0200 Message-Id: <20180709154848.5401-4-stefan@agner.ch> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180709154848.5401-1-stefan@agner.ch> References: <20180709154848.5401-1-stefan@agner.ch> X-Spamd-Result: default: False [-2.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWELVE(0.00)[14]; BAYES_HAM(-3.00)[100.00%]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_CONTAINS_FROM(1.00)[]; ASN(0.00)[asn:6830, ipnet:46.140.0.0/17, country:AT]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the disable-wp to indicate that Apalis and Colibri iMX6 do not make use of the native write-protect signal available on the i.MX 6 SoCs. This prevents warnings: mmc0: host does not support reading read-only switch, assuming write-enable Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 2 ++ arch/arm/boot/dts/imx6qdl-colibri.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index 55bcea245df6..f9bacc9ff2b6 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -457,6 +457,7 @@ pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit>; vqmmc-supply = <®_3p3v>; bus-width = <8>; + disable-wp; no-1-8-v; status = "disabled"; }; @@ -467,6 +468,7 @@ pinctrl-0 = <&pinctrl_usdhc2>; vqmmc-supply = <®_3p3v>; bus-width = <4>; + disable-wp; no-1-8-v; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index bb44829dacbe..8ae17fdf6cf6 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -387,6 +387,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_mmc_cd>; cd-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; /* MMCD */ + disable-wp; vqmmc-supply = <®_3p3v>; bus-width = <4>; no-1-8-v; -- 2.18.0