From patchwork Tue Jul 16 08:51:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 13734183 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 415C6C3DA59 for ; Tue, 16 Jul 2024 08:52:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=3UOqNoGWLCSSnRSm7Q9UiHAs7PUq24bCJ52j6CIvkJg=; b=VFUesTy0K1jr3HQLOKNm1LkJcm /VDphOwAI12dXQt8bHoL9vt7cFCXAoZf+rUytPNi7YWErtdGinorlrYPbBYmTS3zTWvENsp7Q7GhZ 6O4BAJG53hWPm2YzXNm5teC189GlOq6yIIyzLwDDaJiqg2vf5OVqefUVkoPXDDWiuuVRn0/ExyxfE 7RIK2iSWNfF9cZgWOJy5rMZn/u4Mvi7VSuPe0vtQhafbZxs2URZEFzZtJvgsaUYKdkpA6xe2PVopR l5rjXLZCFQKQ7lrd8/pVpv2YiQgH3vpZ4LAVW3y5IAoBLZedo25wpochVGrDTyQqLnRFe9RFZuJmr KilamayQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTdv1-00000009n43-3iPo; Tue, 16 Jul 2024 08:52:19 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTdui-00000009mxm-1IWx for linux-arm-kernel@bombadil.infradead.org; Tue, 16 Jul 2024 08:52:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=3UOqNoGWLCSSnRSm7Q9UiHAs7PUq24bCJ52j6CIvkJg=; b=IC3hlljaZfL1A3mxAxAUltZJvW xeMhMuYmrxNNgXZN9w5UiyWzVe+oISwLUA+ZXHeVMlz4RxHbTjqY3iEVAbBTUptWmm+MXsTVZq4k/ ODkt3jqNjgTDiVT0lAAwUFHIKlSKg0ABMAIuCBOYavK7Vtb1m3Ez8MjUlacWrDoEj448V2rEclM3j uCS/1YhKhpxS7ml4gV2QvQ160rxqzrCZyrZTy2F9yuGUykFhHuHwZaa37PIPiDnpLr5OsDGviSb1Q 49bR5zX/k2i2TX1Ic+E0lP75FDBGRmaMzWEEoRu8jQqJfOiY2rAgV5pgwK0AyIf+KeA8hjUQcLCWd x1aC87ig==; Received: from cpanel.siel.si ([46.19.9.99]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTdue-000000020dR-1WSs for linux-arm-kernel@lists.infradead.org; Tue, 16 Jul 2024 08:51:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3UOqNoGWLCSSnRSm7Q9UiHAs7PUq24bCJ52j6CIvkJg=; b=E6d9tU0wv9um9dxgbTievS6reh hlTBatpGhfWffLSRaTHyVStY6wQV5IumO9E5rYXu+iSyRKWhCc7AY0/5qdA5GPvdCCC2Wq/8xR1If jQfQ3MaPm4qkGWifWWtA323rpMk7WHKJKtaFGu0OZmDOZRt5D8CGSqHipSSOJbeliW9w3VnRaLpkO f3qCGh4DpV9q6AMIaK82v+Un6w+bLb8vPqMMWASiO5xXmo64Mh4ArJ9+tGBMsgOSh4QN18oKRlfOK 6qyy4qH0Ac4nDjzfflf3RWamuy0J1HtcmnHt8HVnkJRyBm0jBkzmVgSCiCao8yR6YKeNb4RrRl+dM nb+ZyoIA==; Received: from [89.212.21.243] (port=52716 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sTduM-002T9N-0I; Tue, 16 Jul 2024 10:51:37 +0200 From: Andrej Picej To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH] arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card Date: Tue, 16 Jul 2024 10:51:14 +0200 Message-Id: <20240716085114.3205582-1-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240716_095156_615769_8B59E625 X-CRM114-Status: UNSURE ( 4.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Micro SD cards can't be physically write-protected like full-sized cards. Disable this feature in device-tree to get rid of the kernel warning: "host does not support reading read-only switch, assuming write-enable" Signed-off-by: Andrej Picej Reviewed-by: Benjamin Hahn --- arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts index 00a240484c25..791909dca6e1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts @@ -267,6 +267,7 @@ &usdhc2 { pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_pins>; pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_pins>; cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; + disable-wp; vmmc-supply = <®_usdhc2_vmmc>; bus-width = <4>; status = "okay";