From patchwork Wed Jul 3 20:58:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13722754 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2058.outbound.protection.outlook.com [40.107.105.58]) (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 C887118E779 for ; Wed, 3 Jul 2024 20:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720040347; cv=fail; b=nZu9az6OD65kxJbexGaAcQ0K5qvuUKT1P12/M+YcchqICsYYX4rA2i73eudEdv8Fw2brfkxI4P/AmCWIuyeKXMOzr4uO4WagW/nasTii/Du7OwWLbAH8NIMSvWwSisiezWgx0jNwnzt1C864te29vAfUnSi6X+fz2RMqBKJEzVg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720040347; c=relaxed/simple; bh=5vt2D+J/2sLqi4ceLbRahf0KYA9nSaJYRUr9Z6ox0dI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=ttn9alnLQVVxG59hBeencEoV/uJlPJKj7xUAHMEhQ4z70O4IK9hotXmADb1QCE8pkQEDTslsBFSDBnmvjyBiRvq4Bzd5vbng3vSBgIdwT5BJC0ogx8Doxzrap7g1DeKhxEuqMKqSaicwZaAZT46bGt8W9P7G1GoHU4GhWvjHovU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=sMRKrG6T; arc=fail smtp.client-ip=40.107.105.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="sMRKrG6T" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LltxiX5e6xdgKxMqyG/rSH0f5pBp7fGejeHkcHTWBgbGXf6c3Y3UX9+tymKHV9UOMx+vZIvNvVlp3J86Ysmj5UAvUQvUcmcjUc2Y5eUWqFoXkOzlHUc+uics/sMrpS9z7l/1YilyQ4fWYzt53dtHldrTxGD70umehF1F1zHa8R5lRr0hm91U5oxa0ji1pH0o7DiWPHXxVntfjyQMhopY2s4ficyBySCpIeZIZv7IqwUIPnAi+9hTsy6y8Bd0Uh5VQYUrv2+Iq33d9xKKbgMo/Yr+UiIATwPVbLox+UaCGGbWBj8scWH4JCen2MWpRcRBn9/T+TJBlx/UTf2VWuGf2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=cIJyeQVnccwYK5gH11SdCl0dh32d4XLD7PYSodLOz3A=; b=jR0jsj8UvTQChkYkYatb8QLnK8PLvfGudxoo1mcgI5qrv+R+fv1vypQ0f5p4jbZfg6DmPYGUDpMYWRe+Tn6w9F3eiIQILiuEj5fmuS6qBTtIV28+b2VkP+rO1J/lu6BwFAAcJMih7MFx/v9BgPW/uPbGNjgycEQMBsJF7JaqipkDqtV2xWW0gpMg8LUIg3Nvi/NmzXo7VIleJdoQRZHhvxHvP9u8/aTPGtDDLxYc0N9u7Ai7v0QdiPlT6xL2D1xC9miKloA0pOSTNYP64Ww6coWuuBp6PvQl55bRIqgBcmG3ptia6WP2O0zVhrcEG10JAbKE4DWLKF5cHVqmZ8uxzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cIJyeQVnccwYK5gH11SdCl0dh32d4XLD7PYSodLOz3A=; b=sMRKrG6TQonjZncfAVi8ankQnGAwjdrpUrjWUhPnOMDKrwrFiXkhnBB5wCuj4heiLHzM2pcFr21xYpDK57Np0a7Kq7FbYbI58dt2u45O/PKrbQXzRI7R2RmmwLpgg7JsRKtczsZmJBew2KVFv/JD+/hS+xGcYdqdIDcpV843KYo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB10049.eurprd04.prod.outlook.com (2603:10a6:800:1db::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Wed, 3 Jul 2024 20:59:01 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7719.029; Wed, 3 Jul 2024 20:59:01 +0000 From: Frank Li To: Shawn Guo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE LAYERSCAPE ARM ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 2/5] arm64: dts: layerscape: remove big-endian for mmc nodes Date: Wed, 3 Jul 2024 16:58:44 -0400 Message-Id: <20240703205847.2826263-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240703205847.2826263-1-Frank.Li@nxp.com> References: <20240703205847.2826263-1-Frank.Li@nxp.com> X-ClientProxiedBy: SN7PR04CA0055.namprd04.prod.outlook.com (2603:10b6:806:120::30) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB10049:EE_ X-MS-Office365-Filtering-Correlation-Id: e6f44796-5d00-435b-251b-08dc9ba2f748 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: pepeytv60ZFXMopQg4UAJo1fbnJD2ZuPJ0B6CsrOvDzKH+8J2/lw6cwTpRhBFadDABBJp9ouYzSRROlVgzusz6ECVbB9BPm3thxX5EkFLYEnXxhydsatxFZxV9eUbwdXHKd5YWVi/vHuF7K/Moy9HE3n5aAEBlnd5/QEznWw21Q7Wp9KBBwYCDRiBc/VhYfAo+oUe0/87mEEDU6/d5Dcv0BTYXf7heh0Svo2F48UKfNvG04ffbwXse7g+xJzuyCh9GRS27rjiWaHRkdKphcfOkC4fMokLSiGYx9D4yz5cT04j07Q3hKefm5jPOzRZUPTRJksFX7gxOVkf0twfgWNuaUqEA8Ywng81WpiIg91Wg/QBhzv1Wpk3hLsIm3WNPRqwR5Z85688v99w6irDhfFb7wF2bXdB4S7rnicfCNWJSUSKU8mf9rpInDxZ6FvJCi0cVHn1Vtk+rE3nChFraViH67gCOpt5LNz3ed6f+0eygPJhSaaEyiUv4b4rwaNLI7RMYjytS31jEbRb67nRf9FtXUV6vYVWYc9bTZ+tide6AF7kZ/dIAGQFTGavvo/n2U29oSGMWRQaH9nYMYIftrGIxjGNCb52xwYUTibA2oP/J8nPXei399Za5DmvidPaXUbCoxZkW0O04ryXvxlv1Ru6quRbk07gi5uTzeSLk+xP+wFThKDz3Rf18hyEUvBfnzoSXTAcBP8x1bybKvXtk2DipwvHIhQzlgcy4eN2W643NuXDX30skjPKzPqAiP8N+5VlxyQdpuNHYdf1aw11V43ChoSou45qLWQjP4LjWa3dXhIElaGzOiDKLJAAuxnToUvks6xrfPUGKIJFez4vr001ETlHuL1qLOC+yUkelAbPFebiPHIlHfJc90v3VEF/Lr1/Ww7qSgnZLBPj7Wkt5LErv964j2l0cVXyKvzNa1MTAW7qm4nLxl4RkZVBgA2OZGTmJ3s2AfOdWk6PAk4suYowsnR+8tAneAYtxeKs/8XCWxQRhCLdYLFL+EBBu1Mwa49ldkVJjspw3r20ctxmg0z9fzNevq+JGnpA7cJKLqlyza8cLG5lIZTK1f68IKL27ZXd15wGWt8kMY3tMLT6PfAwPN5kfUfESEG4EK0LH189hWBhuQy8kaIdnmez820IABeveeL9G8pIRspZmoQgod8IaLBalXKZ/NNLd4Yb/vNnPn+u/GcCzvefY5snwEM2Bl265V636WGm1SwV27POytWWl3XRBAAPDqtIHL1zS9KVY84+erFOPHO2FspxjKzyLztUsSR8vD+6R2VbsIjnKWN36iifJ6xxusVeXel21a3DVW6nEX1g2pHULS0WXgyRYEAIQggEH4odGQPTASrsdfKgoM0AU8PDANiEr+8Vk1VqAE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(366016)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YRYgcIpBhQk9hA9zVSNV3zIRh0vLuW8ECbjtZAw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ec7tu/Oin370CXiOy340da6bGWVIWEJ+LnBBT1s61FGrhEeeYhmJIKWj3Qrbdcwp01j2ezNUGSaoCN+utJGc0WIAMkWbWtXARy/zmi6HHqmoeU1CNlevjgLL62taHx61XEDCVFOZYQdPuJ82nHnUMGCC8ZKuFX/1K46SEti90z7IFdsX5CFSxkarSegvvzyBn8/cPr7WcbsUyn2MfBVuuDOLUD7wzkImg4G1PY6Hhj4pmJv0xBTXfTb7k1pUEnHKHZU9g/SFd6d03+Adv9/E6CYU01jth1hBawmilTHEHb1/x2zy+lFjQX4iLV2LJrXhYLW11dBggcdkKZVFtvNElWhckWzK7FsMjRK7s+AcAOD7Fdw/hhGY/F1r1vQP1NfwlANj4aAdevuGGcDyzsXhhuFRxOUagwhFxLSLBEFcQStgGPGI0tXPssXDW0GrIYjvNiDlMIjoRVDGvrH/nFd2w5/HdJMXO/w1Qy69hEwYkBcgHG X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6f44796-5d00-435b-251b-08dc9ba2f748 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2024 20:59:01.6631 (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: 2oiEIuGCJMa19zlPO/gDUJuyMLz0uZYJH1Yk+ERxMrXRWfkpHTLsLdbE1srjaDNm7EklJT/AXtSCjyXFfwEkGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB10049 According to binding doc fsl,esdhc.yaml, the default endian mode is big-endian. So remove big-endian property to fix below CHECK_DTBS warnings: arm64/boot/dts/freescale/fsl-ls1012a-qds.dtb: mmc@1560000: Unevaluated properties are not allowed ('big-endian' was unexpected) from schema $id: http://devicetree.org/schemas/mmc/fsl,esdhc.yaml Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 2 -- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 - arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 -- 3 files changed, 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index e61ea7e0737e4..42d2134b8170b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -164,7 +164,6 @@ esdhc0: mmc@1560000 { QORIQ_CLK_PLL_DIV(1)>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; - big-endian; bus-width = <4>; status = "disabled"; }; @@ -183,7 +182,6 @@ esdhc1: mmc@1580000 { QORIQ_CLK_PLL_DIV(1)>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; - big-endian; broken-cd; bus-width = <4>; status = "disabled"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 17f4e31711209..9a19bcd1850d9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -431,7 +431,6 @@ esdhc: mmc@1560000 { clock-frequency = <0>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; - big-endian; bus-width = <4>; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 200e52622f998..9bbe2d686a39f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -315,7 +315,6 @@ esdhc: mmc@1560000 { clocks = <&clockgen QORIQ_CLK_HWACCEL 1>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; - big-endian; bus-width = <4>; }; @@ -694,7 +693,6 @@ wdog0: watchdog@2ad0000 { interrupts = ; clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>; - big-endian; }; edma0: dma-controller@2c00000 {