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: 13753377 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 3F8CEC3DA7F for ; Mon, 5 Aug 2024 09:58:01 +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:MIME-Version: Content-Transfer-Encoding:Content-Type:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=JvVThpTVvCEOAYgC32yIuV3LUUb2KcpuZWonvv7QG60=; b=cu8YJMrIKKcHsG44eGFvOm9j/c 1G7pBPBgfNWRqC7B+juo7HVHGNwz065IBY/0fXJhHZjYfA9QrT5G/A+m6MpkocA+tzfq1H+bKsIEb LFsfWxEVOel8HmZ8L3zfnPByRfpA7zw29pQA7GnYNtLxWThLON6/T62k0jZBLTAhX6fGewuGfFRZm S+wMmF1fSiPl/pjs4BdQOBQTlmJQDaKhOzDmJLuXmhq9DXlwHAy/0RbA2Bi72yiGs24b/eaa/cuqv 5PweOgk/NRaGQ1H7Vc0e5aDvDz5rV1gMFX30Lw772cAwzawfHOPiOzhNaWSg6LJqLw7+1oTRrXk7m ZcGPNgcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sauTM-0000000FPKk-1HWO; Mon, 05 Aug 2024 09:57:48 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sauSq-0000000FPFe-0yV0 for linux-arm-kernel@lists.infradead.org; Mon, 05 Aug 2024 09:57:17 +0000 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) 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?= =?utf-8?q?/Oy6KM+7waN3Xl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vnKWmC4xbYnszuXLMSCd82cMbF4yCkrb0WU?= =?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+MzvQWzUVeyA3nDAut55Jw1jbACPhdyAM098zSs4J9tj14VdvF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?= =?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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240805_025716_753327_D1B67FA9 X-CRM114-Status: GOOD ( 10.51 ) 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 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"; };