From patchwork Wed Oct 2 13:59:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Stefanescu X-Patchwork-Id: 832274 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2070.outbound.protection.outlook.com [40.107.103.70]) (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 99A591D0B88; Wed, 2 Oct 2024 13:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727877596; cv=fail; b=eCnA7p32a1QARiLXotmrxuNrbhd9g47+6tIzjKxvOwBR87wcDt21RfW9SyvvJVmqDwDatHmiCKpPsJc2wjc1tvS583ADrtNtSVGj5FHeQ9nq8CDarlHS5CdYeeExPLUhlQYo32XXsItUACZ2+I/KVYRzwnUMUOc4z2nl9ylNwd4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727877596; c=relaxed/simple; bh=6zS9K/Miii4hzxvKLglBJBcz+Kfsc6DaKy3wPXfZHd0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=sooEJx5m7JojCpOn8WFfvrl1WWkecfnYlqJI/XsBopMdgIdeWAex9vvrNf8JeiNwG2BpK+T8PTQ593w0foF0dyIceu1RvrnuQSGUHkMtk1fRmEm7H9XRQX7q/K5lP9UYFVodoKy45PQJzoz32lmI0GTBd+wqr4RJPE9mD2vOsQE= 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=F8boFRD8; arc=fail smtp.client-ip=40.107.103.70 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="F8boFRD8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YmrjTh5rPn/Up97RFOcywdzkecGFngCft4WDISDVtw1cdWM4/znjk/LXjeuhsg1VsYDCg7HjGageToMoRS2D0gNXdGsoW6SAxdvV58adPMJtPs/32NDMev0kjrlfR40JSl7WoFl2pywNfb+2BeQK/FwyI/Pmcj3Z1XYCUkG8qUwFU76O0EBe4BIpnrYtFXBMlnFVItwO14JjlIJFxOjjMwMjH4ZtW8tCFvdIA9Gx7uBrRkirrqcAIbRHZBovHyW7Z7AUlhonnk1p8tIAvLX31lrfcckj9hlMuTTXWoaIW/kdJnAmuoXpRL1kBD/JgCJTAUUEyeFSufkMfepUxJDS0g== 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=y4jcHwLOD1LnJc8zZR0v0f5YxujrslXVHXsWta5jzQw=; b=YERKPrJ+/wQAQ6Kw2PoUAPZxSms66u9Ge7XgKOHEkRFXJok+4a2tNCztNmpq085yaPDxI4ZDjEuvudTCaqzFXcNnHXI5gb01xi+Lo+Y2huf+Ob/I7CDa/XdEfTsSnwbEwJTeTZDJOKO/pgboKGH9FZKA9Wfn2EQjmb5DJXluAmaHZf6uWREWtB9RIZcslZolS0F+a8BGjdNKkLzgsOZv2ejrd2I2rk29B5Rl6ah5Klxj+eAh6Iu9C8iofBp/vzR2clXp5KxR90t4ylU+hLdy/CqSE15cU1kCuv24m4/sFok8txIsbbIBMUrYgM4n8Z0DoWWzIV0P9TpEufw3FYjAeQ== 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=y4jcHwLOD1LnJc8zZR0v0f5YxujrslXVHXsWta5jzQw=; b=F8boFRD8ucoB/r2YFij+OUyYJDhIyMS95nOnqqHTTF7mWD1UJJgEKqa4YjttYM9AqiI+iqK4YV6LToHzLKkap3sj3l6c2pzNTsumgWXU3eTXDmCxqDMbsOPlQ8YXatLaxVrI3ALQCyZl9YfHGrnSNWC24Z3Of+d6Zd+xeqG9JcNhjrGw93GUrieaJ+qDPDhvIm4I6jF8Wrllh8qAN35f+0c17wfwZpNsuQN2DPip3+s9UNXAdMbzmm9BfzR17ZEz3tS0uZbqDivSTpBm4hPEkRkG9T1XfqM2zAbvaf0V3x8bcDKAnvio/Zmm9LavbwDewCNIzlIt9PJfm8b/z4yucg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) by VI1PR04MB9739.eurprd04.prod.outlook.com (2603:10a6:800:1df::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.16; Wed, 2 Oct 2024 13:59:49 +0000 Received: from AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455]) by AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455%5]) with mapi id 15.20.7962.022; Wed, 2 Oct 2024 13:59:49 +0000 From: Andrei Stefanescu To: Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ghennadi Procopciuc , Chester Lin , Matthias Brugger , Sascha Hauer Cc: Pengutronix Kernel Team , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, NXP S32 Linux Team , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Andrei Stefanescu Subject: [PATCH v2 1/3] pinctrl: s32: add missing pins definitions Date: Wed, 2 Oct 2024 16:59:18 +0300 Message-ID: <20241002135920.3647322-2-andrei.stefanescu@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002135920.3647322-1-andrei.stefanescu@oss.nxp.com> References: <20241002135920.3647322-1-andrei.stefanescu@oss.nxp.com> X-ClientProxiedBy: AS4P189CA0007.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5d7::18) To AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8487:EE_|VI1PR04MB9739:EE_ X-MS-Office365-Filtering-Correlation-Id: 36a3813d-ab18-4228-6f7d-08dce2ea7ad9 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|52116014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?91HgWuxW8Ti3Yz0zvj4pkgFopTU4P0+?= =?utf-8?q?9+rzZuU1UdPd7NEewLn6o+AnxY9K8fxU56ZygffYI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gOvmsl9NRO1QEn8yrKtiLX?= =?utf-8?q?U3+CJ9hO3suzn/9PZbJzywZeG5iBSs4LLt8k0yUSiCwctP2pG7P9FWj9oBSb/RkU5?= =?utf-8?q?PnxMBbxwHsCo6JW3oXY6EhiPtDZJ9Z4c9EPaILIvkj/q5zeBMb8jGMk9ZfkGkO1rc?= =?utf-8?q?xsIGirRQej8V3kPHphe8INdEGu35EzsYix+eRAvM/laHNUAV7zBRQrDoOEaP4E3EY?= =?utf-8?q?qUIN1SppqqYE9qeg6xrOe27ZrB8qfYIjTKU/n8STPo/H6/1FGWPaZYY6kF2RB6qiu?= =?utf-8?q?/qG2QYoeqS0BI0Asxj1w23RRA17uUukzIaao4iYaIq2nXvLd2g3ApcM40VpG8AwJV?= =?utf-8?q?vlqXg+Jbg+o2cMwAhWx9bcQTKIRcNAjAsFA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR04MB8487.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(7416014)(376014)(52116014)(366016)(1800799024)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2xs5t00a4naFP+NZrcnlEm8JEI0D?= =?utf-8?q?LqgfVZ8Atfs6zuqcqpG16nM71yCnGU4ZGhiTU6c97RM7c73GeX0A1yJDaxgvEJ5P4?= =?utf-8?q?Aag5x+QZ1a0zhoS7ql1WzRO8ceali1r921A38RUopxdNirN4ZHqb+Jitzp2uHiTbk?= =?utf-8?q?DeIYMx7rVwh+ubAFkABivm/EZKGbhcGluPLGgElt+XHAW3J7Okyoz8hKBe5SQkgF7?= =?utf-8?q?Ck4K0T1R56j8PNtFWAVtBTKjY0cHfGr2fyJ8CEy62AXKcSarbND5nkT+Grt6hge7B?= =?utf-8?q?bfKQEmetSIHNx15LidpJOLHdD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pfp5g0is31UX/WtXNQzdYCOiYwg8Ag4+jvpeBc?= =?utf-8?q?n/waoOSg2Wsm7H6+2qoWPWdtbSOO/FYnSPtjKcAhPYsmog2DvK0WYPnyVEH1b3uDs?= =?utf-8?q?SmHPNG5lE/y0TGppOi+y6EdtfPa2nRcSegSkBJE5xUtMSkWxLox8ovwlrf8B7O+KR?= =?utf-8?q?sgaEfZSU3rt4x6ks6yysIsXD2X+MZ2pqaHVhfIXTTtJrkR5T2k9kplxRT2X6sE9rX?= =?utf-8?q?g7TJNas4LeqE4oOnw39kXLaK+Mks//wvxvpTDl6KzSPkaBKZf/OwbH/PAoqm7bInA?= =?utf-8?q?IgcU8avEM6Pywey0Dw9jphIE+zSDoAAZKMkEEeK1Irjl+lvBsMPcyQvl0l6YKbMuy?= =?utf-8?q?ukZa2GESmGax0oz3ab+rAcCup50elEsOwQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36a3813d-ab18-4228-6f7d-08dce2ea7ad9 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8487.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2024 13:59:49.3534 (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: RXQOogm9VXVziH737R4P1z/qUrBqzoJisStv2qC52033U9l0ua4VW/TJIXe4jQy59sBVIdse1lXeD20bYXPWNR4Ky+pE3kHahFm5G7Cg2SM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9739 Added definitions for some pins which were missing from the S32G2 SIUL2 pinctrl driver. These pins are used by the JTAG, PFE and LLCE hardware modules. Reviewed-by: Matthias Brugger Signed-off-by: Andrei Stefanescu --- drivers/pinctrl/nxp/pinctrl-s32g2.c | 52 +++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/drivers/pinctrl/nxp/pinctrl-s32g2.c b/drivers/pinctrl/nxp/pinctrl-s32g2.c index 440ff1879424..c49d28793b69 100644 --- a/drivers/pinctrl/nxp/pinctrl-s32g2.c +++ b/drivers/pinctrl/nxp/pinctrl-s32g2.c @@ -216,6 +216,12 @@ enum s32_pins { S32G_IMCR_CAN1_RXD = 631, S32G_IMCR_CAN2_RXD = 632, S32G_IMCR_CAN3_RXD = 633, + + /* JTAG IMCRs */ + S32G_IMCR_JTAG_TMS = 562, + S32G_IMCR_JTAG_TCK = 572, + S32G_IMCR_JTAG_TDI = 573, + /* GMAC0 */ S32G_IMCR_Ethernet_MDIO = 527, S32G_IMCR_Ethernet_CRS = 526, @@ -229,7 +235,21 @@ enum s32_pins { S32G_IMCR_Ethernet_RX_DV = 530, S32G_IMCR_Ethernet_TX_CLK = 538, S32G_IMCR_Ethernet_REF_CLK = 535, + /* PFE EMAC 0 MII */ + S32G_IMCR_PFE_EMAC_0_MDIO = 837, + S32G_IMCR_PFE_EMAC_0_CRS = 836, + S32G_IMCR_PFE_EMAC_0_COL = 835, + S32G_IMCR_PFE_EMAC_0_RX_D0 = 841, + S32G_IMCR_PFE_EMAC_0_RX_D1 = 842, + S32G_IMCR_PFE_EMAC_0_RX_D2 = 843, + S32G_IMCR_PFE_EMAC_0_RX_D3 = 844, + S32G_IMCR_PFE_EMAC_0_RX_ER = 840, + S32G_IMCR_PFE_EMAC_0_RX_CLK = 839, + S32G_IMCR_PFE_EMAC_0_RX_DV = 845, + S32G_IMCR_PFE_EMAC_0_TX_CLK = 846, + S32G_IMCR_PFE_EMAC_0_REF_CLK = 838, + /* PFE EMAC 1 MII */ S32G_IMCR_PFE_EMAC_1_MDIO = 857, S32G_IMCR_PFE_EMAC_1_CRS = 856, @@ -317,6 +337,13 @@ enum s32_pins { S32G_IMCR_LLCE_CAN13_RXD = 758, S32G_IMCR_LLCE_CAN14_RXD = 759, S32G_IMCR_LLCE_CAN15_RXD = 760, + S32G_IMCR_LLCE_UART0_RXD = 790, + S32G_IMCR_LLCE_UART1_RXD = 791, + S32G_IMCR_LLCE_UART2_RXD = 792, + S32G_IMCR_LLCE_UART3_RXD = 793, + S32G_IMCR_LLCE_LPSPI2_PCS0 = 811, + S32G_IMCR_LLCE_LPSPI2_SCK = 816, + S32G_IMCR_LLCE_LPSPI2_SIN = 817, S32G_IMCR_USB_CLK = 895, S32G_IMCR_USB_DATA0 = 896, S32G_IMCR_USB_DATA1 = 897, @@ -503,6 +530,12 @@ static const struct pinctrl_pin_desc s32_pinctrl_pads_siul2[] = { S32_PINCTRL_PIN(S32G_IMCR_USDHC_DAT7), S32_PINCTRL_PIN(S32G_IMCR_USDHC_DQS), S32_PINCTRL_PIN(S32G_IMCR_CAN0_RXD), + + /* JTAG IMCRs */ + S32_PINCTRL_PIN(S32G_IMCR_JTAG_TMS), + S32_PINCTRL_PIN(S32G_IMCR_JTAG_TCK), + S32_PINCTRL_PIN(S32G_IMCR_JTAG_TDI), + /* GMAC0 */ S32_PINCTRL_PIN(S32G_IMCR_Ethernet_MDIO), S32_PINCTRL_PIN(S32G_IMCR_Ethernet_CRS), @@ -638,6 +671,13 @@ static const struct pinctrl_pin_desc s32_pinctrl_pads_siul2[] = { S32_PINCTRL_PIN(S32G_IMCR_LLCE_CAN13_RXD), S32_PINCTRL_PIN(S32G_IMCR_LLCE_CAN14_RXD), S32_PINCTRL_PIN(S32G_IMCR_LLCE_CAN15_RXD), + S32_PINCTRL_PIN(S32G_IMCR_LLCE_UART0_RXD), + S32_PINCTRL_PIN(S32G_IMCR_LLCE_UART1_RXD), + S32_PINCTRL_PIN(S32G_IMCR_LLCE_UART2_RXD), + S32_PINCTRL_PIN(S32G_IMCR_LLCE_UART3_RXD), + S32_PINCTRL_PIN(S32G_IMCR_LLCE_LPSPI2_PCS0), + S32_PINCTRL_PIN(S32G_IMCR_LLCE_LPSPI2_SCK), + S32_PINCTRL_PIN(S32G_IMCR_LLCE_LPSPI2_SIN), S32_PINCTRL_PIN(S32G_IMCR_CAN1_RXD), S32_PINCTRL_PIN(S32G_IMCR_CAN2_RXD), S32_PINCTRL_PIN(S32G_IMCR_CAN3_RXD), @@ -652,6 +692,18 @@ static const struct pinctrl_pin_desc s32_pinctrl_pads_siul2[] = { S32_PINCTRL_PIN(S32G_IMCR_USB_DATA7), S32_PINCTRL_PIN(S32G_IMCR_USB_DIR), S32_PINCTRL_PIN(S32G_IMCR_USB_NXT), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_MDIO), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_CRS), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_COL), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_RX_D0), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_RX_D1), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_RX_D2), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_RX_D3), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_RX_ER), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_RX_CLK), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_RX_DV), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_TX_CLK), + S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_0_REF_CLK), S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_1_MDIO), S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_1_CRS), S32_PINCTRL_PIN(S32G_IMCR_PFE_EMAC_1_COL), From patchwork Wed Oct 2 13:59:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Stefanescu X-Patchwork-Id: 832273 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2044.outbound.protection.outlook.com [40.107.105.44]) (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 381011C9B91; Wed, 2 Oct 2024 14:00:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727877603; cv=fail; b=Pdc8a9WvTLopfvHwT4RgE5vw+yrjP7E1ZeuFZButiXyChtHZMOu2asnckOyK1FffroNAfetKmOWlBnZXtxnvDqi3mEl5e7Erj5qz4uTBtKIk1MF00WRhqPLE9F+ZfnEksuSE1dBjGIQTbC1eQSFSvVNO8szRLmjVZPpIRTDowzk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727877603; c=relaxed/simple; bh=+89A2MWcha6lWfvA0EYFPU6Cmt8P46HEyXi/LkUUCLI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=UDaS1klWawBei70numEJ63DWRoympwlHfGxeuwAOIUfYbyN3lc2LM/Ci8YZH+JdXrVnw/Ju5oJ4rmDPi5lSr/W13CH4uFFwcv/jv90rom8kQX5BU8plv4P7je5KcpMSxgjeg0EvQiUUBCw7FCf3zMi101DkaQMZXqROaO6/l7GI= 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=Sr1BL13j; arc=fail smtp.client-ip=40.107.105.44 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="Sr1BL13j" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z7xD44+E5KITjEJ95RjRCYmtwZTdpfNEzKa2GUAw4H60YddFOtrSmN02aBQD9hyOLCAMOOZbWK+k3yULPjtOK1hrYQfldXn3m5Zw/ST2YPeMeF0C7kPhd97/vE8AUALtYnHs6oyR91DZpOSI7qVKoEmLct+YWfeGQC90F0y+xyNnoFupyZaz0laNGlUqYuL/gdc7tcGTxEIeMwWgqouBYmxxN1AWg7y7ynhxY9eBm5hG3namDbbKSOou0OFIsowoIEzzWx2GxBKQBRDxER/0+7LN2kHt7KVy+EJEsuNVavFAybxH/pMlU8kNOxxuKn4bgn5oah5SRLfBOTtk4rYHsQ== 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=lE6a8vJKdM4TOtNcCUd6LvcEfUDsPI2ewv+9jOagD7I=; b=VXOVxSKTb0uMwVkzyLKqghzLdLlCNgpNVL+/ZSsCN62ot6ZueA5Z6W/VDoRBoPkEsQlFh2MBUxkhbVAcS7x6gjv7ihmKnk5RJBsjA5lRTcLUKBjemzgN2orUlA1eQczqCebCn8Nx/K/7jqWD2NyxCXG9BVIP9umumAFYuba3sCvTVZJhOqqkLE6mBGUpRLb9wiZpdgjHXqs5PwMxweE25KnNT1nNOOyXz45vW+J+rQoxGJVX9M2ozlmrolpJzm5USI3i1tgAhmeJuU8EnD3RuQ9p+2nb7u3H1YhqvWlN9ndQMNk/ZU2aiWz9ckfm84CqCUEo2FhEPu0O1JbZ9qfIbA== 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=lE6a8vJKdM4TOtNcCUd6LvcEfUDsPI2ewv+9jOagD7I=; b=Sr1BL13jnq6MTN9f07WMzXmcsluPYxmkRcNyAOJRtbN83HDH+Rgv841inkX6wV5dTnS9peZ4+O5zHxTE/R3+IblA09bRS70QXa9/g1XLc4k2CH/caRDfa38FKHRTmN/i/c2uvkXneB+mCunDstXXr84Q+7iIRes0L6MOwdH/7E3sDk43B0eImz80Cks70bLq+8oqh6ss54hoNVC0nQsJ4nrZyMP4kdynh3w91G43HNVwr5liuKFhSLeXzcVLcPxt7NfV88YuydzH6mb/HytazdA7Rz+qMzoFot2WiprkeQcd/HogPkarA3cHaBEjzMqytvI6wzTKssGHVSig4+cCUw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) by VI0PR04MB10976.eurprd04.prod.outlook.com (2603:10a6:800:25b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.27; Wed, 2 Oct 2024 13:59:57 +0000 Received: from AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455]) by AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455%5]) with mapi id 15.20.7962.022; Wed, 2 Oct 2024 13:59:57 +0000 From: Andrei Stefanescu To: Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ghennadi Procopciuc , Chester Lin , Matthias Brugger , Sascha Hauer Cc: Pengutronix Kernel Team , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, NXP S32 Linux Team , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Andrei Stefanescu Subject: [PATCH v2 3/3] arm64: dts: S32G3: add S32G3 compatible for the pinctrl node Date: Wed, 2 Oct 2024 16:59:20 +0300 Message-ID: <20241002135920.3647322-4-andrei.stefanescu@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002135920.3647322-1-andrei.stefanescu@oss.nxp.com> References: <20241002135920.3647322-1-andrei.stefanescu@oss.nxp.com> X-ClientProxiedBy: AS4P189CA0007.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5d7::18) To AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8487:EE_|VI0PR04MB10976:EE_ X-MS-Office365-Filtering-Correlation-Id: 556ad45b-6367-4cce-d7d3-08dce2ea7f7e 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|1800799024|376014|366016|7416014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?KBRaBuaBQICEr8OrGFLxMIq/DFMYiwd?= =?utf-8?q?X1I4jo+UxZ0hEasv7wkSoNT59No30AwOKcB5rOgEBJOPPOBd6cUR4Fytyda4B0kIT?= =?utf-8?q?wEdNQpLhzbUGQTdl1+zprROaAi9AQTwiCGoh/hIXJAqtulK+tRUZiaIV1/ZvyBR21?= =?utf-8?q?4QqKIS+slGxVGz4FUDVhh2/E2e0xhh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ZUgM2Qpn1FxWG+e3A0TuyrQ07xjuqkL?= =?utf-8?q?/o0ziBMvpCIPSnxuGIMaBgzv1W3A5aIRtMX3BMcOf7IvQLbljFzQ5SPc7Z4Vq0KtD?= =?utf-8?q?kRjvFxx2VzW4AhFKGC+fwsHCky/otc4fU57SrZXwZK7SASgLR8BeO2v3Jz/kq+lOr?= =?utf-8?q?z1qlaZl9TOkVb5RKQKWZi9yF+DtRWEeZlX3zIS7g24FR/a5a43d89GMauWyHXGFSe?= =?utf-8?q?URoqwqvC60/ve4XoJmPetK82835xszpyxnt6EMbmNPEEFWcf9N8k5iDM=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR04MB8487.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(7416014)(52116014)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?T1UuASXFbQO4XDO43b70oz+iANAc?= =?utf-8?q?t6WVsTjVDKmollZQDsioT7zYIO55tHNTtc+0lJeRUu+frJku8MrAP4ZTBls2mobBd?= =?utf-8?q?bR535YrDkxjaeSRfetzRvdMou78zeZpLZ5idVmdwRWgNGCSScb1lLa3MtL2DEDaek?= =?utf-8?q?TlbZtn2SO4puJXFQOy1e/7yXP/8OI8oA/mMiyw3AcgwnBHthweXy6rAbbApEcLlT9?= =?utf-8?q?tmKcNt7tzLYtUM8QsMwDXjWpfvIrOEHEs3GlgZJIO1rd+bQ/8A7I3S204KG5+NwBs?= =?utf-8?q?5iyLhouD+1LxFGXkDEa5kIhkYYdMnyvWkb97aBU35sjQHEJgYUzVrF48ff+kxL8lp?= =?utf-8?q?/fn/xoI+Ie69/Bi/vH2RSfSkCTVKjRVlpXUopUaAfNJZibL2lI5MSPIc7HK7TD2Ft?= =?utf-8?q?OSnw1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utf-8?q?jIB3ER6kogiLNUIVwYEQvYS6wdD6Q9vRL4AvmM25f90RA0A5TxbXuvyNBkxC9d03h?= =?utf-8?q?MVrnLO7GxRgjDqo1datH/UlfY1xysthmVXmJ3yX2HDbbVAHwLwVmsqIlWv2hB4tL0?= =?utf-8?q?8oX1Nnu+KrPr001CEmdNElekNcH2f2SG/ABQvPeJJMetd7OIzMuqTkCb0XKxms8Fl?= =?utf-8?q?m0KfhDFHXOgISTWQ9jqJbdGTLhBDNaNgWh1GiaNZ+uhm6AFWx7PBdmohvl5oQmcqD?= =?utf-8?q?RZFHD5P38poAB+sAWFqrBqpXFZzXFLSocQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 556ad45b-6367-4cce-d7d3-08dce2ea7f7e X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8487.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2024 13:59:57.0932 (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: 3UfE2u+k/xKUcvYXbp29RlrgC/iTCgq5+rWkOsfzLH2jBoxDO/QleFhqCzIU3U9HbPEEDikGGBdGw037ngb/gx7lcql0ZwgF8oUdvvGCXYI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10976 Add the newly introduced S32G3 compatible for the pinctrl node. Currently, it will fall back to the S32G2 compatible. Reviewed-by: Matthias Brugger Signed-off-by: Andrei Stefanescu --- arch/arm64/boot/dts/freescale/s32g3.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/s32g3.dtsi b/arch/arm64/boot/dts/freescale/s32g3.dtsi index b4226a9143c8..f6aafe44c9d7 100644 --- a/arch/arm64/boot/dts/freescale/s32g3.dtsi +++ b/arch/arm64/boot/dts/freescale/s32g3.dtsi @@ -172,7 +172,8 @@ soc@0 { ranges = <0 0 0 0x80000000>; pinctrl: pinctrl@4009c240 { - compatible = "nxp,s32g2-siul2-pinctrl"; + compatible = "nxp,s32g3-siul2-pinctrl", + "nxp,s32g2-siul2-pinctrl"; /* MSCR0-MSCR101 registers on siul2_0 */ reg = <0x4009c240 0x198>, /* MSCR112-MSCR122 registers on siul2_1 */