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: 13734299 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D5BF198842 for ; Tue, 16 Jul 2024 10:35:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721126135; cv=none; b=Jmfdz7kFrOclbvX9+WuJZqAeEKrxZ93gaphO8wZUp9mWjbhsrNoMEctc5ZJJ/TcYc3z1y4f9gmJhHSLKJp9AU5wpTqRWnf5FAgVW5BrlimH5A07UduNSr0AGfeo/CQxCn4xXVQo5OU6WV8y4kuZ16lCTIMqgdGHjLId7RdUqH1k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721126135; c=relaxed/simple; bh=5CCdHfoKyG99ocltjJIAeKrivlxiY29Hn9AXvqcSX0o=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dL4zaR+5cNayOm2QNnWLH+I15q/8jIauLwRLWHxPdQTySCk8UmLK7uz6h1qMudlaeWgkdr+SuwAt4vyVc7PjRPPJ8xzhFUZV5U7Ga6eDfgtLagXakpr331QQiB2rhMcscorDL6MReA5NMINUPV/okWnxTQnLaxtITl06bTrXaBc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=E6d9tU0w; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="E6d9tU0w" 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 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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.linux.dev 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: 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";