Message ID | 20230914-vf610-gpio-v1-1-3ed418182a6a@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp83573vqi; Wed, 13 Sep 2023 20:25:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEA6NfWlS1rziWU0laan/NhYSlvbSAEXET3P1207xVb/Q+4SIm3udDI138kZFPakVCAcZm0 X-Received: by 2002:a5b:752:0:b0:d4d:b6de:69bd with SMTP id s18-20020a5b0752000000b00d4db6de69bdmr4064885ybq.23.1694661939352; Wed, 13 Sep 2023 20:25:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694661939; cv=pass; d=google.com; s=arc-20160816; b=hkHdW7JqGQ70HP3F8W6Gc+Ouv/beaRv34Xnp8KSaIM+fjX7QEG4kinTeIC+T1O4iZL WB2XkYiMbCuJR+bpGKAHV2L+948CD1V7hlqtbg8OwXSRlBcvKD1KoEABQHYfkTimH9j9 Mm0GduD22ikLY9sEg0Vz33b+zaU3asbDBaFl1pOMAV3SF+jQQ9Q0AWMFQSMa8m9wbdx6 gSh5hSLdKFuWqBvnZoQyVmXe0UQ1Gc9x4U5JqRBVZYgt4LAsz0NXvivugtbQRS8mqTG3 uRmZYXtlbXU9IplWOeFqIAkLDKyZ+6oN9XQ0lKREEuTkQJJE/jUFFNqc2NL4dl4oIe8t cvtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:cc:to:in-reply-to:references :message-id:content-transfer-encoding:subject:date:from :dkim-signature; bh=eXvTs+TjNVO8uK4NA2JOlFvhHMtDd3XnoOC3ZLO/AU8=; fh=COwI5EyG1DB6D28RaDWbFhDRTTyfVICzJ11TjDY7TVE=; b=IZi+HuwTCtJ34M1thRQl9FtaXFmLelu9h8SRLHWIQmmAM3bYs8/8G71V0mXsc0pqPh JgbD4Nv+vJvcnloSCNBvYc3sTjlmuxjDQ6XLpYTtT2i6sq1ldEI5lrsj3muqU6xeBXlU kRDV8/Ilaruk9DvoANlLffTz1VNCOc5gL8azXqhNIqoBFQIraUCjgPp/fQ7uGMfYzVNl MomjGIgJeShCWg3pTNlmlvF4g8bL80sQ9FYiXB9i4agl5YaciqtCRsRfK2tU2AH3wpn8 UjqFMZxFmH6XwNHhKt8VdVibK5RErn27f6xVI28nnmpCVHzBMONudWhCx2L1bKtU63U+ W0Dg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Hnr3uaSK; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id mv10-20020a17090b198a00b002717acb93f1si702548pjb.83.2023.09.13.20.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 20:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Hnr3uaSK; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D01DB81ECCDB; Wed, 13 Sep 2023 19:16:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233919AbjINCQm (ORCPT <rfc822;chrisfriedt@gmail.com> + 35 others); Wed, 13 Sep 2023 22:16:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233609AbjINCQi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 13 Sep 2023 22:16:38 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2078.outbound.protection.outlook.com [40.107.20.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D51C61BCD; Wed, 13 Sep 2023 19:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TViEZCmdVNXsj4EVCYeb7CXLzckeu2Pa6/1l/l8LpOFk5yEgokd0TGPa+LLbxWHIZ/gde11k+ISzRWH1RmVSzs5nVgQa853RPDxzzaXwUpz3GhARt0N5wdDo7A5JPCrarmM0UEwHIksvsbc8n1R1OjG1xGAJVWYw3ZD8Zn/VzIacg1VelOy4a454VHGfjFSRp5XwwhZ9bg/zCRAyBmAr5JvjJNt2gOB/e5I3u33/tr7DiWof3rBv0aXPqxdWXWrCnt222+IbpmKRa+7scp5nbyIAih3grzCG3rPCA8ShyRsUPli5ppRYFSXb+TBXzoa8a4ePY2meKSybVu0IgluFlw== 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=eXvTs+TjNVO8uK4NA2JOlFvhHMtDd3XnoOC3ZLO/AU8=; b=d7/v5IMbDmYgfKW9NnRcdIDZxyQuw+m3vOLmcB6/nPeGWgwK9Glc7FxQaVsPM52llku1uPZXTAK6DvRcJLZyvpcIkZySvuMjT5rDnd28CpfztohcxN9skOccAI9C4RKHcZ7R1ti5SURq6f2otaQ1h9JARlA83QNcVsEMk0Xh/71zwB2vqOQQUrAOQQb8MyOMs01of4HMK7/jY04DudRa7cNaSQG6tDGY/kW8aOLxnSnOTU5+VaHCiH6RBfla6c3tM60KkrcqqRUUWw1ocVAvdi3MPPfTiZKbacJrWlst9I03Ds5tASx977hAV8G0brCgnSoDuHj2ZC4mg7nTHUcAwg== 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=eXvTs+TjNVO8uK4NA2JOlFvhHMtDd3XnoOC3ZLO/AU8=; b=Hnr3uaSKqJ3v/H6VKzSflqqsKWyoxEtq3+QGjgge9nF6E1slJ4oJufOGikyAoIAl3dbQgzLW1GXiDh+U6UbEIs+vGDxMq2+hXbEVdLpi1ad14IDDCQ9cOEschFlr0Dr86xMqY47kQmugD2bj/wkzq/eXBfedsWpOO34cyZ0XaYE= 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 PR3PR04MB7257.eurprd04.prod.outlook.com (2603:10a6:102:93::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20; Thu, 14 Sep 2023 02:16:31 +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.6768.029; Thu, 14 Sep 2023 02:16:31 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Thu, 14 Sep 2023 10:20:57 +0800 Subject: [PATCH 1/5] dt-bindings: gpio: vf610: correct i.MX8ULP and i.MX93 interrupts Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230914-vf610-gpio-v1-1-3ed418182a6a@nxp.com> References: <20230914-vf610-gpio-v1-0-3ed418182a6a@nxp.com> In-Reply-To: <20230914-vf610-gpio-v1-0-3ed418182a6a@nxp.com> To: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Stefan Agner <stefan@agner.ch>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com> Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694658075; l=1878; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=fX33GbOupfc1l5ZNjyuO7eo52gumhMQmaomyhmvf9Eo=; b=YMfCKZrdzSLouo2rJPtYpJIMhrqvoaplIR5LvJBLWG3mD65WAscPn8/NMBAKvkh6oKkX2Mklu m9TyNJWOkApAY7bLRn+dEXfVXGYdHOFDBk7Ij3erkpSZB8r/T9v6BNC X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0053.apcprd02.prod.outlook.com (2603:1096:4:1f5::8) 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_|PR3PR04MB7257:EE_ X-MS-Office365-Filtering-Correlation-Id: f30e333a-40f9-4ced-9dc5-08dbb4c89c2d 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: dzHY47lmSrWs88WaLjwGtlXja+UdUJkdOQ4R1FEKt7Dlcz/nLtdVYNVZrugUqoseUFGc7CEc6b3C2EbsDHMxiJmXJe7VQhrPlVAtBfNCKvjm6dPQl3RTT4sVsL3vULqNbFb0ZoC7jQ0eLgbeoPx7+chu5QQO4wrc5jP1LAYVrqphIoYzt63ekG1ktFZP1SETSvPgKMFXjt9sCIKwjahkeZqvykn/ZBCjYL+Js9Q//czTFMY9WY+h3JBo9HStTAbgpJpUzg07UC4eoAb9E5pukt/sl7Ua8NiNorJr3pIkBfydYyaJBnRRBaUCYjBm/GoOywey6Lz8CWEI36mjWXK7n6daJCedV8662ji2GVkd5d5laXlyDqsGrTdWVLFw4Fd3CZoUv51baKUykrOe5JQYNO5LhVXvnnaF44Hl+q6XJXOep2o8p0FXpMgDb8KGsjdaAk8kyhlHrUByxtHC3rdFwwTa5KdsXubOPtUIbQPx4q1e0GFZjHUVRso+016rRJNk8zpzeFgGdA5MYhoXlEbbr+RytdSgRh+LmMAzTbF95+GBCqt67OEvu+/OheV/k4f9m2yZpT7G6ESiH/hvJ4tD1eSzLv/0zhf1HKpNNKHWVRtvXJe3eIJDZrISrYqP2lw7Dpk3ylTy0oElVHmZv3RD5A== 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)(39860400002)(346002)(136003)(376002)(396003)(366004)(451199024)(1800799009)(186009)(7416002)(2906002)(5660300002)(8676002)(8936002)(41300700001)(4326008)(66556008)(66476007)(26005)(66946007)(110136005)(316002)(478600001)(52116002)(6666004)(9686003)(6506007)(6486002)(6512007)(83380400001)(36756003)(921005)(38350700002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?SZpeZHEyd23NbOdNHdrYVNFDxHxX?= =?utf-8?q?5hp70MptIgrnTZLOXI4gJ225VshSl5Nqa8WXD56OeXYgLloh3NknW0RUpiuqUnYzP?= =?utf-8?q?gbmBSkcLGGOLe4cYTXj23fTLhg6mNA7YwTmOCl0F6rLcP20PkmZeEASpoe6kclneY?= =?utf-8?q?DJ5lbAgfIEqzoa8jxD7vFOyZECS3F1tK/S3uKTolZiNn8yt2viEq9aH/yb8hFhTU4?= =?utf-8?q?L4AEZU8JCHhmcHwCfbY80n7rGtd/PxcAKRG3Fk5oujMT9zR+HEOB+L3wEsNepI3AG?= =?utf-8?q?sjvK39KXygGCu6HKzsmyMMV5ci5u2b6OT/UmUcIvKYPLPJmbdVv6JSpjbMh5XCAFA?= =?utf-8?q?xVxFkaVpNvlT0T/3u65efTA1C9r6cakjsMhc0jpe966lqU3qFxy2x/ti4VIsVlf6e?= =?utf-8?q?L1liuLEVQGq9G0ExyapLStU08kCch9+U+tcTOXxtvG0ZfDJcdDthqUs9aRdE+X4tv?= =?utf-8?q?HXIa31XFf6hGUQ4mIiIFrxdQsf2Fctd9Fs+eApvLO9HNi4oPS0fhEKz53kniieU8w?= =?utf-8?q?lfB7ypmjb9V4DULDsbqrw+LBIiRg0WItRAq5OrJSrrrnPh88ihox3qOYz+cHsbA/M?= =?utf-8?q?09lrQn3nTprqFXYTZR1Jt+SQmVFBrh9yI7MkKXK6Z83RMCTRkjoeS8brQtvSollyc?= =?utf-8?q?hJMbrlj2f1RFUPdq48QTadvOwPHbu288vFLG93qv71pqNoZYsdAo5zUKgDT3b661X?= =?utf-8?q?8EvZGCyEYoiUWVdSQWE2i+MuuoD/MQE5AiNOZUL3xbVYYlNruIGGSC+xgNBS70Rc8?= =?utf-8?q?1gTpyj93rUNhzROlJQSQIEypMOH00FY4sAtznzcSf6+AXXiowEl4tP/7C46ofxfb2?= =?utf-8?q?3l7YpEervNEMEcWIZt0/53oahbPzqOGOYSrLv6xC+1eX/Dugb0bHjyy3orn+xsdm7?= =?utf-8?q?tllfnas9/QvFA7clpZNZ3vjH8fUpbmYpGPOaYh6LjQr+Ut310rFJH/pmbZnHQDUYt?= =?utf-8?q?Htpf1CyV6B7eZ7XjyPsltMm8IRODo2M7IpQbsnoAs+I95P9AO+gEbRjVsYlnAarDy?= =?utf-8?q?NPbEI8StJgisasEvbiSsuJHePlW+EjcW4du4BUEuASCstQksqCt/yERalajv0T5Yt?= =?utf-8?q?ZeC2DBZsaz+rGI0iycBiIXwg0uXRmotLnD7WJ4dngQV7ZhTtoCT3wZ2k38QpmW1MY?= =?utf-8?q?i9Fm7No+rZhQO47nd+xbcHWw44grOpwuWOZZhvqoD5to+MQOU0IX5BVQQ85LAOkns?= =?utf-8?q?60eX6nat1tNi1LdvtU4sHQVq1cMjmIP37kCevvhcgqILTVo8ewJCRflM0cbhi2f9+?= =?utf-8?q?zT7wjlwC2BZPhLOFBbbAXGIWnau7cGd8NFUkAO6PlpLa1EORmfgPO97kMNOtj107O?= =?utf-8?q?ja5kguApNlxn7nc9qUVbTZ9qOVqOHJOzLmhmoVFpxhhS5kl/dwBNV4OO3ONzoq7Kf?= =?utf-8?q?Q8/3jJGzjwBFGrNS0ILn/vkMJPbQXCbivvQUC6u/WMHhXAwpPXg5FxLNvwJLgqblr?= =?utf-8?q?OLh7A0+gSQoWQQRhHparkel31pmK967WOYfnh/y/zWp6GP//R572GscLrjmGoQYzB?= =?utf-8?q?HOzFOszqV7AO?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f30e333a-40f9-4ced-9dc5-08dbb4c89c2d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2023 02:16:31.2002 (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: HMhuFdc7ZZfzUfDQWYGHEmSD1AWpw6zeMb8tWSV/oTthE346GcN1MzuJrHUK29u/pGX+4Su69hSq7iLtDWDqCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7257 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Sep 2023 19:16:57 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776981837682171536 X-GMAIL-MSGID: 1776981837682171536 |
Series |
gpio: update i.MX93/8ULP and support i.MX95
|
|
Commit Message
Peng Fan (OSS)
Sept. 14, 2023, 2:20 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> i.MX8ULP and i.MX93 actually has two interrupts for each gpio controller, one for Trustzone non-secure world, one for secure world. And i.MX93 is directly derived from i.MX8ULP, so make i.MX93 GPIO compatible with i.MX8ULP Signed-off-by: Peng Fan <peng.fan@nxp.com> --- .../devicetree/bindings/gpio/gpio-vf610.yaml | 27 ++++++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-)
Comments
On 14/09/2023 04:20, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > i.MX8ULP and i.MX93 actually has two interrupts for each gpio > controller, one for ... > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,vf610-gpio > + - fsl,imx7ulp-gpio > + then: > + properties: > + interrupts: > + maxItems: 1 > + else: > + properties: > + interrupts: > + maxItems: 2 Instead describe the items with "items:" and descriptions. Best regards, Krzysztof
On Thu, Sep 14, 2023 at 07:47:29AM +0200, Krzysztof Kozlowski wrote: > On 14/09/2023 04:20, Peng Fan (OSS) wrote: > > From: Peng Fan <peng.fan@nxp.com> > > > > i.MX8ULP and i.MX93 actually has two interrupts for each gpio > > controller, one for > > ... > > > +allOf: > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - fsl,vf610-gpio > > + - fsl,imx7ulp-gpio > > + then: > > + properties: > > + interrupts: > > + maxItems: 1 > > + else: > > + properties: > > + interrupts: > > + maxItems: 2 > > Instead describe the items with "items:" and descriptions. Except not here, but in the top level 'interrupts' entry. Rob
diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index 7c2d152e8617..2593cc96fcbb 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -20,15 +20,14 @@ description: | properties: compatible: oneOf: + - const: fsl,imx8ulp-gpio - const: fsl,vf610-gpio - items: - const: fsl,imx7ulp-gpio - const: fsl,vf610-gpio - items: - - enum: - - fsl,imx93-gpio - - fsl,imx8ulp-gpio - - const: fsl,imx7ulp-gpio + - const: fsl,imx93-gpio + - const: fsl,imx8ulp-gpio reg: description: The first reg tuple represents the PORT module, the second tuple @@ -36,7 +35,8 @@ properties: maxItems: 2 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 2 interrupt-controller: true @@ -77,6 +77,23 @@ required: - "#gpio-cells" - gpio-controller +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,vf610-gpio + - fsl,imx7ulp-gpio + then: + properties: + interrupts: + maxItems: 1 + else: + properties: + interrupts: + maxItems: 2 + additionalProperties: false examples: