From patchwork Thu Dec 19 13:10:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Costea X-Patchwork-Id: 13915073 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 DB986E77184 for ; Thu, 19 Dec 2024 13:12:36 +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=1O37GGDiNqX9BN5G4PEOUKadcZso7tqGm3oWW9QOEMI=; b=yEAnumsp7586IJ1Fy7y9bhK14C zxXBdEFzdC1vXRB8gtp+DoXjjSa+zHVuZ14Cc3TePDibWtyiANa0FB0/0VXCkdYMX06hQVJ+XvPfN pOdmd+kBunGwJGVwNapcQEB9hERB+KTxqc4KLJzCpc5peB8DuGEwx8bCiRHl4M9AS10Imr51NX/AL jwekgDzGzpjafTsQO8i7jg436PCV3gXO0QITnyhbqq4/efHVRQWXaNLOKOykpDAIu9t8MUCHe0b+0 9doGMBPjWIq2RyLBsYzQSwNYc5XEOeiPccExQfOHZDVvZnTn0ZzNqNyhuwS9Ku8REMe759ihJtYSm ggFK0CWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tOGKG-00000001udE-2AKq; Thu, 19 Dec 2024 13:12:24 +0000 Received: from mail-am6eur05on2061d.outbound.protection.outlook.com ([2a01:111:f403:2612::61d] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tOGIa-00000001uGv-0tiT for linux-arm-kernel@lists.infradead.org; Thu, 19 Dec 2024 13:10:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xLUG5b7wakw4Bv+JnSp0SJVKOmZVwdVMqn+yy4sYLy62BAVaxUZs47heOW60TXt+X/lZKL+MXMRHEPSfMgvfcoXuNEEeBPk4bekVMuOjpK2kD9sasOGg45DyH+IpIP/NRbJKJY8gEgy3HCeyPfeJz4EyKydAmX1/s5CSRMnMmv8rt3cTf2XatFuaODxKnmnHv9z7hvXaHHrnzCSPy2VvB7nV4SNNpggOmu2/EPnpyP8C6XYL/SlbH9tcPVOLSmZCrH8oUBPcdTRD3n2bJmbkIPHbNqj29x73cS2VttlffMLjGx5G+rvnbC/7jt4XzJYwroPyDSjIxTZXZ5HJdBKCvA== 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=1O37GGDiNqX9BN5G4PEOUKadcZso7tqGm3oWW9QOEMI=; b=ulpTh7IrrI0AvYH1mDuO7RGyEnKDbAz2DEV+8My058z2uZXSBFC8X7tu7Qijmi9dDXVbPhQIruyd629d/TsVR+TMcuyjldiCRbq3BN1IHGYEQdDrvDW87PnwhJQMHjfgq90Mzl7C59SmBJ5mRo6IixUPiCLJJALpaxi+suxt8bqTgxyfiNCn4uI5MGG1midMz4ZCNu/s9MU7/8k4MkCJTBlhg66WqPmM2tDh6yWEtC6ybO2W61/7T/Jx8oG99aQk+YbZaubGuYwsGSiKCISGd3S+X3cA9vUf2ZmEqwcosTHxyre4vTsDFtX6HTsUP/EXvp6iPJZY/Mwpx1EQiTOGvg== 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=1O37GGDiNqX9BN5G4PEOUKadcZso7tqGm3oWW9QOEMI=; b=aQ2CV3NeThMEp8fTStf0XOlZqW6R4qhLgHngDV5YQfsZCFfj6AGdBjVNY8vCnYPbQU39i1iuqtDAvqcuAXGMSkMJnLK/5/cQZBpKpiB7NiQVzTI3sB2VpMn/jWh8ZDzAoE148f6gg2VUp2LmG4/RunvwzJNRgQRj5vlbLi61kB/yRGh2vlrFDikkHWhiPcFjCyUYroUHgNiwgfg9BWVYF8kQY3iiNC1C1dkSDbpC7IkQWjq3wVN3Z0Vb0NwadosP9MvQ3no/GNgctjzvn4hm15eRNHnvnSBUu357dPZxUFu4yVKMqQey4AB5jc1Llxy+YOafTA6IezBprePpQMaJuQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0SPRMB0099.eurprd04.prod.outlook.com (2603:10a6:10:47e::21) by DBBPR04MB7754.eurprd04.prod.outlook.com (2603:10a6:10:1ee::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.14; Thu, 19 Dec 2024 13:10:34 +0000 Received: from DU0SPRMB0099.eurprd04.prod.outlook.com ([fe80::81f7:ab08:594d:c11a]) by DU0SPRMB0099.eurprd04.prod.outlook.com ([fe80::81f7:ab08:594d:c11a%4]) with mapi id 15.20.8251.015; Thu, 19 Dec 2024 13:10:34 +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 v3 0/4] add I2C DTS support for S32G2/S32G3 SoCs Date: Thu, 19 Dec 2024 15:10:25 +0200 Message-ID: <20241219131029.1139720-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: AM0PR04CA0057.eurprd04.prod.outlook.com (2603:10a6:208:1::34) To DU0SPRMB0099.eurprd04.prod.outlook.com (2603:10a6:10:47e::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0SPRMB0099:EE_|DBBPR04MB7754:EE_ X-MS-Office365-Filtering-Correlation-Id: 0876c3bf-fc72-4264-de52-08dd202e85eb 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|7416014|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?REbHSMJYW1uvciyxsMHtpDtfY5RXj9J?= =?utf-8?q?Q34xkOYhunVuIEKPORur6H/u3Z7w8emmc6oyegYvF6h5SysFi+4avUGKVb1k6a0RU?= =?utf-8?q?6NKggmC0oqCXIzs7EV3Ft3Ne2ZKfapdoBp5asPmztPpDpi82VgNhQ84UVtfHwUyUO?= =?utf-8?q?yAXOa0EqpiJc/0WMSos/tMEt7SH7d3qDV1xVBlXqrfMakBipHmZwr8BlF7TJmKMyz?= =?utf-8?q?Xo7J+p6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KUkNJuK+rqUaM+uDoFb4nxIjW7vZ6i5h22KeINGchotzgOw?= =?utf-8?q?uuOqALEJpR5ACwRwjnyUykVTclDUXELFgZvmQCgeL3L2+btcQw6n/45kuuINFHJE3?= =?utf-8?q?1+kUKuSxfT4WMDqV55FSA+F35oblwvFvR6sxZMMHcVFOhKTTf+2zJ3yVypKt8iMRe?= =?utf-8?q?U75ndnU1QWklyE+8bql8UdwuKeq699TIxBf0MB+s5ld8UCvvzRedqqRqbbq6ACknz?= =?utf-8?q?b3oY69p0bUsq?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0SPRMB0099.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(1800799024)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?PZvjDA+X+9bZApZO163Xn02YOxx5?= =?utf-8?q?9+Ajf+JWZqsa7TWpPkO0BMiMXgnGBhEFdecW7oEE+lmrwjJE6wj+rQwdvV7byKSUB?= =?utf-8?q?JopttMMUYUwd/2mBnzRi+KXHEBH+fXcU1vRnT6CGVgcWK/F/TY7oySVSvvlQzJeaj?= =?utf-8?q?0+rXvLsUotM2oeFEBbPFn+ef+pgDDVjXZtgdskxPgJgZG7brXiVMeYJU/x1GO2w3T?= =?utf-8?q?MahqTMJ7JHaHC0JCr//PYEu/a8c7oecvqYBj/bHGkXGmEjZIdCUcRm2k25RfJx6Hq?= =?utf-8?q?8qTitfI3slRF4izmIJK4WGj1ULfnOxHJy3ZCRq8vjOZcrsTk2G7zlwCFLkOL3x3aa?= =?utf-8?q?Zps1QuwYUB6p23gpTt8FJ4SmehNNQb/TMSyfktjLTxszaGmhzdOAyt9v5/H8M6S8A?= =?utf-8?q?4W9XlYjXad/6UVWtMwk7q8XEKvS9mhIFKUFxCmOHu0jMVugIDKgrD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dni3psDFyA4?= =?utf-8?q?7M7u7o0yayYwhzEEBttOa07d0tp4qllZVF9XCF2Dojyx2a5HFETcxzPgXCqk10510?= =?utf-8?q?nhQ/XK+xOriS2Fj/K61UTbuk10J+H3TUPK2SnpwbvtMGB2hbYomxsX0L1W/e9BXKM?= =?utf-8?q?EYaDLst4xIglIW4cL66pOpORSQ1RZd1WmODTGzKiYxwhJSfFqlSiwXP8YCDHCbSq7?= =?utf-8?q?fN3DXiwqglXdaY+1nA1XlxYyMy7Xbjsnbg=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0876c3bf-fc72-4264-de52-08dd202e85eb X-MS-Exchange-CrossTenant-AuthSource: DU0SPRMB0099.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2024 13:10:34.5422 (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: doWZ1SQvnvavCvWr5F1InZ8tCQQdhrBZ1VadZteVHNMOluGs1xg92Yh3V9CxNbMWFUQvHvsYxGHcZzZGV/BNHwZIIjNa/MSeyRvQqtPWE2U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7754 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241219_051040_252283_EC2906C3 X-CRM114-Status: GOOD ( 11.47 ) 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 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 | 45 ++++++ .../arm64/boot/dts/freescale/s32g274a-evb.dts | 1 + .../boot/dts/freescale/s32g274a-rdb2.dts | 1 + arch/arm64/boot/dts/freescale/s32g3.dtsi | 50 ++++++ .../boot/dts/freescale/s32g399a-rdb3.dts | 9 ++ .../boot/dts/freescale/s32gxxxa-evb.dtsi | 150 ++++++++++++++++++ .../boot/dts/freescale/s32gxxxa-rdb.dtsi | 126 +++++++++++++++ 7 files changed, 382 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi create mode 100644 arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi