From patchwork Fri Dec 20 12:39:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Costea X-Patchwork-Id: 13916695 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 5BFC9E77188 for ; Fri, 20 Dec 2024 12:40:50 +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=Gf/9rGHENxjT5ACZhjcMUIW0LdrLcyaqsAvGTatcyLk=; b=IZfg8Uv3sGTbyX8BUjE58RrYxp 6bb0ovF90ohZ5ZJbsAGCeWMf+Vuwg9hnfylWwv9ezmb2UnhE7PgyJa0ah9A+dk8xaz2ILQifpi4h0 4BrP8AkD0BRpRho7Z0VweHvtO8CYS664yS4XhhjqNcaMqEsB8CQXRbOLVA/p1NQJrBxQos6L9h6aB SAxadhcPmpoKALtkxVv6Ua+h8fbzkdF+qGobE0JCpdLFx+4CdOWl1OIYkYk6yhhOMnprxA52VqgMw qNh5sMsGyiKVV+wx5n2oyulz1dDa1rDPnRqLcf5xs4vIBdfr4H/SdGG8i6DbpFUKeHcSjaAfwc00N eIo9AaWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tOcJ3-00000004uoj-2NC9; Fri, 20 Dec 2024 12:40:37 +0000 Received: from mail-am0eur02on20627.outbound.protection.outlook.com ([2a01:111:f403:2606::627] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tOcHw-00000004udA-0Fg0 for linux-arm-kernel@lists.infradead.org; Fri, 20 Dec 2024 12:39:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vgB6bgji92cpUeQGZIPk2cq/tFCN7OvSfxZkL0O4VNleQ+U4lbalQUs0Bh/SZqpr3/vK6vXl4o+oUlrxQlVD4TetB85+K8BX537xEG/T+EWkhPIF1OwbVatQ5sbtOCyb9NC84+fio8+TO1GOSLH8EGYTvUUe7e9yXd+y23MG7EBWFEZvUXnpylz3FHm7zt6q3tSyCDk8u+KhE0zoRcKb22sgtxZw6yNWzqOFELR8fG7oYgDNk2pbDyA5yCBQT0lwy8fDaYTLJ1R0CazJ3AxSZXI8f/E84PW1a3+e5lvFD6Sku02jLp3U8/WTD5WU6iIe4HObQHRoCDyQ6E9tsBo5ig== 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=Gf/9rGHENxjT5ACZhjcMUIW0LdrLcyaqsAvGTatcyLk=; b=DM7Z70AnC5/dsyCQoZy6vemWv8hrJ4M946/xO1axKnDbJBrUTp7giJnLs4YsLmehlCzlOWn1bNLX7mtUC1rrBynI4d/b7JFsKKLuqAbHHOMLFnI/X1AzWgbMorLT+WLFC0K+MrWN1v6NhH+038/q6cn5i1du4hfM7KqmFrxGDpOui8i2Yy3Mv+Uh8OUfeBMOqLNQyAZZgG+DelUOz8VUkAHLlRLJ83V1MtjN1nqjnhLpRMii94S4RyFeoem0MkWoUjSPP+BS6em+HfWofXeruQr05QjBLLZ1cqLxSCPxTjkq2Ugk8+Wm7SeOGCRvmvqmtRGnL0djtjYxwOcj42Mw5A== 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=Gf/9rGHENxjT5ACZhjcMUIW0LdrLcyaqsAvGTatcyLk=; b=dQhdsDi7LW5IJody8t9DSdkcbNXwbJk1D4NTFnLBo5iPFbA9IJyoHKEpEGulimMW0Mg/D4jbTa2GkVw465R0QMHOG1Snp7095kSt5zAf8QRkDe3xkZLYYtvDAyengKDF8z7trWj4ZlviQz2n+CDjW/dBaHU3v8CfQaxBkgTy6FTVYmYCyVMP6K3LM1lO7aHy1pWtPl0adZM9ohatmsmqIzWlW5htrLT0APZiJSCWZkBNB91O2UrPf69fS1D0p1xldIXjo9+rip1vVwgnq28r4vgeAb9oSsrZMbX4cnGZk6Xh1iDbjVxn9E0sAoyaxA4kfV/kKRbQ7z3kZ3j+M4mz8w== 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 GV1PR04MB9516.eurprd04.prod.outlook.com (2603:10a6:150:29::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.16; Fri, 20 Dec 2024 12:39:23 +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.8272.013; Fri, 20 Dec 2024 12:39:23 +0000 From: Ciprian Costea To: Chester Lin , Matthias Brugger , Ghennadi Procopciuc , Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, NXP S32 Linux , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Ciprian Marian Costea Subject: [PATCH v4 0/4] add I2C DTS support for S32G2/S32G3 SoCs Date: Fri, 20 Dec 2024 14:39:12 +0200 Message-ID: <20241220123916.1452582-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: AM0PR02CA0018.eurprd02.prod.outlook.com (2603:10a6:208:3e::31) 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_|GV1PR04MB9516:EE_ X-MS-Office365-Filtering-Correlation-Id: 7bec7dc3-ba0a-4efd-2a32-08dd20f354c3 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|376014|366016|7416014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?q?YG6h5S8aE2FvINrMZ8LtHy8+QrAgPrn?= =?utf-8?q?xChqWxR3r2bJzOjLicb8g4k5osGM3dMAuNnAA1e1DSLOi8KHg6ow9jjPppjDHbIdN?= =?utf-8?q?RIcMu0k4083tSqNVP21l6mJApKaO6xnhw2avKoTL3ui7Jm/mellIWDpHnshKXjJJn?= =?utf-8?q?+BEMcFrygmTn2v23gUeTNYEqWXnhbe21n9NcJLjnP9JMYhe4Kk57EIaiqg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gcxE/ZW7aTMOFl?= =?utf-8?q?ErEuJycZmeq9GCQotCteF1tdNoS4s6wq+vAMKsmxVnpwbh9qJVbqxP0yXAg9vTjxh?= =?utf-8?q?QlzSPQLJ1wP5UCmR5lXYnXvgjgVEeTSjLucMAPMl7k2OCleIUyT7z7s3VupU1gbnV?= =?utf-8?q?+7jmCy7siVLtUYVwyv8zc8KhJnY20a4hM6WiMkJmJITWcFzz9ut+auvn5OC2dq4yk?= =?utf-8?q?S7oUQc3jWmBhCHwSGzRnbT28Dl7O5KD3uytkVMf7eJixKq/j0pyHN+Z+KIOvtBH6s?= =?utf-8?q?bMOHfTqGc+bs?= 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)(376014)(366016)(7416014)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XPc4AQf+HpWOQtIOZEvZu6kiiUIo?= =?utf-8?q?nlgfm9vveN0MI9MLKpqgsMt4jMTNZGCjiAznoKOoFiLRVAK7ASp8tPXIUlKKvB7xL?= =?utf-8?q?I0HXNEoGM/t/EbVszhrJJ8LGPif1YqqEF7HPSnMYfCDjrhMo11orP/Deuw73wap3V?= =?utf-8?q?dTin8vk2g/EFsX6NEarKu/JsRyXv0X1lOwU+DkDBG3eq+cVM2gT2d92/e3d/Ilo3t?= =?utf-8?q?UmZObUOVoPWSQA7bkyd+79Lzl8cIKAyfbjMRfFu4XHpUhRay1z8PfxSt/3bkmCYj2?= =?utf-8?q?KWHe3Mrv7HrU/i/Ze3aA1EA/p0eM4COTntgQ0Dc4Ho0yfyQpmKVDOFwkH1jEk84wj?= =?utf-8?q?AldOmynCbKl6/aO6f7d1owtWyNZmw/x6Fb1n0iEHzPO12vyyBg9z5MlumeB4OD+Wo?=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r7uJrt?= =?utf-8?q?dcIhZNrmSsVbovP4MiOBfJcPD6duy0HDLV438PYJ5o4AlNad/fP3oB9lc/4iLksKM?= =?utf-8?q?fPaFf6Ly1pI43H9QgnAeUyxbi3fVw8Mee9+PPYdtCrienouYyWTdUW7tlyHD23PDn?= =?utf-8?q?ZLgRIJyKDykYmzH1OyumbCn2dbs3J58vFMj774VA/y8VUBcYKMTEG968rwcxFJIFk?= =?utf-8?q?kOxEtFczACNo7Ic2wXTN5Q2hUJoHchniXNZCTtYg/pDA5E+gY2JsNoZdMHEh5dsNe?= =?utf-8?q?aNTsYZ+gtHsKKpoNj5v0ssGp1Gk2+hmmuQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7bec7dc3-ba0a-4efd-2a32-08dd20f354c3 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2024 12:39:23.0093 (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: e8czxixB5KMXj/vL/rXwn0fI22ullsTyOgMdvq9aPdpqa/xZR1oHzvtIzwIzfxgMphVmp0Zy65he8F2gkz1QWfXS5p/TQRmwyBvsQo+jFdI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9516 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241220_043928_102672_1DD957BD X-CRM114-Status: GOOD ( 10.54 ) 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 From: Ciprian Marian Costea This patchset aims to add two changes to the S32G2/S32G3 dtsi support: - Adding I2C dts support for S32G SoC based boards - Centralize the common part of 'S32G-EVB' and 'S32G-RDB' board revisions into dtsi files. This refactor will serve I2C in this patchset, but in the future it will also be used for other modules such as : FlexCAN and DSPI. Changes in V4: - Moved I2C nodes '#address-size' and '#address-cells' entries from board common level to S32G2/S32G3 SoC level. Changes in V3: - Separated patchset into multiple stages: common 'I2C' dts entries, board 'I2C' dts entries and the introduction of common 'S32GXXXA-EVB/RDB' dtsi. - Added missing changelog for V2 of this patchset Changes in V2: - Moved I2C end device '#address-size' and '#address-cells' entries from board dts to common 's32gxxxa-evb/rdb' common dtsi. Ciprian Marian Costea (4): arm64: dts: s32g: add 'I2C' common board support arm64: dts: s32g: add common 'S32G-EVB' and 'S32G-RDB' board support arm64: dts: s32g: include necessary 'EVB/RDB' common board dtsi arm64: dts: s32g399a-rdb3: Add INA231 sensor entry over I2C4 arch/arm64/boot/dts/freescale/s32g2.dtsi | 55 +++++++ .../arm64/boot/dts/freescale/s32g274a-evb.dts | 1 + .../boot/dts/freescale/s32g274a-rdb2.dts | 1 + arch/arm64/boot/dts/freescale/s32g3.dtsi | 60 +++++++ .../boot/dts/freescale/s32g399a-rdb3.dts | 9 ++ .../boot/dts/freescale/s32gxxxa-evb.dtsi | 150 ++++++++++++++++++ .../boot/dts/freescale/s32gxxxa-rdb.dtsi | 122 ++++++++++++++ 7 files changed, 398 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi create mode 100644 arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi