From patchwork Mon Jul 9 15:48:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10515013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AC494600CA for ; Mon, 9 Jul 2018 15:50:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98D7528B72 for ; Mon, 9 Jul 2018 15:50:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A77428CB5; Mon, 9 Jul 2018 15:50:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 35C7028D19 for ; Mon, 9 Jul 2018 15:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=xeGKl7CiYgZdDH6tn0MfebiThFUBgIG+vd6oJ9f/3J0=; b=TTrtajQ0/ccQy+rua2PkZJfmXj 54+kReiJJuBxRMp+/ZWgg3kT5KNBImdMlWVxoiCPJd/4/5twOMhhdxOIOYpuPRrrxhVBhxKxjB8Fe aJ17j/+h6MXBmc8HIq0ONb1Nvya9wFejH2ulxU6zLCWglDvXg3F56V7KFzottQ6wyzqdlTfsLe+1t k/ENNzaJciaMU3p2gZduRIqMLjly6OsMcVfskrfpkT0kNQLkGq0BFzbmBKL/jOlo4tksAjhSxfCg1 phTQ/vwIjswL2wEqzaXOogPnwdbcfnVKtT30gCSXpqY5WVMk2loxcP9Fbqc23F0QL+sVvkPzpU3Ur Nr1KVt7A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcYQI-0006hu-1h; Mon, 09 Jul 2018 15:49:58 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcYPr-00069E-6k for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2018 15:49:34 +0000 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 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)[] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180709_084931_737100_ABA5BB02 X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, max.krummenacher@toradex.com, marcel.ziswiler@toradex.com, linux-kernel@vger.kernel.org, Stefan Agner , maitysanchayan@gmail.com, robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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;