From patchwork Mon Aug 5 09:56:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Marian Costea X-Patchwork-Id: 13753401 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011036.outbound.protection.outlook.com [52.101.70.36]) (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 7E58210953 for ; Mon, 5 Aug 2024 09:57:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.36 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722851830; cv=fail; b=p1/1uOuqciPjLqAYEA4mNuMNP887HlcoRdED1FllYT7QdXqzY1M+zqRFsJrAi0g7mEyz7WMAj/388uEDuWLvQuCHWSkiuXNSo8rOlzWoyCGjH1l/lnewfC0a5+lF+opZDB55kB56ixvF4MrS/zh2NK4zux1vkn9AeEpkNT4yXbc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722851830; c=relaxed/simple; bh=DpZZKyAeqSPmvKaVFLMb9QhoEbdSb0SC5fK/CQhIs1w=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=JdnHInaGGmbob7b/v8mbp9Jc672tPMG+cdkXADzk5VWwe+e4wMxjPUc28bobtAlD2krnmfAyeeU6MzewHYBHODbiTHF11S1L10/P4MwjMHfSfqWjCqOTp0o7RFsuSKo9Fe8YYkjgwbOWtAq0MU4Qby3mLPb42N4y/YxfPGaVBOE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=c0S3ZxsK; arc=fail smtp.client-ip=52.101.70.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="c0S3ZxsK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zNrEo/Gl8ZOBbPbz0WQ5n3+K7pDdI3/RjH2eSOu6/WXOGGl1b0MsJksaMvSHXIJmTdw3M56seXTOExvNr8iYfXK90cFcfZfvoJveZnaH+7SZVQjronxfNGM/H7YgPyw8om/WLC24948WvXhE6gd9e4UKy5XiphR+GManDdAH11jOOI3/7DlF4JZqUFjLUGwXfDmLKX70zKda8vhxI9rPO4Z9zIGW/vaZgyDKXO/DlFX/pkStpG1EEopYwWjH70EEgcsaL0qhLy7SynGWRsI3RtGwiTExeDuAFc2sCs0bep3uMuOxqK2X6r9zWGwjbilvVUxT0b1QSWb+yqtF4ZACsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JvVThpTVvCEOAYgC32yIuV3LUUb2KcpuZWonvv7QG60=; b=JEhhp5WWdwxddZW8B63ngwkpvwJxCtUQtEX0/M25MIgOCwo1wBfBRtXEpWX6KNiQtnj556D7Mi8B7k2xL4WpuON2yEi62rRQT2MMobaXIUALA+INAmQQHiarkVSpfnUlA8yCJ8q8+THvwxbPYe6z4afoL2+NxXi4yD3DM3MBwJ505Us40RRe+iGnNPzN2C8b5+EDDpnZT1SpTlicJ/osoH3MlCAddtTGGs1tfLBhkIKMJoyo/14HvhzSDe/4w7zBLJ+V0zJYxR3+846YFfKHu/Yuz3QIjNApn2EpKccDKzfTdW5QknlF7F1l0S77IaK8CPvbXo3EHb2i9fnUQw1yNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JvVThpTVvCEOAYgC32yIuV3LUUb2KcpuZWonvv7QG60=; b=c0S3ZxsK1VFFOLT+FjSwaCClOrAoBvmR6Z093HUGtoJTFPBP7g5xGCycK1RB7lxG6WDrI3ieGYPLdmU2qS+/Fl4QDssuY2jb7T9CUzH+IPosQ+K75tX0/EjYUeqrvGRpl/j/Usn0vXV6/aL+w2RxoRmP4hCn0ZEzD3IMuFhSqVZADzvA3c2I7CkfM14A+HFImMDlKaQ/4vGxWYKnjdeiRpdbW7lTlXA1d8g6okdPzCtDwwZobQoqwQ4Efo+uwV5QreWaFikQ0xkUZZ6uM/u7nr67gzJAxemSBbsq/oA/ezFh8aLijEpGuiY1DVSEdwIab6HY4V7k5jPiqfcLDwjk6g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by DU4PR04MB11080.eurprd04.prod.outlook.com (2603:10a6:10:587::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Mon, 5 Aug 2024 09:57:04 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%5]) with mapi id 15.20.7828.023; Mon, 5 Aug 2024 09:57:03 +0000 From: Ciprian Costea To: Chester Lin , Matthias Brugger , Ghennadi Procopciuc , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, s32@nxp.com, Ciprian Costea Subject: [PATCH v2 RESEND] arm64: dts: s32g: Disable usdhc write-protect Date: Mon, 5 Aug 2024 12:56:42 +0300 Message-ID: <20240805095642.91606-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: FR0P281CA0186.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ab::16) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|DU4PR04MB11080:EE_ X-MS-Office365-Filtering-Correlation-Id: ca419ba1-94b0-47ca-12c1-08dcb534f50e X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|7416014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?VOvUTrHSFnXG8CVYb45jTN7LSq3fw5d?= =?utf-8?q?e8GlyK1tNzntZa2F5XP9M3PzPm3ojwhiLp1QsORiNJ3Y/RvkarvjVSG1dsANnCzIR?= =?utf-8?q?udL0OZcYyG+MQ0cZGbJXiUGUvilcCYLSXgVCLh+TgjuL5wz3Q3Ot/hn68+ypLeEb/?= =?utf-8?q?ey+/blQM7lXW4N0PNSLLxWaJxoaoiuaOxJgRBMr40smsre8oOfHryI2JuCO+5rAqx?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AaWy7pPvLuzocATvrFGiU2zNF7vnKWmC4xbYnszuXLMSCd82cMbF4yCkrb0WU?= =?utf-8?q?C4J5ToAjmTHGZU4hVsNG1xekjlh0jltrTJSuOG3zpBf1/Qpr5Pnqjriwr+/FGlgn2?= =?utf-8?q?GwkIAv157GppfOYIjOpZm/wbqz557yu0DqabaMuMvThyMDJLJZ2vcg0Yb0XtroFXT?= =?utf-8?q?hPEDfGl+4HW29TYOa3qrwmeVgexS6kczruk39vcwRE5Jvb/5SuIr+fyGl4qBrnObP?= =?utf-8?q?S5Oih//x/aCL?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9251.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(7416014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Hn74U5N5Y1MyTUpsKWiDt2EuYCYn?= =?utf-8?q?7oKzY3IiMbgCAvQpL9ny2F4M8jr5yVKy2K9CEIQFSOT/rxuo9PEzooyVjDT7yEwxM?= =?utf-8?q?K5v+1YxqBAohlwnQSYTzhUlmDAa1lcvCmuM7hqCeEmPChwvAks8oMM49qZCfoV6xS?= =?utf-8?q?XAoDT46bY4U0alp8wKnPJB92ROapHTV4RM8H/eaY/x+1g5NDdlsksm+xkRwoE341J?= =?utf-8?q?T/jHsmf8pL6GI+w8pMXx1sJxSlHmna9MdIi1/0g9sasLSxr0byecFUnytDmTAIbY0?= =?utf-8?q?WnopL/nMrpB4D54UeWdMrl0wZXqFi6Ogv1g4mcySjj5MvnqXuuHRZkiLdIc+U/LYt?= =?utf-8?q?EEWV8rMCCJoE7TwdQjTwIx9Wpj5SRn1lvN7NoyaqVfZGFDb4oDky68lKgU/KKsyH+?= =?utf-8?q?PCsnVSzpkth+MzvQWzUVeyA3nDAut55Jw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BpoONn609hnsv3m+WIykNP7MCNCR?= =?utf-8?q?e4FZcKecH6afPN18tKsJkw/cae0rC/3As6569Ox9xgmkruewxZbha9hj/XLPGiWi2?= =?utf-8?q?TVBWuLa9Y3/YCOVFPFXOTzmgyhMCgJHdXyT1fKQKDSzwgdfpzhxvc3aLfKj5Kf0Wn?= =?utf-8?q?D7/GvzU+qddFEFB4KMSTBCSFLxQ99vhjRyXUg5WJXyPwi1X7Jo8ArxCgFZvxGwt+p?= =?utf-8?q?gc886Zb7z9AXJHI/Y3vyJAYkjpogSIlsHg=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca419ba1-94b0-47ca-12c1-08dcb534f50e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2024 09:57:03.8022 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nbbdUg2oBqMBwyvJ1LQCgUZujdqJrhYUjA3CesfMNYPjd+7eGwvA0Cb+Z+JRfKxNpd+OhnPZEvm4f8uJYdZZBjUmsP2tmKxzBQaEx39ijMM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB11080 SDHCI controller found on NXP S32G based platforms do not define a pin for SD-Card write protection. Reviewed-by: Matthias Brugger Signed-off-by: Ciprian Costea Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/s32g274a-evb.dts | 1 + arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts | 1 + arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts index 00070c949e2a..dbe498798bd9 100644 --- a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts +++ b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts @@ -34,5 +34,6 @@ &uart0 { }; &usdhc0 { + disable-wp; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts index b3fc12899cae..ab1e5caaeae7 100644 --- a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts +++ b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts @@ -40,5 +40,6 @@ &uart1 { }; &usdhc0 { + disable-wp; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts b/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts index 9d674819876e..176e5af191c8 100644 --- a/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts +++ b/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* - * Copyright 2021-2023 NXP + * Copyright 2021-2024 NXP * * NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3) */ @@ -41,5 +41,6 @@ &uart1 { &usdhc0 { bus-width = <8>; + disable-wp; status = "okay"; };