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: 13915065 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2083.outbound.protection.outlook.com [40.107.20.83]) (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 38D091BC5C for ; Thu, 19 Dec 2024 13:10:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734613841; cv=fail; b=IhpLXwyfcgoMwyXnuNhT5aSSmLV/pk4bdDCVxuAlZvAVIjv6RAa346hM7dcfvKDwhiBcYil1IfO2Nfpx7Gq6FqsDHwURfXXI51336XBFr5gE4HjFopKoEamuWKSWNRzh2kepgkceKhz9VPNYf+u725GXYlM0GO7cxTI48ulUQuU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734613841; c=relaxed/simple; bh=xZfnwLsaRWh5b3U2krWyYj4gxxTu7csSNyVDPJfXafo=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=LZYADK69HefF+VupQz/H2fZ4WlTnMzUX1xPuaVK5V2Aje5pLHMudRXSsZTngNorYYRlU2qFl5FmZNv73Md6B6BHlo040U6CY0bcaJHNLrKEfTXSXZCFcuWIIy23WkGrANrMu3Vq8D9tLkOEJSoiZZ5JDAJ/Ktbq/iDgrtoHOTqg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=aQ2CV3Ne; arc=fail smtp.client-ip=40.107.20.83 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="aQ2CV3Ne" 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) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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/tMEt7SH7d3qDV1xVB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UZLg054yutCKi22JyHje0O?= =?utf-8?q?5mQmwDNvFf796Y/kYdKUkNJuK+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?4W9XlY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yWGLpMjreSxEYd2ofT1A2q5lEdsZhde3TnrggaxAOYb+eVK5dni3psDFyA4?= =?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 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