From patchwork Mon Jun 17 22:30:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13701504 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2064.outbound.protection.outlook.com [40.107.8.64]) (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 402861D953B for ; Mon, 17 Jun 2024 22:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663487; cv=fail; b=dScpIz57LZg7X8QSsRta/Xr4zaJ9H1g9w4+4V0pvpwTlCLn9/qmKqbhN23ocuRR2ZaXAzSgCKicKup1rajCcPns4DHlYIurbaUrFLAb6kUKr0ree79jkU20wE7AxWEudpUfIAe87net/A0LDV77Gpoxa8YXSjQjd2wK/DmXcsYQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663487; c=relaxed/simple; bh=my6hAhGl9LJ0Ns9ZarEIramNUUmVbi8hCSY2CxFkOQg=; h=From:To:Subject:Date:Message-Id:Content-Type:MIME-Version; b=P9N/BKyLglLG+8GEKrzt94bimunE0Ur5jhCYymcPXpHYuBQSqls27u1bqyUc0HU8J9Mx2ocYwP42vIeOoNZfGJSV8tHgV8WZtI/x8CtZHTa7La6nIDlJZ96380N3t78tNuN9Q3vHBmcpy5tNv4AnHs8MnvD1PpXSnW6ZmeaUdAY= 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=TL4EYB7W; arc=fail smtp.client-ip=40.107.8.64 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="TL4EYB7W" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kh4hYRjUy0L41IXrTYI78zWSP/jdQzBX/bLVcTp3dilbKb9yyv9rpZrD5F0JJH2bzRNdGf8mXVGtx/0QbvdmnUNEb8O8RxZtot601tM17MwB9UysxCRKxVbzYU5pfY2D1PbX81rkLJRo51FnNS/wEQ9p/ZdSh/HuYXX9AZFde4u96oVjs1hyvJqLNOBkqOzl9IwsHeIH3BuMhbvgEmDMYeW9Ozk5VkRfqgb4EV1jAzRpkq0/z9P2fOJBWWJ96inlsSO2B3/X/NUOa7WZ23L1l1E9bOfpuH6hjM9lVZ/H+ibLMnMXiFHIQ8mDr3gcJItisQafPKSi6PeDO4/DQHruqw== 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=btdIluEdK/Z96b0yaZ5hUceGroEVZvEIpjtUcUINDzk=; b=lIXGihMkLwXEDbwME5JGfq4FHFxmJgNL3sZF/z50bahfBWT1HePkXERzbP4ar8ORcvLmv6XKrwS1g1xXeC2Vre82vVeZsAjOGM/7Y+IH6plcKjVSnfc9b3J7G352Nnld+4A3Jr87zOsIExTTRyL7iffMH/FPH2Ck8taUNCX0TMW3perlg8DTmRvL25vrTSAu2pXLssXWgkSCSCa/BCIQrU1xQhbobOZQ/wx6IfLpf+YmiFpYksCSIgd/8kV26hn1jtwkcR7e7AekyZVALoFTtZy8po2vPf8Y1lPUfCt0oTrsfcRmIdlC3iSJjWIGC1MY07UJ0CjBWvvj2ZznlLteNw== 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=btdIluEdK/Z96b0yaZ5hUceGroEVZvEIpjtUcUINDzk=; b=TL4EYB7Wsij/LGG4SvOOZJkj7Qw1RkBbmzok1Nlfind8SKNSD5UBt98upT7Vc9PBlemGiBo3P04LoAzOJE7bjvqHg0Ppp/eCWCix1PKT2vxQaAKVX2CqVgX3Td3GlqEX/iJL3SnWmWREtkEVWB87QpysLFXR2qbHpAij0WezQaQ= 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 AS8PR04MB8150.eurprd04.prod.outlook.com (2603:10a6:20b:3f0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 17 Jun 2024 22:31:21 +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.7677.030; Mon, 17 Jun 2024 22:31:21 +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 1/4] arm64: dts: imx95: add '#address-cells' and '#size-cells' for all i2c Date: Mon, 17 Jun 2024 18:30:57 -0400 Message-Id: <20240617223100.1539796-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR05CA0032.namprd05.prod.outlook.com (2603:10b6:a03:33f::7) 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_|AS8PR04MB8150:EE_ X-MS-Office365-Filtering-Correlation-Id: bd6f3f7d-16f8-4ae6-fd1c-08dc8f1d368a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|7416011|52116011|366013|376011|38350700011|921017; X-Microsoft-Antispam-Message-Info: PdPDVeviKNEQNy+aDAKiVV6bcsZqGJJR6hq9mHzotNZaLbSn7dIU7DWWjZfsUGUYYnMGDSKnbFUPW3eFWECFni/41tOeAjqv/OwwGT+qaL7p+BxgypHBOk5BBzW1ZHNVftA54EmuAI+thAu+Bw2ojCRMQjc8wBJK0yRLceXqec+Jw5okezM8i4QuAq2CGmvByBzmepymNOfY9X/zqhVgaznGOjPJmQd60aUg5MBtze/ovR4QlyOrBn70+w9zdG98GASlgcUfeankGy9zAGorHNdm1UlMNbMbEqGsPB37dkuoXpZ/Uf0I07nmM0WRVavm2uSAwZLZIEYOqO6G5i9eNrYogfECR2YF5mQ3qHjxU/eGv6UCj3uTMjJbWlMssdHXZ++RJADqriuDRC/HiRYxr/7PEejxXI1ocrYb6yUplBckBMruwBj811exCpIlPOeeXHi8wQd7Dn++12hCx5RpHEajdb9Zg5OSZLr/if6SS+aoLIurWgayn6QNIltBBxiCPZoHwRL+SMduqbm3+krKsRnJkJPfq2iamrZdqSmyJluR8rDAYcZoaJsvJ59yU2Sox7HYKRWqx9HA7C4uWsPArG6LFRLKJEMLF3PEct2KY7e9chSZ/1tzUprOIMYoCBPGPi++qM+7/wQ4JSeRIqQEYdpJgH8vrckxJ3YCCDFhkklNLqWvKU4tAc/JxIqS4YVaw52KBKak0Kc7HOayLxzdS8yQ6f3lSSapck+bFl0OC0X85Rj3J4hkDxllfLSyicgiN2aaLO9Mu7IAQ45LWGHGFb8rMoVrvo3Y5Y1dQ4617147+YexYYjCm4qYm/IHQbByclOzs62y7Np4akiGqDwiNa/RSZmhx5Ga2MNwy/ZA3U/0m06a2F6UOVjMt7TAvtpnFeL0y33bbfP9bu3xkBaOfN1FpGl58iTyZL/sUUF9kDf7R93ff95gFRjnLGRE/F6iWyIDuY2+Soa6BJmTw6gve+to0+kl+ltJRPwG1586iIk7ziaHZKN92X1TfwTDM7XKyHQ8u3+SA3kaSyQI8zm4+Ha+ck0A+OFOo5e/w9gok3gtwWy75PsXh1lzurD9VbAasyxBLEb91BPKGDvSdPcolzDI2W8g2z1Ms0kF46syr6NMVpqhZuac1KemjJZDu95+MHVbSrAv0rsiPAYiUdkoxL42BvlbECEyzddluFKZ7E8fJDR0Sg94sLQJAAuP4dFlxJkfUasjcBWOg4nJx7A3pF8CHlQCMSwBWLS4UQnOJuSaaYPToTQ9kHoG2FaJJYTQ7Xx6jWbx3fyxtbdroq05QjXODOfuTUECMKZyw3tNA0oSnic4XDTLSNjDLjyFVnBpW8GBKuXGHmRiP4k0L6+9/2/S/NE27kJSGmMoZZPpEHXfKmFm/86Qs6MEtVoCLVNN 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)(1800799021)(7416011)(52116011)(366013)(376011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS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ljPIpS7bo3u50e7IxJQD9UFnH7z5rIy/AmF2DCe9vaqnLCgKMZFSll+LDS97GUvrEsaAa2111qkQpgSnigGr/pBiGekKSZf8+G03G7MUp0lLjNrccgaEambScH69ENMY1si3AjuqK32UC3qPKoVz4WmhD2GTSeDay5Bf9p8tAkAwLLEH45LIReV272hDRuJVEW0GRjjivMTou0qoYMW97yR6WKOw2ExitTVLnElu4QP5eUZaF/9ILAsOXolAcYMfqCUQu0j3emg4QSd5RgIaKojc0+ipCfyr3XLuwNJY2Y2lNTfLHTsKXeHUXWrOP8tScnMj6YPRucyRzxxi06uazylFeHkCXKbdJRhm8mG8Xz8o8GqWYSB33OBmFg4swJboN2Jomf/BLWEcQ2By7DwNkRItMT1dJWNTUkOs60b231EszwJt12fUqtmKcEkr0OKnDySxL73ujzsCqU/Feg9+z4Fhk3vg0ct4LFDP+MLCy8c3zQOsXYcT1zD2JM6ioNXCuXUQJfYi3fuEhNxidtilo= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd6f3f7d-16f8-4ae6-fd1c-08dc8f1d368a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 22:31:21.3310 (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: hVZfCwpWwUue5mtWLFtZoIKpaO++LJ+X/hexICZ4WELgxN5UGqCiKhTm+vXNw1jP3jYdqg8/dGhPBzc3Hz817A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8150 Add '#address-cells' and '#size-cells' for all I2C to avoid duplicate these at every board files. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- 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"; };