From patchwork Sat Sep 16 02:03:57 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: 723759 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 410F3CD37B1 for ; Sat, 16 Sep 2023 02:00:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234266AbjIPCAH (ORCPT ); Fri, 15 Sep 2023 22:00:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231672AbjIPB7m (ORCPT ); Fri, 15 Sep 2023 21:59:42 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2061.outbound.protection.outlook.com [40.107.105.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2E1C189; Fri, 15 Sep 2023 18:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q5UyS7XpMnIhtRSDfWJ0deSMdtkSdoqB3D46ZFspaQ7PAKGePwHapn6oAg0WugRJnCdLhZTkkyPguyYl011ILlhEfba6+uCUkxzOOM3EsCdq/hAgQg5TI22SYI/B0pAlK/l2oB4yCAx+7YD+Pg/mZNIhVnDzQv+k/nkJ3X6jBOk2dkE9XrmyfYfIEoby74usc1pc9u1oKMESc5EHjBbHWz1UjhNMC4Irw0L7wO26IAeAgNS4vcMElkAyuW8csku4+D1mODIIIPeinr1g/QR32298TdEHHTN3+1W6KyCk+CW/z+DczQX6IQD8Xa3ZIFj18N1dF/pASYIv7tLm2DszLg== 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=OredLwUuII1QxcykR9InI5p4XXzMwosl9AXXmPiYOEo=; b=cNEpQY5v4UlpWzuyHOxq+U5cL835FIJSaQQyAE3Myx+lC9p7rYc+pdTAsYfDFlF+Li2s+L3kyT8NvhTpiDhS1z56R48hVu2lkBIj8O6yREfyMdtC4LKmQA39cmWokSzbk8b7/aPVqLo9fvNtc7NKgaah6Q/8Tc3SOcK71y3iMZBheYlqDiXIKUV0ZVxFmlzpySzB+1TM5gD1gs0jluyTw5UVMvo8afn2xWy5DIfeQp0snsLjBvpiN3ln11Su6A0SKZFArpzUaCzhJ1vYBfT/ZNMV3n0WlQTt9BMuvYX1HokzempHynaqyTQJQPsRpuHa+X19LvZdq8LljaweT+D9zA== 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=OredLwUuII1QxcykR9InI5p4XXzMwosl9AXXmPiYOEo=; b=lIsLlLbZm+33gkSyG/ctXGphgOEh0CI2Wmq20BFC97xXxNJcSIGTEeKrI47YaGKrWDLrtj2wiupEByvEIB+wW+YDFQzTOIlh8lSmbCWOUAc6kmxZeYE4YVf3CmyFOiTGCtMNcx5SMeYg6SpweU2UtydGpNQESYfQuWZpuCE/kNg= 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 AS8PR04MB9142.eurprd04.prod.outlook.com (2603:10a6:20b:449::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.23; Sat, 16 Sep 2023 01:59:35 +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.6792.023; Sat, 16 Sep 2023 01:59:35 +0000 From: "Peng Fan (OSS)" Date: Sat, 16 Sep 2023 10:03:57 +0800 Subject: [PATCH v2 1/6] dt-bindings: gpio: vf610: update gpio-ranges Message-Id: <20230916-vf610-gpio-v2-1-40823da788d7@nxp.com> References: <20230916-vf610-gpio-v2-0-40823da788d7@nxp.com> In-Reply-To: <20230916-vf610-gpio-v2-0-40823da788d7@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 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=1694829858; l=860; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=cZI4+oKhuZAuqO71bHYo1FSS0Vk0Rjk+fgSV3uoIUNI=; b=jtPOBlK3ytaUyEbA299O0QLz2LCVGCmMzBLlLgUElAV16wlV1M4gu6p3AR0/hkv/If8cstj/w JB4rXO3M59UBz9vVX4FJAOSTczb7ewti67xbXPVTgTZxdCAjPMoKCdl X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR06CA0004.apcprd06.prod.outlook.com (2603:1096:4:186::20) 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_|AS8PR04MB9142:EE_ X-MS-Office365-Filtering-Correlation-Id: df254964-9eb0-4a76-b187-08dbb658937e 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: k5ifTqVwJRFxNaUpRSRx/YNOfO7Vm2+ww4LSl8qadYoAMgryFlTMMNgkA5R6qktj//jIDkpOfB6jyeNM+SOsGb79DVLjXuKNiHPSVDi6mj0nylGep3ltwDG2YBULwjHWspMaX3nFM68H5zkz1465FEPtALb9xQhGaY0g8+wyAG2AeY0ohSTuleuNtq9BwYvdniSc61YhE3h9EZiF6eguuZ9zgD0Ix0BaJI3nkfPkcpmRXyoCthTilEANn/bcQttbYHk/lSQYRQTsMZJLewiHdT/dLFU4y1XDEBg4FeyYSymNyB0h4nYInxz+8vohriBg14k2AkeGPId2NhYjtGf5sSHKK90WBezhVDfPC0iUo6OEpmcnMYAs4tX3CezB+Ojtjy9ExsZn99l/csD8tvpvz/zeyu4N6X0OwZ6353FVfpsfB8hHvkIRNJqYsUiPNmpfCKvyswSJn1Dj0MhzPr2x5ISN2qzoxmG4GGDXM7DN+bvo2eiVPWtjF5B/wnLnK4UOjgcALCRN4SvIN9yxsknijF4+Vlz1rbiGFSz2ahn2jMjchkc4KJ5/uBhjFqXkUhtts7LFxqJ3srcCqpbFmCYM5rcanXslNwOT4QrX0VWojU8B3mZwO21cYyiXfoX58qOYIerlu65w3WJt00jE9zfKnQ== 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)(366004)(376002)(396003)(136003)(346002)(39860400002)(451199024)(186009)(1800799009)(6666004)(6512007)(6506007)(6486002)(5660300002)(66476007)(66556008)(66946007)(110136005)(316002)(26005)(52116002)(9686003)(41300700001)(921005)(8936002)(8676002)(4326008)(478600001)(83380400001)(15650500001)(2906002)(86362001)(4744005)(7416002)(36756003)(38100700002)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?UoU6UxKv5LxKOgcraGAs4isV8bTE?= =?utf-8?q?yUnxGxGfXkvIume3L29McC7x4X7eA4nD060fYThMlSUYiovmN85K+/FV8SLo8DFq+?= =?utf-8?q?VeVJj/hsazKZiDpDkLaLwy1XG8nXxpHrF3932f/mwbVwvZrYbhu0XkRcmVGr1eVpA?= =?utf-8?q?PPnWOGGFvzI56nwQ7Ruibsu1UKPVuewzl+JVYCkyBz/w0eRSxOK/3Bg084lrAahKB?= =?utf-8?q?a8XH2c1tct/iOwZZvxtBc2Bkxa8C4Z8aj4H8U/b8DvFb8Fh4UxvUXk71qGH+n67DO?= =?utf-8?q?4M597W5O/kLkg+nki0dZSJcWZKtH/KTjESwESwSzP/uwSEm2jLwR/e8BcFqJG5JtC?= =?utf-8?q?O4ecdhjrG2nAGeeDdzjFe62Dcx4x2e4eVYVsJ9gVI25/4yVBqdt2MQrt0UA33Cl4i?= =?utf-8?q?8BLuAvlid7fWPEf6WnuYzr986flWGVddyRKYmdiyvIu/nxVcGjsE3zJZzAQI8dwKQ?= =?utf-8?q?ey7LveaX1+TnkUU3x+DN+r0IYHEpVsAlDWvbRN9PvGaKVM/zaCIokvHV/hdqI/0ed?= =?utf-8?q?qgmgxP6rKbKsbxCiKPI4ynd4RKJJqIL1XjQk3lVCdV2cQAfC/oNnIdN28KvNCwuX0?= =?utf-8?q?lhQlqmRDh/9AqSwHRjLPxIZz5zEUAglWfaX8rgZ7DNOakdpZ8boW1bGEuO2p7DkMh?= =?utf-8?q?QKCsaHq1IpgC8PBcrwy/XhrwBx9qLsI0LlrJs9pvWfp63qAxZCfvZB7gYxxbHArF4?= =?utf-8?q?2xDscAMAgB68HoQNakK+Li4rub+1kNdFBp3O5zUi7dmKKkW7YIDMfixP49NsAwwDc?= =?utf-8?q?ATVoglx4p3LF12rl7ja2sQkSXExs5pSnbTeAGdrwBQoiSUt/aZKojMO4yQC4Zwycn?= =?utf-8?q?Pz9M5ARu2071D2O4jUiWrXX3QScyvVaJM3WxS9ecf1VvZAoBb6Z6fGTu1PPU7RYZN?= =?utf-8?q?5JiChtY/OKAwIySinUwUtDm4y9l96pyXPz2N6HBLxpjWggQpr7ZgHBH4mzXQ22VXu?= =?utf-8?q?kNfuPjfdDhXloow7vVEhJOp0eAEyqjbBMQb1Kwui3TU/J6jYfvhfg2hUjgBGqEKR8?= =?utf-8?q?tFffzMdR41seP7rU4p0NmYZzyi8DRBl4Z4d82khgu86DfBOEjGXce8/f6Y5RYRKL5?= =?utf-8?q?d4X1A+Lwv5R++YXr0+Pd2O3OMO5Kr9sdTAKpbKsnZcDnbp6OBBHNuhdZL9UFRN8my?= =?utf-8?q?FvJHuZvKcP27wXzJVruQmF175T1tRGh2VL78jP3G/hft5ZAlVICfHefsz8HgmDAa5?= =?utf-8?q?cg2dI24gg32kVEWLGNIhpP+SG5aPDVMdXwLoy7cQbiNNmjaG906qV0ZsOXgOMH8ld?= =?utf-8?q?lcFM+fD96r0xDpLJYsEMYwc4szrPP8Mz0xQzUDOcZgSL2UqQQnxsHhxwuUsoSgtLH?= =?utf-8?q?zhTZ8uUXczzsCMnPg2EscdSFuzvDmbm1iQ9kAlpsUdJYc7B3725Cu2idVBKMCSpmO?= =?utf-8?q?ySjX96Cxz3ajTkrxGtx+st0LILsWrWd9BDWWQ2VBBLQxWdHylBd+bo+KtPim2kxRh?= =?utf-8?q?gHF5Jml1/QBJhfleEoCJpImRz25jcEr6bG9V9B9uEoL5Ve6gVrzLoq2cOzovThITr?= =?utf-8?q?gi1aR1KgaZvd?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: df254964-9eb0-4a76-b187-08dbb658937e X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2023 01:59:35.2155 (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: erfeOKK66E8u1db6cIk9/3diZIWt5QjN+uKnixnXsa82Pk+Kmz5VWeFNnePi+0k06cd/RcaAkSI4/8NPJXim7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9142 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Peng Fan i.MX93 supports four gpio-ranges at max. To fix below issue: "gpio@43820080: gpio-ranges: [[30, 0, 84, 8], [30, 8, 66, 18], [30, 26, 34, 2], [30, 28, 0, 4]] is too long" Update the gpio-ranges property Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index 7c2d152e8617..59427d97adf5 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -59,7 +59,8 @@ properties: - const: port gpio-ranges: - maxItems: 1 + minItems: 1 + maxItems: 4 patternProperties: "^.+-hog(-[0-9]+)?$": From patchwork Sat Sep 16 02:03:58 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: 723758 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 748AACD37B2 for ; Sat, 16 Sep 2023 02:00:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235085AbjIPCAI (ORCPT ); Fri, 15 Sep 2023 22:00:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232094AbjIPB7r (ORCPT ); Fri, 15 Sep 2023 21:59:47 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2046.outbound.protection.outlook.com [40.107.6.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A72CB189; Fri, 15 Sep 2023 18:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MIOnlD14ZFK4kegTAx6zAqRUiuOX8892gMu2wZEE/uup/D9bIoIQSxsSlVvVWIVsmg7jO5nvl/KoZnot57LOMaHJtWThBjAhoKyBFjO3Hq62Dtbv22+9/eYeiqjmlvg3HPlt+OyMYix/Q1ESyWYA9OXEkW6bT6k8brjaI1dD4uZbYsLlBPLrMp+++bgdVh3YNbqObavNoaER5tWKK8GLRAjeElzdr6DUEQZa6suUEkn/LaPuEIQnRNEDpQDDcYmxocSUNkrQuwq55x3ddIAxC5TBPQ9AfjGoPK/SvYyCWZtc0iAMYCG4tAVfPfjawkaSTO/eHhUEAeNRUXngTwVqrQ== 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=lmHYrHs5iCRDyTsOifNno2hhwB84PFpVes/JVIp6qrI=; b=M+Fd9uJFJVlw7NbEFm7KA5GOBJg2AVMs84vMHfN4nT/pzOov/cQaL8+pbt71VGBm4ATTCB4btFwwLilhKjrPKifLDjxtO+BuyJyR/BJZrBmHJgqHOCYtIV8Wo3wrqHipoS6JaNtgQkcV8KBWB9fDM/1lG7GLGNoo7oZBvMflqT6blbPi3mzUtSioQNyP66o63CA9hRsm6yAF+ipKQ6bed8brikTuc6+oFXFhjJXk6RM7AV2AvEkRVjbrS8h357YBUfzl6D4lijo4SL6R49lsDqVxCwsa2xJdFtLS8ATYxX854fLGCG1FLFclE0jkBpb/iT/LkyPxBoYRBU4oRmE6aQ== 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=lmHYrHs5iCRDyTsOifNno2hhwB84PFpVes/JVIp6qrI=; b=MNgHHntjuaMduVYOBnpEvJXYIfXj983UholnGaiRX8qkPubEnaB+FJH4E5szISoKKOpek5eA/h59PGKfZsFwo8/O9mpis9qW4vHzXixc3mn57vWxNUk9CdF2wvC0TMy2qdlubN+S+lAdsFQIhTZ2xS0RrdRTkyPr+ZchWUmC620= 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 AS8PR04MB9142.eurprd04.prod.outlook.com (2603:10a6:20b:449::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.23; Sat, 16 Sep 2023 01:59:40 +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.6792.023; Sat, 16 Sep 2023 01:59:40 +0000 From: "Peng Fan (OSS)" Date: Sat, 16 Sep 2023 10:03:58 +0800 Subject: [PATCH v2 2/6] dt-bindings: gpio: vf610: correct i.MX8ULP and i.MX93 Message-Id: <20230916-vf610-gpio-v2-2-40823da788d7@nxp.com> References: <20230916-vf610-gpio-v2-0-40823da788d7@nxp.com> In-Reply-To: <20230916-vf610-gpio-v2-0-40823da788d7@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 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=1694829858; l=2827; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=UoeweoP4E6/hplm45jahX9OZJSkM06KJeabRlNSyjXY=; b=JtmsVE6ldKrSecMWqQ3FZTerJRlUG+rrOVh1f5CoO1qZrqpU0ZxJYeMykqeTSzHRLk1g6EBlX kIBGw+zwdJlBGzaKb+4kXgivq9Fg38tzeaC6696fmIqgFxsuIK7Igse X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR06CA0004.apcprd06.prod.outlook.com (2603:1096:4:186::20) 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_|AS8PR04MB9142:EE_ X-MS-Office365-Filtering-Correlation-Id: ddda650e-092a-4227-58f2-08dbb6589672 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: YMi2U8+j8zon57PGEbKulB6D4O4y4psx9cY4RchEKx9/0KKLYslYxl95LQBqB3arl1DiJVY3hDOVYKkkTr0DO2D+prjnNh2m+mzLJWzsDaTZBEkHjZxQu574rmNUrFd5Qp0I+pTT4bZ4CruTTkqoJirNfCTEg/rbmNe4+jcfmB3zYvvbggcXfw2F9vMMflqXC12nUT/Shccg4sCM2P/BO9cTQVIjAavrihm7kEWn9p9N6Hy0y5NDC3QUrT+rvSt8Px7gIv7w4eY6azRqsB1nhGzeb3QR8PKX2QcOdrLen/xILGdH6WDkEjXKBah1IaiXh0G8NJjV0ID4ZShW6LmKngpYo5P0MGAoh5/J06q8+pIpjJW899DKgrW2pdB9015sLkEHWDj+zbBQkViwm9cgtZ2xmZA0Nm/5OJgj4qKn+XCc+touYk4ZLXtXFsHGTW15OAf/JYPxHAb9T/C8BLpe1/XNZLHn6Mem7oFwaL3dRzwFELVhDLPbwrlimAD7tBC0kz1T0wIWLyyfMPE1gKRcLbjI/lvcxV+kH8cVsh0D719v943eIb5rJYsVh30SahbG93DfunjaddPMXCc3DY4CFAKi193tMkTpJ3PjEa3ZfI6fXQkcjkyQjBbv+nKbydDGNwJ10/MnauULy74obz0Dfw== 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)(366004)(376002)(396003)(136003)(346002)(39860400002)(451199024)(186009)(1800799009)(6666004)(6512007)(6506007)(6486002)(5660300002)(66476007)(66556008)(66946007)(110136005)(316002)(26005)(52116002)(9686003)(41300700001)(921005)(8936002)(8676002)(4326008)(478600001)(83380400001)(2906002)(86362001)(7416002)(36756003)(38100700002)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gxQ7Z1bq7pSsuZ8l6ZNGlV4ZYqLx?= =?utf-8?q?kwLzadJUp9n1q1OoYKLWKPN5/X2O7a3p02VRtOkZX2DI+pxHbSC50JEqnh/WioAhj?= =?utf-8?q?ARd96cikk+WoEC1nvs5myRssnNjvIlJJNOMbssloUs3BItBhtQMos+PgFO74Jxc8F?= =?utf-8?q?5Ip1W7GH+uBtRkUHjuxtG0D/g5zv6rLQVgehp4JFYfBDm+zgO3zx41rpaxzFg2zjC?= =?utf-8?q?++Gn4jGYk6nJJTF/9eS+GUAeRK+P8Jy5NdXCy22VL9kJTsf3HOESPsgxheKVgTlim?= =?utf-8?q?Q25j0v0sjhjIEdBXH2q0xQRRtKGPSXtwiM09mavpdAPh8/joY5XIf/fcWff3BD3yc?= =?utf-8?q?II0nhk2a1XS/LeHP38iWXGl8aiFcNes0OH3tf1+qKgU7kwJ9atGFzyUF783/eh8lH?= =?utf-8?q?UG5eke8fAX4X0Bq/5BcPPYjHwcgD7iMEVUR+PrsWbczbAWc+ejvYgU+JWN2DYHHei?= =?utf-8?q?871oNxl0SL/c4Q3ZCFaqZGrsB0qYf1hkeT2YmW0Za/vAE5hiFh2fMgW8Q//qsXahw?= =?utf-8?q?EPBj15PzGHrAhkhrTxlJ/3kCGKwI1WGM0HRewZ6SwzgCespX1JEOKWCAs33xoEFSb?= =?utf-8?q?eL15QaNRkOhk/OSjZDNumQxXmT3ytAIJ9invHMNPrjI1iLV7GJeReQcASMxhOLtHs?= =?utf-8?q?zgam0QvfwVeEuIzMGfVmlegZze1lMmMsdksM6G++WvKHwjuvFF2hSHJpbG/w6/tbR?= =?utf-8?q?2nP+cAoyynFfvH3AZasgfIpBVChFkzWBzEYzi8AIDD1tUpv65s5z+FgCBg8vJfFwr?= =?utf-8?q?ookD2R2s/MMEIIdZ2ZVwiLHnPCBkdp8o0pcDFGrn1KHqh4+ko+3mvGEdUCUXvKbGV?= =?utf-8?q?57Pyg4L0ToMO22Drggp0elKBFzH2q5EXZDhVgulEf2vzY1qQseUOTkyZSlgBkqn8g?= =?utf-8?q?goC1nq+SQJ59GWlne4LJR3wy6Wc8KBnSLoupeqXcPpIHINRCTe8z0oD4GGPAFh2Km?= =?utf-8?q?d3nziq7CfCRcLbt9S1o3cXoXB+V5aH8yuJQiVwmArCsCyHp7S/7zLQbdQK9Ll+bUZ?= =?utf-8?q?7pd2ScnAJmDgtmSj/EHpwvslQsdtjC9RIUjsa84XpSE2b8mJ0Z8COdkDHyZcCOx32?= =?utf-8?q?e73y/8R7hrwPZLNtu7nS2B2SyDDR7jSmc3bMG0GVs604e1L5ZR/vPfXj8eQ31VyH5?= =?utf-8?q?Lon+phBS2a7LUDJu3uNhD8kz6ymY6qfCgRYRxGi/S2Yqiwaw4t93gKYoRyoQKfVB3?= =?utf-8?q?Utc+wd5AVUDyU6uNdaC0rP00eoEVNdG/zYWfE792c8rl68MqsALdLmgNY9t68euey?= =?utf-8?q?SwCrZ63iXjvZFbU6wzlSzhk+NtVNBz0+dG7559A937PspTnudvqSPIEsLmfb3TwE+?= =?utf-8?q?gNAQRn0eTuBgb7GJzd16Tx0FOxyctffitET9vHA30fZ/6wjkVvkASTgPGDZ1093qr?= =?utf-8?q?e5rA1Gv5mpM906bznOHhVRhVwSFI2gS4kX/bx66ihfBqjtNgdzjC/oMDY11ZtFMRL?= =?utf-8?q?2gQwZs57jRMJ5Nu4Ae1y+luGhFrdEVs7oMrwQc1kvi7b0DuFuDhOTZia4qxNKp8or?= =?utf-8?q?+bTvaG5mw3fW?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddda650e-092a-4227-58f2-08dbb6589672 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2023 01:59:40.1483 (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: ZdXwy+QCZ9OvSsZKVmA7gEPRgJd5PG7Qbppu2rVs9Lhwh02fLpiKMxzaTPtcFqn2y7JH5iq8Iv/mXj5ms1EZ9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9142 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Peng Fan i.MX8ULP and i.MX93 actually has two interrupts for each gpio controller, one for Trustzone non-secure world, one for secure world. And they has one register based, not two as i.MX7ULP or VF610. Although the Linux Kernel driver gpio-vf610.c could work with fsl,imx7ulp-gpio compatible, it is based on some tricks did in device tree with some offset added to base address. So actually i.MX8ULP/i.MX93 is not compatible with i.MX7ULP. Last, i.MX93 is directly derived from i.MX8ULP, so make i.MX93 GPIO compatible with i.MX8ULP Signed-off-by: Peng Fan --- .../devicetree/bindings/gpio/gpio-vf610.yaml | 41 +++++++++++++++++++--- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index 59427d97adf5..8c1f87a1a393 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -20,6 +20,7 @@ description: | properties: compatible: oneOf: + - const: fsl,imx8ulp-gpio - const: fsl,vf610-gpio - items: - const: fsl,imx7ulp-gpio @@ -27,16 +28,21 @@ properties: - items: - enum: - fsl,imx93-gpio - - fsl,imx8ulp-gpio - - const: fsl,imx7ulp-gpio + - const: fsl,imx8ulp-gpio reg: description: The first reg tuple represents the PORT module, the second tuple represents the GPIO module. - maxItems: 2 + items: + - description: PORT register base address + - description: GPIO register base address + minItems: 1 interrupts: - maxItems: 1 + items: + - description: GPIO Trustzone non-secure interrupt number + - description: GPIO Trustzone secure interrupt number + minItems: 1 interrupt-controller: true @@ -78,6 +84,33 @@ required: - "#gpio-cells" - gpio-controller +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,vf610-gpio + - fsl,imx7ulp-gpio + then: + properties: + interrupts: + items: + - description: GPIO interrupt number + reg: + items: + - description: PORT register base address + - description: GPIO register base address + else: + properties: + interrupts: + items: + - description: GPIO Trustzone non-secure interrupt number + - description: GPIO Trustzone secure interrupt number + reg: + items: + - description: GPIO register base address + additionalProperties: false examples: From patchwork Sat Sep 16 02:04:00 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: 723757 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 83E07CD37B5 for ; Sat, 16 Sep 2023 02:00:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235416AbjIPCAJ (ORCPT ); Fri, 15 Sep 2023 22:00:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232867AbjIPB77 (ORCPT ); Fri, 15 Sep 2023 21:59:59 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2040.outbound.protection.outlook.com [40.107.6.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 047D61BF8; Fri, 15 Sep 2023 18:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nmGpvWn1xEeye6q9ricAS9ztOWfCtypDHeUiHkk4hROaJ5aNvOOe2X43zBEitaCZ56C2hnleswa5wMedB6UT/72rvosefCZsOsUrhLfpuHKjbDuJl76g8U6f2B9wpSn39ttxoP4z7O3biUMcqD8G3EEAZGDynd/tUHAM6uuw+FRQqUWHOpzSyHoYATX4qA+NVXxF5ejyFPFH60z0pbLKptH7qB3B/qpQ2HyHiT7AJVaw5Y42CCbft8FAlPoGERxM+6f0pts7KwFKTHbT2fI0nnGY7Fv9uC6V9CnDT31EwHk6sAscBKUd/qU9QZwNvlx470cjKFMrVFeraWgh8WTQww== 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=U44AIPwM+ReyZbAGkQOUHn8DaaTMrFWFFP3j5j+CWfk=; b=BBR7Mbnac71K5Y9dB1dqKhvwGG9gydrOE9gUC/kP0tfUDY//14+wBvqtZZp8+WzGUIP4RC0N73pk5MXrVeGbRU4kUM9HLsO4S6Yr+HCzwuYIeWTKYgC0pzoh8ckCd/zWuG/ycrxu929yqOATi/xpGI9FXotkKMaJJWU19tcS6WPWTk7kvXcMymjHiaZxUdPUExxa2eZiR3nTo8mDE2osx1/om/ycPF6N4zrztZSBcgOEfyC1d2GxN8xADyhxI9oFuNK/QzEkq873v+5f15B2zZuQLQviMUYoQBQY86akzH0aDbfk7yruLmX2Uyod0S9NxOrvuWpwvM1H0AkPMF2b/w== 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=U44AIPwM+ReyZbAGkQOUHn8DaaTMrFWFFP3j5j+CWfk=; b=Rphp4F5bRq9lnmuOpbU17rYxqFh0SOzA4VTJooaGKZ5QIxWZd2F2mC5PWI6SgkNNGX1bQIh0XobHU9wW+ifxEDSY4dfDA1OjMUicQPfn6TBHxorwdceyq/oQcmFaVlzf8zWB56U2DIOjVvU3mqhmxdH6ORLnXkuIMXv8DOUHnfg= 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 AS8PR04MB9142.eurprd04.prod.outlook.com (2603:10a6:20b:449::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.23; Sat, 16 Sep 2023 01:59:50 +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.6792.023; Sat, 16 Sep 2023 01:59:50 +0000 From: "Peng Fan (OSS)" Date: Sat, 16 Sep 2023 10:04:00 +0800 Subject: [PATCH v2 4/6] gpio: vf610: add i.MX8ULP of_device_id entry Message-Id: <20230916-vf610-gpio-v2-4-40823da788d7@nxp.com> References: <20230916-vf610-gpio-v2-0-40823da788d7@nxp.com> In-Reply-To: <20230916-vf610-gpio-v2-0-40823da788d7@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 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=1694829858; l=3349; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=KIwUQXLlZAXkxFxtSdDA1eXGhBoOZN8UxphNKaoctdo=; b=rsPREGTFgFZ7Oo3ugxbzuQ6T6Xj503wa60wt9WnseGHdql8z6Sb9KCXpo0Ny8ZXps/oEK8dwh UOPxaXqWg78CqXUEDOGMWzFxUj5Q/An/f2JOEOH8YSUVV7KOix8SWEV X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR06CA0004.apcprd06.prod.outlook.com (2603:1096:4:186::20) 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_|AS8PR04MB9142:EE_ X-MS-Office365-Filtering-Correlation-Id: c44f3632-2eff-491b-4d98-08dbb6589c6a 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: dAD2HTMcq30kOiwhR+Xbu7AXhdW+/YT/UWrWGk99VPUfVBkMVSNtzSYvkDgYIkYlDSuQkTtKWl7+IvOeVutJHb43zHFR1W4whjDFYgx6gh4szSkUUKX1haXU7k0X6gZqWM6EIrSfwBvH67bGggLbrCC85C9tEr9sfzOkolmQq13Tge7M59gdEQT+LrOSbde4LPbiH+Bwi5+qPxa66yuVGeKiFb5dpp7mf5pkuH8ntSzdD2roWYdJ2ylsaB3gAixfZx40jKySppu9dXPNP4obDfJiS34SBZARtVpr5hqG04fmOkZiq4A1XeZsD51Uc2zyxTQgouufWW0c6ZY0ZN2w1twXf++OuXwwd6w1ekQMrXDVuwcEyeL+hXx7N/E4prxna12WcKJ/kZ42uIXoGccT9d9fb8sQlMVFG5MW+NseNpkd9dcM+/J0HW7QFMqF9Uo4SMEPbMMgI0bHgM6yH2rihnKw62YJNGjpmwQjBBTUquy1r8nYTxsSCfTk1/uF5/hScpzgFaCf9GwIbOtqCFXdZ1wuhYThLb3zcJCbBZq/a87M0HYmItyiuNH682DJXAqdO4QR9nhoU592i/l7LOOyBaTzPJjVQKfFD0Jrji23k5K14RIq8iNcNTX6K7GECXruZm9n+neIfXdsTcYGabWsnw== 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)(366004)(376002)(396003)(136003)(346002)(39860400002)(451199024)(186009)(1800799009)(6666004)(6512007)(6506007)(6486002)(5660300002)(66476007)(66556008)(66946007)(110136005)(316002)(26005)(52116002)(9686003)(41300700001)(921005)(8936002)(8676002)(4326008)(478600001)(83380400001)(2906002)(86362001)(7416002)(36756003)(38100700002)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?PvNCheCIfbX1JgbIA1kwDDOVX3rM?= =?utf-8?q?lS1nVeQdfeq07EjfGhOcMZIn0epcz5GqnT/UgD1Vpp5pMSQPCPveLCnxl8vOXPhRA?= =?utf-8?q?BgaCCCKVFHFEcdxXYcrNLoNEvHGJBEcBw9xjja38jVwqz6CluZ+xyRFSZei48ZA5Z?= =?utf-8?q?ZkRZPlLzDAY/ahGFe6O7CRGZ1yRi+oEeHW/3Q8eVp/JZ7PNmPERD8wkkJnlLKFJTH?= =?utf-8?q?ClGW3cajP0zVMUthQYSPCZhqpRagTp59OttoBykHM63NbRCNkBZIlgDDF2/wY1bPa?= =?utf-8?q?WBnGdPH0Hxr390WU90FHtgHHFx4kYxoEgrihJC9VgkKHP28lBaaqbB10uBNTYRPeY?= =?utf-8?q?33lIizSc9Btccm6/6uC+8AwVD4KAGruhbqdMTqqcx/N9t33ORMSz2Bibj+9nH3pRK?= =?utf-8?q?VwPkseUq4SnYK5ivQgceCgLY1DGM4ZISoPy4L+VvJQDc/fppGmBEgdUZzruc70i7Q?= =?utf-8?q?TNqoaZNHab17SpKgezoF2ThXFOHSZ0Q5ftaNqTttwq400xsFeDtMhQmpiVin61hUd?= =?utf-8?q?YuTP7PI7a7U7KoAzgWPnwF/W5qvUewZQshbjo05xlYzwF2GlDjSLpjBnSaONgLNWs?= =?utf-8?q?kmvz065IAtVbbYpKYZrMyg1merB76v3INoESlUOqNRqXS9z4cHGzHCCvBZBWiIMHp?= =?utf-8?q?YFO8zhWENOsQH+OwPZWGAqvDdfn2wWb3yQN/ZF/Jlk8sB5o24sDlkExcK5cBUUYw4?= =?utf-8?q?LpK/KihMh8pVveEph3w7p486h2pjk8mA7MiCDoQtgQpdlFinAaG9tzz454OOH4AOj?= =?utf-8?q?ue5xdp1byOks+S/v6b1N3YWuYPykNq+vFkd+LNQQOXADosWZeFEa7G2NPXDUY0Loo?= =?utf-8?q?Y4utUoB6n3QKVexAjk06FkU5CYTrByW/vOV+wnFkKWIHo5OJxf7qonCwCjU/6MkC2?= =?utf-8?q?WfRHsU0KG5yg5sxDBw04HSV67BKmj/9Rm7SIJ4/dexvsZpZRuc8/bb0CtQdl8x6WH?= =?utf-8?q?Ly6Llc6RXcyRAdqp7/7tTH41RJwoYuG6gmq0I1/r2kQPl2T2lIxkaVoTP7Iq5NGl9?= =?utf-8?q?y3dG+Axuxv6YW2nWljuUgWMYit3s7cZYlm/JG6uGUnQz3ytVuMhM1Gjlho+4B/Qwe?= =?utf-8?q?eFi3NvGCStSZUW4AslgDwI7AyKtEvoyaJCSVoGxasDnHcQAO7yBNjg/XaLiVWohHb?= =?utf-8?q?d4HsSA2JIgWzNv1RvZK0MWDfEVwfYoI39x5u8a5hDNqocL0GukZJ553BwPZrz6W1y?= =?utf-8?q?+19BdoSCrfaEqM3zZL3J/QVaIMDZrTjoC9ot127RvehDcxs8CseOzPISIRre4hG9u?= =?utf-8?q?VlhlXX/rcBZp9Kg0ToZjSCD8OBgPyAdvSXpeS40kzkPZJmJ7rlH3rHlquPkCeO42R?= =?utf-8?q?SB/fwIFz8NOW0slOmt1A+xw55IVkLSTYEKyTvyLFm02IYw3oScuL3Btftie8LGbIm?= =?utf-8?q?eVKCvxkcsxLCCJfztRW3n92HYI9qhPbdY+0cS9WcY9/x0PmVR1ZYqaosNOMvddELL?= =?utf-8?q?DfYdkAqDVsk0BmVDk9tKol+H2PPFhhOu0435nWUnuMG8SF/lKM785QsEjdYAvw3js?= =?utf-8?q?dpIwvAfmvq9i?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c44f3632-2eff-491b-4d98-08dbb6589c6a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2023 01:59:50.1871 (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: xgp6Qu7M4iSJPUGvgLdW6Cq90xfiFenC0Fmj+i/phLa2PJfniaiogVu5S/zIJ5vuWYLViKBXCIsLabTPwlsfqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9142 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Peng Fan i.MX8ULP GPIO supports similar feature as i.MX7ULP GPIO, but i.MX8ULP is not compatible with i.MX7ULP per binding doc. i.MX8ULP only has one register base, not two base. Add a new of_device_id entry for i.MX8ULP. But to make the driver could also support old bindings, check the compatible string first, before check the device data. Signed-off-by: Peng Fan --- drivers/gpio/gpio-vf610.c | 55 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c index dbc7ba0ee72c..ef2455093708 100644 --- a/drivers/gpio/gpio-vf610.c +++ b/drivers/gpio/gpio-vf610.c @@ -25,6 +25,7 @@ struct fsl_gpio_soc_data { /* SoCs has a Port Data Direction Register (PDDR) */ bool have_paddr; + bool is_imx8ulp; }; struct vf610_gpio_port { @@ -60,13 +61,22 @@ struct vf610_gpio_port { #define PORT_INT_EITHER_EDGE 0xb #define PORT_INT_LOGIC_ONE 0xc +#define IMX8ULP_GPIO_BASE_OFF 0x40 +#define IMX8ULP_BASE_OFF 0x80 + static const struct fsl_gpio_soc_data imx_data = { .have_paddr = true, }; +static const struct fsl_gpio_soc_data imx8ulp_data = { + .have_paddr = true, + .is_imx8ulp = true, +}; + static const struct of_device_id vf610_gpio_dt_ids[] = { { .compatible = "fsl,vf610-gpio", .data = NULL, }, { .compatible = "fsl,imx7ulp-gpio", .data = &imx_data, }, + { .compatible = "fsl,imx8ulp-gpio", .data = &imx8ulp_data, }, { /* sentinel */ } }; @@ -255,6 +265,42 @@ static void vf610_gpio_disable_clk(void *data) clk_disable_unprepare(data); } +static int vf610_gpio_map_base(struct platform_device *pdev, struct vf610_gpio_port *port) +{ + struct device *dev = &pdev->dev; + bool dual_base; + + /* support old compatible strings */ + if (device_is_compatible(dev, "fsl,imx7ulp-gpio") && + (device_is_compatible(dev, "fsl,imx93-gpio") || + (device_is_compatible(dev, "fsl,imx8ulp-gpio")))) { + dual_base = true; + } else if (port->sdata && port->sdata->is_imx8ulp) { + dual_base = false; + } else { + dual_base = true; + }; + + if (dual_base) { + port->base = devm_platform_ioremap_resource(pdev, 0); + if (IS_ERR(port->base)) + return PTR_ERR(port->base); + + port->gpio_base = devm_platform_ioremap_resource(pdev, 1); + if (IS_ERR(port->gpio_base)) + return PTR_ERR(port->gpio_base); + } else { + port->base = devm_platform_ioremap_resource(pdev, 0); + if (IS_ERR(port->base)) + return PTR_ERR(port->base); + + port->gpio_base = port->base + IMX8ULP_GPIO_BASE_OFF; + port->base = port->base + IMX8ULP_BASE_OFF; + } + + return 0; +} + static int vf610_gpio_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; @@ -269,13 +315,10 @@ static int vf610_gpio_probe(struct platform_device *pdev) return -ENOMEM; port->sdata = of_device_get_match_data(dev); - port->base = devm_platform_ioremap_resource(pdev, 0); - if (IS_ERR(port->base)) - return PTR_ERR(port->base); - port->gpio_base = devm_platform_ioremap_resource(pdev, 1); - if (IS_ERR(port->gpio_base)) - return PTR_ERR(port->gpio_base); + ret = vf610_gpio_map_base(pdev, port); + if (ret) + return ret; port->irq = platform_get_irq(pdev, 0); if (port->irq < 0) From patchwork Sat Sep 16 02:04:02 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: 723756 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 7317DCD37B0 for ; Sat, 16 Sep 2023 02:01:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236867AbjIPCAj (ORCPT ); Fri, 15 Sep 2023 22:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235510AbjIPCAJ (ORCPT ); Fri, 15 Sep 2023 22:00:09 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2078.outbound.protection.outlook.com [40.107.6.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B319E1FD6; Fri, 15 Sep 2023 19:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O0zOz8puqy67dB8FKeazUR1A0f+pdlOpPFM+VO2RQS0g6ccKqb023sdlrw+C6GchhaUYyv8JcUoiuazq8ph0WCrwdOecPYFtwpgjGttOrJIYCf7Coh/xhuocNxIxLhHdXoCHDyupwjftAv7ijEH7ZuTFPRL+HxKdHEuB+WxU9W2WlUQQVJOxnFlrnbMj0ei3SOTebhojyywQ/uVnhYzJdLBwjcK2CFnE4EUQS1ggC0T986pn2g8ep39TZ4lQdbHZDqrex2oI//Ku0qvUsJh7FNBbhmcP5gVKadFoirNQlvZeswnYfxXtm5u8pOIfVrjeKrUYdubrSFfwVuXXv/y/9w== 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=PUoJYOkc74aTn7OwouSGG5sIrL44ShOtaRFR9siZXKg=; b=EIwkZ4wbWVVUc6VM7N3ptURls6kvW8T3vwAUvAn4aWSK7VuWbfia28JPnYRl5pCf7/z0z4Puccsxk67LQY+K8LUS+1rpbi2zOvCWYoumywvEqrSEGC8M2ghyalbnR5ZJHIRyPnmCvDpVruxw1RWa9zABZRt15nsryhLAZ3oCtOBzqUWi2JfPK5/t/s5mnGIwodI/YZUvOu6G189Ymaag5YKhrqPnE6507cOtmclMiYB9q71X2Yyd1EWjy/orhKm38wayB+mE4unWHpilEmlB2MtdmDSZLqEmPXy+1mQbBBKexNe19+CFTwmcgeyFt8FLq8RnetdSqlThYJR9ijZkow== 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=PUoJYOkc74aTn7OwouSGG5sIrL44ShOtaRFR9siZXKg=; b=JPkjK6POCCfMfSIChbWDea6QdTl6KvBwRHdKE+g+c8EKnUTce/IBXy9NIRHb/9UB+lgCoTojxnVzcpjHffwlm7AqFX1rd5TLYPU+fJriGWlflPtfLbEjZxJ9aGX4iO5N3OtYk92BBETT36h/9SmTHHdUlGeKUnlRzHIaJxN7eXQ= 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 AS8PR04MB9142.eurprd04.prod.outlook.com (2603:10a6:20b:449::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.23; Sat, 16 Sep 2023 02:00:00 +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.6792.023; Sat, 16 Sep 2023 02:00:00 +0000 From: "Peng Fan (OSS)" Date: Sat, 16 Sep 2023 10:04:02 +0800 Subject: [PATCH v2 6/6] arm64: dts: imx93: update gpio node Message-Id: <20230916-vf610-gpio-v2-6-40823da788d7@nxp.com> References: <20230916-vf610-gpio-v2-0-40823da788d7@nxp.com> In-Reply-To: <20230916-vf610-gpio-v2-0-40823da788d7@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 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=1694829858; l=2846; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=NuO0Jx3iqgnF1U/F/674/K44XfQc3sjrhMAeImj0660=; b=Xfag7iQODsDxU4MKXQzIFwP/SLKKWSdpvW1QT0MAOED9c3G309B1URGp+pD+9SRFWKMS1FixY qbLA4SRgvWkCLY3i1ild88rhFYw3p8BvX3KBiPF+6FhSOQHufpYK2fW X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR06CA0004.apcprd06.prod.outlook.com (2603:1096:4:186::20) 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_|AS8PR04MB9142:EE_ X-MS-Office365-Filtering-Correlation-Id: 5349b1b9-abc5-4301-95f6-08dbb658a251 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: QCez/4EYpmHjaqfs7Za++nPA9nO53ix6asoqi4u/8UKoWyKHLxMhE9h3UqWUjJSSbZJfUMpUeHv3A44y+3KCec4wjTbiF6GRYpGiSdJdaovsFezHkhMh19PyXbUhUXtJuVeK6b/MT71Q63a6lIlEc8QH64Y1iXR/NDLAuJWytGtKqLtqbItFTCgg+ESx8X+3iUCYa25RcaSCXTXcmUIabnoZ8t6/qpagqt8ln9vy9FJuW25P54VDg2gQ8XZMgQbRbCPE5Psie18p7w6SxVS0f8xuaImJgEmoZVHQTkHlO9KpwUshIqUa0cA8Y695uZ86DU0S9c8y+eO6oql8Nu1n6UM8Cq/e7EVjPKQ4GcBXitzVgQJgGSazs6lbGfm8L0arVjS/KlN7MMDm7Uc3Q3GwC4MU3nv8L7i5Ewjltpqqj8N0XVrmIMTmjFhX62mLEh0Cqj0pvuRqmzLYpmprWZ6cshIZRz+vOdoqMU9rQ/c7+2PrlNiDb8p6Krgf3/T0ciLwOQhCb9cG8P9NH1jjb6Omi10HX3w8TX9yUh4FkmBEePKcES4ST+E4SgLl0iMNE7pzRty6PD52gd9aS6Eows8USFnPdyEJutSPNdIWAeSmQOIqzlTuUlCVGS1+X+lt8nrV0uhwYHJlQWXxM0AiHTt73w== 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)(366004)(376002)(396003)(136003)(346002)(39860400002)(451199024)(186009)(1800799009)(6512007)(6506007)(6486002)(5660300002)(66476007)(66556008)(66946007)(110136005)(316002)(26005)(52116002)(9686003)(41300700001)(921005)(8936002)(8676002)(4326008)(478600001)(83380400001)(15650500001)(2906002)(86362001)(7416002)(36756003)(38100700002)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2IksA2Pl3urNsXnhptOriPmvY7Vu?= =?utf-8?q?o7D5OUCtYG7C2eB2s94DwsOizCgV2asZqrRFEK0YEVO1pMJTOxsKC0HlMY/s3MzqN?= =?utf-8?q?ULhYVVYCTdJ94kRK/p4n7Q63I208t6pNgTdG3UP96wfJi6d2adJwafQO+h31iHDNa?= =?utf-8?q?u0VKj5aE1F3shA20vqM/uE8Mu8lP+CV0CcfdU/eLQz1oIvZJYbE8/L75vD3lJEZpk?= =?utf-8?q?utvrv/lAywdrWBY8hX76Y2iDBHv4lRs4zg4yKTna9+SpugnSL/Ypzz0jixUz0Ceh1?= =?utf-8?q?eV1Y53WrNIRdJfW959x4QXRB0GD7n4AfSre9E8B9FCZIT7zdjBLvbYInqgPKbmG2H?= =?utf-8?q?ftp6UvF3TW1LQkxaVRsW0eAxLoPtH0s10gQZAdvg1PxIK0/ITPWtIIXlHX46c5cl5?= =?utf-8?q?iYHib4Aqz5yofDNCu6/d5rrDTKO6f9EfoQbCo60jWj1O/OQjs9M1XGMFnAWWqpRh5?= =?utf-8?q?pvU36+3m2dWmLzRQTBeTZJZpbzpA0zcAx2iCM0h9KAgFxiWwcisPZsYDrWXH4DFMY?= =?utf-8?q?VeaVPpLBxxr2GUZhOg8VrCHWnitpcBUbPZQckPlrSgV/HLKhRqdRANXml96tAt1Cb?= =?utf-8?q?EUrzqocBMspXm2KKeb6InbQoE/eJpA1O3yzcUJVuheDu/g5n+4yDeFPZMnXQP+4GD?= =?utf-8?q?GOCjmMJ+tBP2kQmSwQ5NBDrMvWmqRVZ8bNwBmAL6kemYogAdtwuiqZXErSZ9n9YjR?= =?utf-8?q?zQhB4N8N9hKp/hEnlU34kgMEw7Qc7h8we1nuj3Mptim4c3ak/JbFMKQuO11GOtV6e?= =?utf-8?q?Y8Nxb+FsCREc3m0zLzpgnL8Asvh6gmBupx7xPUVO/0PF6eoW54zDR8WTIwm2+gNl3?= =?utf-8?q?Fq62Sxv9tHZHifkH9lmb4nb1UTO57WI6EHipq1tlusKB2Cm5HhFZ90/wXtTJGz7Cr?= =?utf-8?q?LgpYxXr9Bz35oRuxNb+R8uW4dIhOyrHQHq9pSAGWi+ZcB4UIpftQ+k3a07CNoXWtw?= =?utf-8?q?p+9ZtPZSj0IFQr+YSFA6ymG6+nBhdCXXpUK+pAop82nz/BAA78SYL7tvIypXSAacW?= =?utf-8?q?P1EXhoMA19H1u4RvU2Yfz/gHC1bVMmpGRWGIosUi8XE4FP4zqEpJAIGYwiRCGcsUH?= =?utf-8?q?iMu9DO94zvm7ql6tEKrO7pGRYIg0Sb8lKC0babP+2F78yrTWRcwGb9kkmJeWArDTE?= =?utf-8?q?Ew064LxB7SFw5QL0Q4rM6rfyo4sqkBGPunJXfMS+26WIWhQTJPaDzP63nClPKKqxz?= =?utf-8?q?18SIlXYXnmu1Ll3k1dNbwK5Govh8RqvDYykgo87nqe0T+yGEUfAHecohGEI3q3q1g?= =?utf-8?q?8z48ztOorHFe/0PdOO1ctTTqTY9+4RmBrrLKND40KvAMH4ZYJD3MLcugOXFu0EjwK?= =?utf-8?q?zNRUlMfRX5n7EB8Bo1JkWgBdRjm2QCXVdhSeI8QVDDjkRhM6WXqWK3FoqMIgYeR6W?= =?utf-8?q?kDJURgfGUXAziEnSVh8AHLw3WQRjKD38ueXqbFj1AUBKTkCDcwT0QdmsYV1YBT8f1?= =?utf-8?q?BhvfjWfh9tuGiVjBNMcyrqd9SMowMqhPQMO717zAIpgewDUy+IAt+A2SYVszmw2Vd?= =?utf-8?q?Gtx0UHl/nP+9?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5349b1b9-abc5-4301-95f6-08dbb658a251 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2023 02:00:00.0666 (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: UuMUYQtJvbAKktY91rxRIiH6d8+dkfUEFAA/lIkPwMMP5b6WPRgFBiTrN1g9WuqLz3lXp2nyl9pm8SIvZ72bhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9142 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. So update the node 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>,