From patchwork Tue Sep 26 03:33:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 726826 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1EF2E81816 for ; Tue, 26 Sep 2023 03:29:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233231AbjIZD3s (ORCPT ); Mon, 25 Sep 2023 23:29:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233584AbjIZD3a (ORCPT ); Mon, 25 Sep 2023 23:29:30 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2052.outbound.protection.outlook.com [40.107.6.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3FCFF; Mon, 25 Sep 2023 20:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e+ee7fEQjqiVSz1SKCYbYtwyYMdYhcB4KlPQlayidCI0JZlAimx6wiTOEUSM7z9tESQkyqxdJVtWQNZJ/pkK6tqwrhkhNfGffx1h/qNDP/tCHP3cAUT0H2iv/xQ456NXdit0sv5opHt37QwJBEAjwO6mvsb+4fdAj06CjWvPymiyzuF2fDz6oQvlZ5oTpHDDI2btWExE5sw+Ru855K/9tjdA2gTRoLRxLroE5+qrjZkhXvt7Y85OCNA/XYfT0FbTCLs3t4z8hPmhiL6TcGrYlKWinnIe5TcKefPY47fsiBRUQjJj/dECVPGap809Lh4WDY32biFYwHlcHICPExWzYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=sXr59Rq1uZ2nUwvwHArttqzzJnZcwdqlcA6cGqrl3Gc=; b=WaNkSK+eTzV1Yazk7NZqjlGz3YVEIJujawwLOqlRGszITz+0H7JY6DS98qDtMO8muyatvEIEa9l0RSEoX/tXuCOZ1xdqW/+lvfO9OiF8JxnTX39ofqFOIjTDBOXQF3Qk4gkvkszlEo9s0jltBVq3stBQEbRhAdJb+iEDQbPmeTFhmFRe4nRT/B0iely3HZe+MPQuN1Cc5zjGVPj+PqvgQdUxULDuCN+KOmaBvUKWYLtSTipLGNWFJI+EIKEY0/UCtW637D+slny+iPbAHDyCGM2QdozHbpR1JT9wjVMs2tSeDPzi4StCQ2VItZ9+9oTNOdX9bcuG86btL0Chphedfw== 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=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sXr59Rq1uZ2nUwvwHArttqzzJnZcwdqlcA6cGqrl3Gc=; b=hW9e/HyTLHc8SA3ahGbR10P1FtNvD9OMvznjTbcfa0iQhPmNNstNGYEB/Mk2/v4gdQKJe8JBViukovOTcS4m7BKXJjXhLBELtM6ur28Fd6MyFf4TfNc7sl41KvlAkmUcFTvyJ6WhPGZXymG4hPNFYUkwZFkPy+wXGA7lb5PMLOU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB8436.eurprd04.prod.outlook.com (2603:10a6:20b:347::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Tue, 26 Sep 2023 03:29:20 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6813.027; Tue, 26 Sep 2023 03:29:20 +0000 From: "Peng Fan (OSS)" Date: Tue, 26 Sep 2023 11:33:23 +0800 Subject: [PATCH v4 7/7] arm64: dts: imx93: update gpio node Message-Id: <20230926-vf610-gpio-v4-7-b57b7f6e8368@nxp.com> References: <20230926-vf610-gpio-v4-0-b57b7f6e8368@nxp.com> In-Reply-To: <20230926-vf610-gpio-v4-0-b57b7f6e8368@nxp.com> To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stefan Agner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marco Felsch Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1695699209; l=3170; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=SIdbIE7CpI/4V5dWp7tqZZ3kaf6GR+H5NOQPt9VJs8U=; b=bpD9jOV0Ez+oRseiOp6hYbQ2KRVr2f4mJdhDkmyAuytpOXn7i1/oTeqbMAeIn3C5rasvI01UK 4pjNJLdVW9lCx1Xt10LAyIms8G3tFL6xYltHXCwDV4PZbIpfPs3GFAJ X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:54::18) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8436:EE_ X-MS-Office365-Filtering-Correlation-Id: 47808d27-003e-4e0a-699d-08dbbe40c5a3 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +MgriXEJT9qwsjPC+t3dtAl9jx/F1a2dvOzjPVUeWHIN3djhJrip3z18xRJdrUpplgXeIB9vjfizZOhdU2h/oHVf+/wuHWI/C36VGRiVNiGxq8hhX1vUdlV6h40h2BfZMTd1QT0x7isOEMhTj6XoY3KRik+y5zZd7OAnNKTIf5OBaJ2Hzhz9YinDcWmAYK7d3uJwLlfgzXgvrV5uZ7GwBp4O+iaW2/vztJe0RwLYnFAqqqwDShgnHD4t46BIHIHGp8d5vZEg7RBSuFUAsGH1R2Zz5DDOlfOwbgW/ooT06s9bDbKcW9mARQmZKeyKW638bw3t18PTIM9a1n/nRdKKNn2aqZlmdkGPzoOD94bCr0Eo/YKHuL6lbWBwzo7l2CwoVTXavhAKc0Y9HYrBFSWBiwF6W80DY1N4R3TXCEns/AkFUtZXflRBZ+08bVmKebGiR6ihQDy8dKh1+nYnYOT1HCBbVOeu8z/FovvzhPpnNWVs0wZfK0Q7XkmEoFR7QomxYmgK6g15YbSA5Vr4VCLBLn0hfCVHBs73slDTqo8yFd3l5KghQ7bfwgdt0yuF5raMK2ie1dY4fH/vlIMbSWLsedhDqY3BmORNaIIXoVAO4mevmuHoNYmjKfOr3bO2tDWVN2//pjR4UjNYkoUZm8rW5w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(136003)(39860400002)(376002)(366004)(346002)(230922051799003)(1800799009)(451199024)(186009)(41300700001)(8936002)(4326008)(8676002)(7416002)(66476007)(66946007)(66556008)(316002)(26005)(110136005)(86362001)(2906002)(921005)(6486002)(478600001)(38350700002)(83380400001)(36756003)(52116002)(38100700002)(6512007)(9686003)(5660300002)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+GJpjEeqkwMNIRmFkcurusSO6pjk?= =?utf-8?q?42g/7Ndw0n0sdLqx3C1K56WoWJkxx3+VourFVID9Skw5iNZLAnjj+V/LtOZHxpdLn?= =?utf-8?q?y/VO8nuYZqnWaSaGqaJ68RtTxJ+yiFYGmkzwoKZuqG17ahjcqxHd9px10CM1th7np?= =?utf-8?q?H5XndZnHxjoFDjfoiXRir3j/19yyYZSDN7mcTYPlVMCWa8pvC0cU0MxSIhHSm0eld?= =?utf-8?q?ZQBx0LD8Y2JU+o62oK2ZxKdnj582XoNxSXdN554ecV9XNCMVJJ4fOTMcIh43QOHMn?= =?utf-8?q?wDdVLdAAqaLRCfubZB9pc3q1gQZ3dIoEHNfYS7lNSC8gKPyDGbfLyg/vY2cFTw6Hw?= =?utf-8?q?YKIgtP+ELY9hKE4S5jR29r8BLodKOU676LozJri9wywgAP281W3f/icWa7KyzrZqf?= =?utf-8?q?tTqi0Dpo/2PyQG1X/wIeR/5yvzilQLYc5sm/RQuNQ9hHI0vLo/2hB3q1sePeTu3f9?= =?utf-8?q?a+PmSGqLIb2iVqKKvCh3tprI+hhCyswPez7YS5GWRG4JB4vadQAtDgBH12NLPbT9v?= =?utf-8?q?g/m6iZxgRSgGWMl3KKbyHk5msttRu+SFCbr+rJ5s43//7Avv1wGmfSR4Qg7/Xw9Ni?= =?utf-8?q?Lx+/M1rKHaGDvbQJVl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Ukck0ye3h5tbDy3SOwO4bNy80NeO1bthb0+GfwwZ0xp6hwVKhgFkI?= =?utf-8?q?0PrR/+yfJYOr?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47808d27-003e-4e0a-699d-08dbbe40c5a3 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2023 03:29:20.7532 (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: xtqrKbZtmBDfft7I8rDV2Rw2LnOewpd6RZknl6eRSgET8FQHWEC7tZP9vvsSDSSGr8WcohHFdzrNdBfOqdQ7Dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8436 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Peng Fan Per binding doc, i.MX93 GPIO supports two interrupts and one register base, compatible with i.MX8ULP. The current fsl,imx7ulp-gpio compatible could work for i.MX93 in gpio-vf610.c driver, it is based on the base address are splited into two with offset added in device tree node. Now following hardware design, using one register base in device tree node. This may break users who use compatible fsl,imx7ulp-gpio to enable i.MX93 GPIO. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 6f85a05ee7e1..4b111b8c1931 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -825,11 +825,12 @@ usdhc3: mmc@428b0000 { }; gpio2: gpio@43810080 { - compatible = "fsl,imx93-gpio", "fsl,imx7ulp-gpio"; - reg = <0x43810080 0x1000>, <0x43810040 0x40>; + compatible = "fsl,imx93-gpio", "fsl,imx8ulp-gpio"; + reg = <0x43810000 0x1000>; gpio-controller; #gpio-cells = <2>; - interrupts = ; + interrupts = , + ; interrupt-controller; #interrupt-cells = <2>; clocks = <&clk IMX93_CLK_GPIO2_GATE>, @@ -839,11 +840,12 @@ gpio2: gpio@43810080 { }; gpio3: gpio@43820080 { - compatible = "fsl,imx93-gpio", "fsl,imx7ulp-gpio"; - reg = <0x43820080 0x1000>, <0x43820040 0x40>; + compatible = "fsl,imx93-gpio", "fsl,imx8ulp-gpio"; + reg = <0x43820000 0x1000>; gpio-controller; #gpio-cells = <2>; - interrupts = ; + interrupts = , + ; interrupt-controller; #interrupt-cells = <2>; clocks = <&clk IMX93_CLK_GPIO3_GATE>, @@ -854,11 +856,12 @@ gpio3: gpio@43820080 { }; gpio4: gpio@43830080 { - compatible = "fsl,imx93-gpio", "fsl,imx7ulp-gpio"; - reg = <0x43830080 0x1000>, <0x43830040 0x40>; + compatible = "fsl,imx93-gpio", "fsl,imx8ulp-gpio"; + reg = <0x43830000 0x1000>; gpio-controller; #gpio-cells = <2>; - interrupts = ; + interrupts = , + ; interrupt-controller; #interrupt-cells = <2>; clocks = <&clk IMX93_CLK_GPIO4_GATE>, @@ -868,11 +871,12 @@ gpio4: gpio@43830080 { }; gpio1: gpio@47400080 { - compatible = "fsl,imx93-gpio", "fsl,imx7ulp-gpio"; - reg = <0x47400080 0x1000>, <0x47400040 0x40>; + compatible = "fsl,imx93-gpio", "fsl,imx8ulp-gpio"; + reg = <0x47400000 0x1000>; gpio-controller; #gpio-cells = <2>; - interrupts = ; + interrupts = , + ; interrupt-controller; #interrupt-cells = <2>; clocks = <&clk IMX93_CLK_GPIO1_GATE>,