From patchwork Thu Jun 20 16:16:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13705825 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 1DFF4C2BA1A for ; Thu, 20 Jun 2024 16:17:06 +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-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:To:From:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=i0anTbJF5zATUNBmiHQqKVN1Zfm8xzJn9ma7xELzOZE=; b=vp7PXK2fiaahHALD+44oxjC7P/ P8RqCmDxroxEuzJyg7iu4dJiOYRYDLU2kcQ6OKr00wexEJB7zjA14VBpeGCfUcdEAIIVE1APikIhl pSpkhC8h2TAOjW8Yqp8YMgy6YxPeaDUAcvVVMwedRz7s8c+VE7khHPWTwEay72vfYCQS8vPvzWy00 JAJ3iN7xcti5p3/hoNdFJKc3Dc4dPO/CcXSoBL+g/5PybKiIEqI5nV4X2jStx/DdE9u+rE42/SPPH Owr5ikAWxICP3OftbHoUvrorMuoMGzdwM/KTe/hDxGBrN7cfogT56JRiUsG/cfNfneCUIoLY7hX5z 24/D2gEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKKSz-00000005nLH-1FeG; Thu, 20 Jun 2024 16:16:53 +0000 Received: from mail-am6eur05on20631.outbound.protection.outlook.com ([2a01:111:f403:2612::631] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKKSv-00000005nIg-1n2s for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 16:16:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TO7qCbkl5BGZbUn2BUh4xgMzSGQHkdO1fp9nKUBxqplktMGvhOXUt841zwmSgl+KMKyGKOFHaQ0lJXOuQN1Nm7esBHlNCp6bGjA8HuNTAIwZUFqqWUfwZjUTcifc8ddp3ZWaDqzyTj8QMjklSz7Nm9AJ8urwCHRjpfZL/aUVLiesTUqpSGhRvQEe8fqjGZBZ3bwon1bAAKMHTQVJFg1sGBpnVya3n2WDU/1T8pJEHhzdeQkHaei//7GO0TnoZABCwHIypqewt27/a9DmETX+3CjLORDICMp6XKoUbTlWSj8d8elq1rMoGIpTq+E6ujHevycCR6FdPaaOTjNcumRrpA== 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=i0anTbJF5zATUNBmiHQqKVN1Zfm8xzJn9ma7xELzOZE=; b=Ly8vSPk44TPno6M8K2NEow/mZYQUPQsE/PBDrkFu1Tr83LFzfvwQoe9MdXYDhfO65EEqgKB0v5RD2PWXuImatMZRvDjmyJg5i9pzAVxHtuU5n5rg0/SX1WsSiSlFP6mTZdSrDpNF1RLCwxraUfE/miiA6ysv9zqv/nN4/OA1zml4FOainArQg0tBnCljO2UgFiMRCpXz1PNoNvti6gQMgNWadHmXwOvUl9nZdNpLezMKVWIrPxOp/1HfFHUHbzgYwjTV2DQNoBsTFuEM1GTk6llreOBNsLE4GjnYCFx405RyM4arK8435Cm3SMossRUUKPyiZg2k6M2oQDnlO8rX+g== 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=i0anTbJF5zATUNBmiHQqKVN1Zfm8xzJn9ma7xELzOZE=; b=mjRKfJo8YodKgl+69NmIOJxA0K3Y8QzyoCXsVdD52Kiq12nZPTuCtJUoagtT5qFTYUwSzvRI5LwPU2zQffxN3+Qj0f+v54ofhOE62c47kr7h/6pvdpHBRMQ4RVh3Roq7glKGwCMgnnsAl35crCjTRR8krfpiBfK+eDKuP+huxvA= 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 GV1PR04MB10582.eurprd04.prod.outlook.com (2603:10a6:150:211::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Thu, 20 Jun 2024 16:16:38 +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.7698.020; Thu, 20 Jun 2024 16:16:37 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 1/4] arm64: dts: imx95: add '#address-cells' and '#size-cells' for all i2c Date: Thu, 20 Jun 2024 12:16:19 -0400 Message-Id: <20240620161622.3986692-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR05CA0197.namprd05.prod.outlook.com (2603:10b6:a03:330::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB10582:EE_ X-MS-Office365-Filtering-Correlation-Id: 2469edd0-acf4-4bf3-68fe-08dc91445c87 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|7416011|52116011|1800799021|921017|38350700011; X-Microsoft-Antispam-Message-Info: 7oTtYmVB3QbGJF2BRDtTeLklolxp1iJVzRQBdJqNPBFtTRto77Bo7DPofDZkilTJwHpq5+zlHgZKk9NegxO3HgMAaVH+lc3HnMx5TzWle6DH0GAqx3jMrWdRXPzj3ScA+r1cP1ISdhyIwwh1i20xVZjpYOnIGtulRfbIp9x5r5F23tYxlWyU4b5YHDmZwIKH2eHwUs9wj+roVzX4F8/RJJGVk+0SVUJx5vQQdpxkiE3K2yGE0u20aHOkW0GSHSYri+vPEDvP42QeZPlc0eJiky4aWC00z6z6rFK3G146tBhmQHy6qih8Sq3RGvmNXI2TvZLF6qb+1mP4piJlaC21AKqyzq+b/EkzaQvesfbQj+mE1o+0IayA/nQGxR0UwzKKYjCFhP88rMgD1EhV43SjJ1wop0F/5tOtNuRq4ziS3bYyyiiAb/adlJ4pSiIZirVvXkXzZ/FYWoE9d17kR0Bra/QJR7FXyL47dNCoeUP/wSWJDCTIIR0yj6/6QDdn3dbkjndgmhKYLjLhE0ETkGhNwkJgunEgh+76x0CjzK3p9ijkfKQqdukKbcj8DU448GHEuBLfNTOHL+a8MNv4dRoULyMzLdbwTcU42efFiCwcpHW1GbqRqhvoYvqbiTusaTmMhxUdmPmET3vdaMSsKOd4d46wZgaZg3uGOH/xFqayxj7N0KTjoBnZBlJQPvp8DZLYBo2uwjlZuI2xPJSTUePoHp7HE/hEeaTdblw03XnZAeX/hL/1da5xkQZ5JaER4lkp3Uv6D/Lbte5ZnHLnFHL2GPv307noPxqGYbSmE4IJGpiJrcWKMdAKyz1pe7yg7vNlqNO1puPiujjaSQglTUvJlTPKDXjmesDlPr4bNYMYshFVUzu4Z8U6ZuvCitdOxr5H3vhpEPVu84laxRT1BnnACCk25Ip6EdzYosCJB+VQ5uhnCwsVOgClAyKJYl/HMygebUNWXabvJAyVu0mJyGhQLkoSdOgYYLL77Vlz0Oygzwh2VY7ISxBYD99biAiPmDxf4QXMFZrjQbyShO5KQC6Aw+zkdyGfx4HyYoWH86j9CI4DD2jufqXNN0cVSFr5bdJ3MCCF4A5FygMEZhz2o2fEmZrkBYCEUJfBjCAOtisu6nQPxmnLXpzw/uctc8ElBhuH/v3U6ezc3I0T0ywM+ZX/fJQn02DoY34I2fvCeKhF1KR8IN4lh9X/iwffGQZTkbYhfX21vJanjJqswGLmEq6oGAWzrNId2f5sYSFJWsBEm9e2keALuTReetnh6Q37nU/ueE9xBI8VZkj7Z8XP4T1nEai0UU11rVQOmxIzwEr6z110owwY5iE11LmIsQ0766Y3evpYoFNhJ0Gqvku4U4JYj8mOyl3txZgdv0ULi3IdFknCpReQH3f7ULg7/1g7UfEe 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:(13230037)(366013)(376011)(7416011)(52116011)(1800799021)(921017)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-Chunk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Vn9HaxfXkZV6ycI6sbbhezUZFIgef6lCLALUg7ft22e8cw8vQOuq0AHDuCXaLuBhB7YUg6w8jxPTUdkwHHGWJZHjQA/3z6cFLGjmej76tdkxWQCZDIOtIh5kdi9lRBlPsV/9GAvhLWtXmPxtGSmWtyfgwlDvdlqbRIemLTU7Ut5ls3XL7QvtWJ9CF1vjKF7ymDyrJkBk989OVI2LNFVHv20D3WQMFIgpcv2ZlX2Oh+NaKgEqbiIa6bb6U4XJ4GUjcyM74sqg1U9f865ZMHgvuOr06/NxPf3HPNuTqmW2I68FMA9EFXMm0PS/9FNFNwKRQDpTyp8DmH1qQKFRc8jv5HAOgLqQNuPOMx0sCkfyjoJV68KXg02UmK5zMOYzbBFaLujVgDmLFO9l67ZROoSyLEBgwImjIOLWNXW2tQRqIDgqShJXV/8wH/culzEX6Ag6isRVc0wY03JklYgW5jLrXv7v2Jf+Dm9sNReJSo0iGzh8h7HXJ7l479hNrlVOdkpxfEue+1HdJanD2XK7LOARmzFF4G16i1hUFB8= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2469edd0-acf4-4bf3-68fe-08dc91445c87 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 16:16:37.7367 (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: 3t1QCNLqX1+wLci/zfPDsskCM8Zj5Vr4assNE92FbwHCBVi7c/9Mief8N0i9nHoEoSTFpW7NG4YLoxbTh+HloA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10582 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240620_091649_518112_CDF19EDB X-CRM114-Status: UNSURE ( 8.83 ) 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 Add '#address-cells' and '#size-cells' for all I2C to avoid duplicate these at every board files. Reviewed-by: Peng Fan Signed-off-by: Frank Li --- Change from v1 to v2 - Add Peng Fan's review tag --- arch/arm64/boot/dts/freescale/imx95.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index f98cec944eeed..cc5e829e76cc5 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -462,6 +462,8 @@ lpi2c3: i2c@42530000 { clocks = <&scmi_clk IMX95_CLK_LPI2C3>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -472,6 +474,8 @@ lpi2c4: i2c@42540000 { clocks = <&scmi_clk IMX95_CLK_LPI2C4>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -566,6 +570,8 @@ lpi2c5: i2c@426b0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C5>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -576,6 +582,8 @@ lpi2c6: i2c@426c0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C6>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -586,6 +594,8 @@ lpi2c7: i2c@426d0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C7>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -596,6 +606,8 @@ lpi2c8: i2c@426e0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C8>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -816,6 +828,8 @@ lpi2c1: i2c@44340000 { clocks = <&scmi_clk IMX95_CLK_LPI2C1>, <&scmi_clk IMX95_CLK_BUSAON>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -826,6 +840,8 @@ lpi2c2: i2c@44350000 { clocks = <&scmi_clk IMX95_CLK_LPI2C2>, <&scmi_clk IMX95_CLK_BUSAON>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; };