Message ID | 20241104100044.3634076-1-ciprianmarian.costea@oss.nxp.com |
---|---|
Headers | show
Return-Path: <linux-i2c+bounces-7745-incoming=patchwork.ozlabs.org@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=lksUewnc; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=linux-i2c+bounces-7745-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xhn6d1plqz1xyD for <incoming@patchwork.ozlabs.org>; Mon, 4 Nov 2024 21:01:13 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 077631C21F05 for <incoming@patchwork.ozlabs.org>; Mon, 4 Nov 2024 10:01:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECF041AF4C1; Mon, 4 Nov 2024 10:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="lksUewnc" X-Original-To: linux-i2c@vger.kernel.org Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2043.outbound.protection.outlook.com [40.107.103.43]) (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 C203017BB1A; Mon, 4 Nov 2024 10:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730714459; cv=fail; b=d7Rfcol5hakH4QBH37Ncz6P306xHNTG15ewDnu9zuAHa4ZSLZr+Qj+ozkW4+/83NaCK5g2pw7+Mhe4SoAk4tLnMZg9OUDffeuRtBM+Euos+YBiIj+w38wCn+acC3h05+IW5CEDprYjP9XcBuVA/y7/gLw2Nb18lL82cBEmGvIvw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730714459; c=relaxed/simple; bh=jFE27EXNO8LzVqwQLOq6PQde5x/TrY48V8RppX2CQek=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=UuNOZ59da+J4c8L0kkSeJUEonQULGnqGpymvBg/ABD9040BTHEsc3u/EwDQsupHNRsPZKA+jPmiCGQWbXnYWNliQPljYo2hz9SPTLAPWrD1+7jLqUmJBIwgZdhBAqjZBlAMbcgBFHJv4nV4cOoW2WngNcM/O1zzuPtJ2mjO3FMM= 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=lksUewnc; arc=fail smtp.client-ip=40.107.103.43 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oVrAYYuFB88H6WOfRsX2sGn60xvQANv+LCijKdFACMFZpGtiLXqDbNFx+kdPexfiX8XMchtOhadB3bTObvc5sQMCxN3N7BobK0XKfAfwsKwnEyZZC8EcbeXB2kgtPbogw/MJqdJ3wlEREpJ0kQs9ILYpW2JhqP8e7i1O5HVN/aelWMPg8eUkYaYwGO8xXowd7ZBJbgUzCGJh70tjuRFelxnoHmuTAIZhPvkX67jGVb/6MJlbBDN3imIoSoSLlYloWnouf0A6Aoe4YcH8YPtoV9PO6t4R6Bt/xbeVv3xW/K/qO9K01X6dfE2+GKUubDWPlq3fhnpjyRH6BHOQQw/Vng== 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=WvkfngB4XoL3a3/y5Nbuy6d6xgsrNa9eoK/eIag7oHI=; b=qFBcaxr/PygSoTNzWVCtC9+u6vBId2nbu19FsYJt8SIg50/rDKPg9aiXSHeuCcxYBdSboM3wXYu7jPshoMJ4i/WWosbz0hjmpji71bLXWNINJYwd9BBhhXkFHgV3LYovJU0TCi6qBg+ieu3QBQiRfhWkMZbV/yItsIGxvtgaZgCXxW4eCYPEEWc8aY3MiNcYVSQ2m3/CaXvrdZPKqH3woCraiuVoC7Oy3HMRZQAHC5zgk/IqyrJPsXi/6ry5gQWmMUxCdR+a1KRjOcVGye8lbCmZeNy4Jz45QXeiqQR1QZLVrsHU5UfMXLnNwd692GLwbTDiUorKPHSV0mc386M0bQ== 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=WvkfngB4XoL3a3/y5Nbuy6d6xgsrNa9eoK/eIag7oHI=; b=lksUewncL9V2DhnOUhP2GO2P8jSEo0iWLKlXRDaHGCmot37IbiAXwGaADkQc/wVuY6KNeeDYAHPZlB6xPR9cRA2GXC80i/oT6Xklobmmzg5gMXRJoVLXGVHtohTDZfeoRyIMOlmk+d+o3Vd+CUxcAzVvP5oKiwM/fFZ5sBQr3KZmRn9CNaGoFC/A4tFWRK8ANN9SEYOtKP9+Wugh194p8fQgk1i3lVCiTAbb+Oc7sNmH6OQY5360A7IjXnxbmY6fXubGZRc9RKDI+jZ5Eq5nRm5gCKZZkzqg6dhNu7zF+MhFLXkApgMzsO39JCkRnWpgj0/I2U1FiEhjw3K0vXsoIw== 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 PAXPR04MB9229.eurprd04.prod.outlook.com (2603:10a6:102:2bd::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30; Mon, 4 Nov 2024 10:00:49 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%6]) with mapi id 15.20.8114.028; Mon, 4 Nov 2024 10:00:48 +0000 From: Ciprian Costea <ciprianmarian.costea@oss.nxp.com> To: Oleksij Rempel <o.rempel@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com> Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Christophe Lizzi <clizzi@redhat.com>, Alberto Ruiz <aruizrui@redhat.com>, Enric Balletbo <eballetb@redhat.com>, Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Subject: [PATCH 0/2] add I2C support for S32G2/S32G3 SoCs Date: Mon, 4 Nov 2024 12:00:42 +0200 Message-ID: <20241104100044.3634076-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AM8P189CA0008.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:218::13) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: <linux-i2c.vger.kernel.org> List-Subscribe: <mailto:linux-i2c+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-i2c+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|PAXPR04MB9229:EE_ X-MS-Office365-Filtering-Correlation-Id: 34ba7804-76d3-4598-e9a4-08dcfcb78ee0 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|366016|7416014|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?q?458TyyWzQpVL3UHsIayrxkLNHuL77T0?= =?utf-8?q?+UOB18FRIiW1pYFGU2yerzcMI0XYI4CjTbSRxvHTNbnzJpCIa+ML1t3OH8HBzgm0Z?= =?utf-8?q?0mip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5+7s/ATTOjTEfRIKH3FvvUxbsT2RGHDEmbAbayEUnOnUekYXwKnyv2oj?= =?utf-8?q?9c5x/LX4E6d62UzAwm9ypXQUmp8WUd/koD9nhKuBUF1XOi8C2xjCGeKzahluV8eGR?= =?utf-8?q?Fz0XMM+xwJmk1IitdtseOUjXFarZa64PawPuhT/1x9+7Fdu+f4vVkenVs7P5vjn9z?= =?utf-8?q?vXXq+OAEC/sJbSWVXpuxoRXQd4BX2ERiHFB93Yyds61Kcw1rwK0AUbawqQWRQi4ZQ?= =?utf-8?q?qNwS+k3cuQ8JUasry1ILGaY1qT/2C+iB6Z5Lc3VBxo5AYxa7CDzm2YF3A=3D?= 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)(366016)(7416014)(376014)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?uAPxcT7L9Y4s+mr7xBQ7WH0LFDQX?= =?utf-8?q?XSMJh0vKLTZqAZ7cENyEwqvpo1q4c1+P83PbvERcpCvKXMLEc/2PY+Kzu1tWn0Q09?= =?utf-8?q?njwXzETAO3I55nGzCCqLVhlZbPuLdtIMNKtsskUP62J4w0as5zB95dPGFdWH3zBrF?= =?utf-8?q?3Iqx9RiNwJ6Y6GUmwIMqW7EhiuO2i/T+xXA3gswFfv0/gQI/Tu/DnDofnu/hLAqT4?= =?utf-8?q?BoS+WKzKwCkTjq+kLDIUu5A/zma7Y/QjkxsD9OdfIMXhJDPwTURjQFKuXm/3SCO1h?= =?utf-8?q?ik1xyVJLEphRPMqazSfI7d4lXDeKv1NN0OtUXylQm1zebcDI82DZzaiuBynkcM0EW?= =?utf-8?q?KT6jJZ7CzDCDZcRKHDnwI5bEEOLrcwbh4y11XJ+3OA6FE/ArwMA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JE9/EYyUkYifJW7aS+?= =?utf-8?q?pLPLTyUl1mqz0KUssJab7WykE3QiO7FJ4YDnWC9xPhtb+dzUKP5XlFRmXyPGFn0uE?= =?utf-8?q?5QOpevAVjZEDbafVDx3xsOQ4TvrIibXTyhPlacvXtTSwf+RFLWtlsWAcCDOM0BktC?= =?utf-8?q?ITl7SHNThDQeiy8nzxrhoHUuOeEINmYJuqYkJxnoEJEQ0xeKQntj6khAmbi+qxljf?= =?utf-8?q?xwGgyoUti3TPRfqpa2fJWBUsG/kW7AR5VP2s6Ce1U1LeI2wPUmrHobjc5kDVkS1O/?= =?utf-8?q?/QRWyhB2nh4Uz9EnjIm+ANovw3WmQMDZnA=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34ba7804-76d3-4598-e9a4-08dcfcb78ee0 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2024 10:00:48.8831 (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: KSxGdVLYjuFTFRXP4yh71alDX6rcBQtgQ+0fsLbVwoP42JMHNFf9iaZuv9fMQiVmrCwVLr1akmsJS4Nt6APeAtBr9ocwfcK/JeySnB+VHxc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9229 |
Series |
add I2C support for S32G2/S32G3 SoCs
|
expand
|
Hi Ciprian, > Ciprian Marian Costea (2): > dt-bindings: i2c: imx: add SoC specific compatible strings for S32G > i2c: imx: add support for S32G2/S32G3 SoCs with the change proposed by Frank in patch 2, I merged this series in i2c/i2c-host. Thanks, Andi
From: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> S32G2 and S32G3 SoCs share the same I2C controller as i.MX. Address the hardware particularities for S32 SoC family, such as: - different <clock divider, register value> pairs - regshift Ciprian Marian Costea (2): dt-bindings: i2c: imx: add SoC specific compatible strings for S32G i2c: imx: add support for S32G2/S32G3 SoCs .../devicetree/bindings/i2c/i2c-imx.yaml | 4 ++ drivers/i2c/busses/Kconfig | 7 ++-- drivers/i2c/busses/i2c-imx.c | 37 ++++++++++++++++++- 3 files changed, 44 insertions(+), 4 deletions(-)