From patchwork Thu Mar 30 10:05:49 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: 669918 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 09EB5C77B60 for ; Thu, 30 Mar 2023 10:02:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230374AbjC3KB6 (ORCPT ); Thu, 30 Mar 2023 06:01:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230262AbjC3KBy (ORCPT ); Thu, 30 Mar 2023 06:01:54 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2049.outbound.protection.outlook.com [40.107.20.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 903FD7DBA; Thu, 30 Mar 2023 03:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=afDUi6k+OTfJ2heCf23QIA5SLoIIq6kbX3V+iVWEAuxCOEQhVUsFqDcmk52VDmAUhXRQIFxKLqJqsQKOGRdi5IKk0KGUqz0pXKj5xIRuv9jLcXjBwpsjCFF+Axby58dvewSFSUh7sTGtKtRO2FWEiqADaFJB19Vi4hgraCr2kC6xQ41uL1y20KGBDKnIdE0W2yaGGAuIbOvY59d+YJxAch25nk3MoEgJ0JrD6d0SbyEL4PJ4+pPfsBY7JLTrVJp0pF1LV7YpFyREvpBdTWayEPBduHEkdShVImQxIsWAVwpCEK/5GZkcxSECdsukOOndxDtE/xdbFcKbvqxcELyfJQ== 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=rJyxWdi3lAo+5DH2LbWTVHl/Q4h/duUCVp2hix7lE7o=; b=lDbWnm9oTE2Fqydx70xL2dtdqdflOrjUhCXM4obmEsJJ2v6ToRDeuF8ehP1mGJoVo3Rd6TC28xTdNE2rRhQZMea/G5QP8LexLb0F6H1Dx7WlsR4AaNvUnJCqPDmxwcszCl0rcNTEwplHnA/6eGloqj+jlu5N9GC9168bjWLQ2wop3FtV5QITBiSWIK3aaGE+bSWbAUylp8Zd1kgtb9DB9n3VKL2kSiJDpQOCJdMAyftCnrT/QXcLDt6aPq4237wGj2A6Shcqg4oF1ntncA/A/K480ZUQQL4ZjS2RVTyUps/ROaFHFOXZteer9DDJR2d4bTEGjNEkosL+vTmVhuMphA== 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=rJyxWdi3lAo+5DH2LbWTVHl/Q4h/duUCVp2hix7lE7o=; b=OWEiaw79Zw+98bZDmPBXNzcfktztlRNL3M0Qor76mncnQaZnRuxkbZCcKiQQPOxHDBwD4n8xI/iU/6HfAFQlB+wTMFbnQGauMLFz1a4YeXfbRUBvuiQvhO4usi8D3VUIqz70IfnqnONQPqSnHjm/nhKy8CdjBvhLrXOCdyganv8= 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 DB8PR04MB6891.eurprd04.prod.outlook.com (2603:10a6:10:112::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.35; Thu, 30 Mar 2023 10:00:49 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::778e:19d0:cba0:5cc0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::778e:19d0:cba0:5cc0%4]) with mapi id 15.20.6222.028; Thu, 30 Mar 2023 10:00:49 +0000 From: "Peng Fan (OSS)" To: linus.walleij@linaro.org, brgl@bgdev.pl, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, stefan@agner.ch, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges Date: Thu, 30 Mar 2023 18:05:49 +0800 Message-Id: <20230330100550.2049687-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SG3P274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::31) 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_|DB8PR04MB6891:EE_ X-MS-Office365-Filtering-Correlation-Id: ddabee79-8ecd-4670-f01f-08db3105a2ec 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: JHxIX3aRHFST7Zhf0wGXgDxu6k7BDhMbVpovFfclL7KhjAhoR2Be262zMbZyXtN6T4UAJHWOL4UnDvpNNs+30RJaDu9R1pnjRYOzP9oAH3LvlHtp/M4qfdJXX0YlN4G+Fm7EbZjdx5sEprf00y0E5Bd/laMxRzEU2c9eIl32njCscPK68Aypya+eAcZcSxpPwA2VDs+PP84o548uOWl1PsS4a+cmEmArAgOm9GFX8ZY93KcQ1pIc+7NyMBu9rGleWSKdOxLgkINgWokaUv8qV01JNhtizTR4q5o7K5TMtAE+LuBxb+ARfSHkzfVnEt45qTCke9fDFXnpBCh/wzwIQKWc1DwJU6ftXeFNRhzVjKR7d/R5U2p40wwZ7sLU+VjZ6+hsiDXehwIB7eMi6PBnyWANVT2nIS+BqtI0y5j90euuwhkwsgcRDUxPKFmVWjuqqFHiFVGF3Dc5esQTOXuth9ZEoMYDHA+xSyyyZ32zGO+Sjw/Pqepyyco+RNVbbd4D6a5CWp2poeQO8cJbfbTqtrcslCdSMhj+Coe3eRqm1B6X4PIOKL+PVzeTcj6wkmY8n9Xfa5YrUAL5npO8BEbZ9/wLGDgym9ZM+WMxHqA9cULmVmtjFTcOgBY4FKGfx8AE 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:(13230028)(4636009)(346002)(366004)(39860400002)(396003)(136003)(376002)(451199021)(316002)(66556008)(8676002)(66476007)(54906003)(5660300002)(38100700002)(38350700002)(41300700001)(4744005)(66946007)(7416002)(4326008)(8936002)(186003)(2616005)(6506007)(6512007)(83380400001)(6486002)(478600001)(26005)(52116002)(1076003)(86362001)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sB0hRN1i4gNjWARHxO9hCZS4ObjYhajTvH7gMhQKWtgEdReZ1vc6gUmflnWptGz23cJ2IOwZPQobIk+MvZ6j45damb87fePGJgMIgaq9FmX512aqJge9zPdZll7zTgP5pNTsRyvN7KR9LgrzYrEepZQAppcDgbh/C/FBswb9RpFL1YXkxlZdmwTonjN4Idm8c1Rb2wOsmN7ia4X9HqbvxYDc8oXunME4gV+W796dfQUNUO8zl+s3rCB65SQRGnPd+r55stjOnxk4/S1iFMdGw/I84RY7iUaCU/MfRNYcOXDV5liUj7/BUKq7UCM86vffbqITvPcZWdLrvPTJfnn8iKNk52AzmDANWe+HhLQtmmPvMpLN4s1Evg+3RXP7PjRrnbILHUv7iT0AO+FqLTBO+uTzCOarkqDQBQa/gxUpii4yxg62/MxdUCcVauzDY+JeSu+q63f8ZpFptfVqnyfjz+R01jwOl6jkmUH3Otx2bQxBiCK1ZcIMawSk7hBT/HvmxPIF6Eqo4d+2SvFTPMRBhLkQnZEXxWdt5TIveEhw/hY257jXMdNyeXCB2Diu8ToUzhCtPxqgRnqD+sPhYX6/pGo7ZNUpUx9MXfvvaRam/UE3BewvgPZte0rZc3P3f/mlaC+egCjw40tGBPlL4CloKq+tGgBqitsp6PvPHo+G30QWEXeXIz7XZ/v8rwrRyJ5pS1wrvN4xvFw39vX+xGRIcQWnXU+aVSQ7v861zjWMeyiwLqcVU/KtwaNf119f8sbvESVJZZUFjfwEJhFZpBo4t/Xa5AAhgKXmEmPt0wnWmDPVpGfLJJfs2e7uFMkdsr8TzR2dPry2zKFSajHaJRnuVWbc3D66WRamG4LxPZBDzRtxLAyNVanflanJHMsnl8WRyDYr3rzJSaGijiuANA/VrSKfbHF5NSFZcPzJ2U5VDR5irps78BLAFVmJ2L+AdJOo2cmNT//pyWakW20AChVmHS0MC7n88JpvVlgsf3ouvnIuud3cZzAOrzFfIVzr1n5og//AiweI2BybJKIHLbxaXNjCiZ0e4jCdIbxyEr+Nm9U2jFm85Q/E7aovw/pTGnID7APYqt80BlU0jIlV/Lr6+FhdccyFDj2EVf8YAGXueevx7z2Qjv2WUsUfpd/5aoPtYa4eEQjYXweE4fQLw3UFAL93JqiNMVTgt1XlDSHh1LP31if1vPYCyADTDQC/Yhyj9z46ycxjibQt95TPvzGnbpGzNbbG/Hv9l6bdNR771xOE6JNZgB1eV+Jd+6F3NJD1STvqMdDEnDhSrpm507T4nx4mOsnxh17d3TeHFAtZT3OvvdsSKVPRa8XhVvsAfVrpVBFidi+tBNy2VvJrGnGbdhFpk89asFybI93OfpleUpP7ZBIRMLWj+e7js8aDv6CDB6iiRbW1OSRNgyZcMvjQuZ5EwtFqNrhljcariAaxhTioK2j05mE4kQ2w/h65c1vrDehvaPc6SH+4lIOMFELGsHc6vva8AMRwHTUe6akgzLPqCzJ2yefLPLGvX3dqSQlHRAaCC0kX27Ihx3WeMnSgGsWRfGFJ1BltHUAZ6d99rr6WlF3b042/qy7jdPtaZOhg X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddabee79-8ecd-4670-f01f-08db3105a2ec X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2023 10:00:48.7233 (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: 98uzXF0SHVUy6iVFaDan070REwYQDIrutXcM/Q4YD85Sr3XOTUDeSjnuAg6objkfVgyttNyVeCyy6jR1/ozt/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6891 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Peng Fan And bounds for gpio-ranges to address dtbs_error. Acked-by: Krzysztof Kozlowski Signed-off-by: Peng Fan --- V2: Enlarge bounds to 32, since it max supports 32 pins Add A-b Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index be56c3faec0f..bb9b40ef3112 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -66,7 +66,10 @@ properties: gpio-controller: true gpio-line-names: true - gpio-ranges: true + + gpio-ranges: + minItems: 1 + maxItems: 32 power-domains: maxItems: 1 From patchwork Thu Mar 30 10:05:50 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: 668718 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 3A39AC6FD1D for ; Thu, 30 Mar 2023 10:02:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230262AbjC3KCW (ORCPT ); Thu, 30 Mar 2023 06:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230234AbjC3KCU (ORCPT ); Thu, 30 Mar 2023 06:02:20 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2082.outbound.protection.outlook.com [40.107.20.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFFFC7EFA; Thu, 30 Mar 2023 03:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HMwJu6uhPxVdtBQUT6hikROOW6cYPW1+W3/VHjojQNAul8NrceY0KqSGAqfnRJ1A7LSi7nUstJNjpkpt4kK2bHbwd4uMhq8NnliijwSEB02pxLMpwmH4npWhArSAScutwzDeoLIBcVBjt+g3679VUe84uSsM75Lwpz+2X1AakZSPDSe2ZMUbP/IFnm1HId654nAbb82I9/nuN3xS2O14Mr7XMi9NGn6/JIXtRWFgdxI1nN1gL4CtzTDxNrYf7mJ9PnECDYvD9BecnSgiUTDiHNwCPMW0ayfCfhkO4JVmmHq40w6HAoX50uUnbssscJucvxk7fC+EuV1LdgCVAnUeoA== 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=wuywjMJKUyAEYPEZUGd2gwIlG2kX+j2utZtXSEqEgKI=; b=EhTQwJXEWzOCKreM3LYsG4yBJstopjMdKkk43jZYwibycCjcc53N0WY89zoGZywqnfZiEmYbFckq+xB/csNtVySsurW/9zu7YaSdJIO8ljuoeER85Qgy+quuPpuXcIgcBYl5L9FPmRpWXHgb0ipN/2NXN4wxamK9m+YuF4VY8cO6TpkkX3iHMENUHrH5RJwqZj704h5k/V5WYLXhpfSi6FHrKtmrI2lfwdYgeLBcT6PpDXVuTNjeMgNQ7niLjDCidFNTUrp20K+grjuNhSvpUFiBwHV266lua1rZerZ/q4uigQvXd1s3TQ7AD0Jom4AzbfUGZLrqFyOEqcMH1Nlu0Q== 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=wuywjMJKUyAEYPEZUGd2gwIlG2kX+j2utZtXSEqEgKI=; b=TE7o6hut5HxERD1stWmuBzk5cY0nM0tvdMvfbi9+AU+4WSKh98RUg6rtTij0cg7hlarh5RkR7UnTjQsQQdziHZecnZ79UqO2rC26qav9xwPoNUMKk9Vwv1vgBOqHnP7/lw3dFzmMIpLZHpAgHSZV1E9L1gt2S1+Xzz3yR2MXciM= 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 DB8PR04MB6891.eurprd04.prod.outlook.com (2603:10a6:10:112::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.35; Thu, 30 Mar 2023 10:00:55 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::778e:19d0:cba0:5cc0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::778e:19d0:cba0:5cc0%4]) with mapi id 15.20.6222.028; Thu, 30 Mar 2023 10:00:55 +0000 From: "Peng Fan (OSS)" To: linus.walleij@linaro.org, brgl@bgdev.pl, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, stefan@agner.ch, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V2 2/2] dt-bindings: gpio: vf610: update gpio-ranges Date: Thu, 30 Mar 2023 18:05:50 +0800 Message-Id: <20230330100550.2049687-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230330100550.2049687-1-peng.fan@oss.nxp.com> References: <20230330100550.2049687-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG3P274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::31) 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_|DB8PR04MB6891:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ab89e3b-e76e-4261-34ce-08db3105a6c6 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: i7uLHwmeyp3mNrUIFGLUrhpsP58j+63xd40kWX+EwdtnJKYStAHRhWVq7S9jonFyJmY5wTDVDoprSrnWSJwkBkbhwCfqTaU+JcPmxSxTMFU16bOey7BLLdwQFe8V35t9BblF7ly3RaI00s1sJbC8HKrxXT+aPu9kYul+ujB/OD6PoArspBKO2cJS05welInW32n2+CpXvUiLWd4adfc8g8ivnlSdQO30XLAy8wYjWYFa+pUzMoKvXref/B9VUrahWE2VBBuYw23TijxEEj9KkbLa9KUlvKEEi6aoO2I3qhe/KvaTPRcyNk+iovtEY/+SaEr6oUPMpHDGSQbPOjcy9PRVUc4PUpXnU8Nxw95fV3dZ5AO2ceGSMbiyEbneAPA4eIrj5Kmex1pG+LIoM+tLragdaE8vTtmaC2sQMiWjz8BQqTSegQB2Jaz+L5P/dpR4jaDVXtSFrICSZYuTcIDIyHut5BTUy5Vgw02PMCk8A6T8r2/Hw35lkYmkZFkxJof7KAke0pqUhlsU1vDOB4dLlLauEJscauhQOsIiq5stawG6g01YKs14Tw0xZTEOgvU6A9q6sEGztubNkQADRhwmaCEoPw0WCkTE2MQoj9GiM7TZ3ey6Y039PVhpf1Mb2A3f 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:(13230028)(4636009)(346002)(366004)(39860400002)(396003)(136003)(376002)(451199021)(316002)(66556008)(8676002)(66476007)(54906003)(5660300002)(38100700002)(38350700002)(41300700001)(66946007)(7416002)(4326008)(8936002)(186003)(2616005)(6506007)(6512007)(83380400001)(6486002)(478600001)(6666004)(26005)(52116002)(1076003)(86362001)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8VKiEKxtI/tVt1uJfGTfOVKhqvTfrQwXO9sIHv2Dvt4uJ4oQG5BxfjO6n+4GwCeg02hf6ZTa8Dn0i0QZ1x89js+OP0o12KKRivOl7zapLebl12fCVzTWD1N/dFRXg+F0nDXcjN4M8UIBrYz33mrRuP/be/jKGYlD/Cfs/Cm+CIbm9vrqRsDzjymriJPmCQ/XGpBvaYO+gRtSZd5VYJd2FlKf9P/LmW2gELWCnJVi1VW89jt2CNxfsZpOI+cEE5dVAgf+4mCeDqe/AUewu9AGoBJGJdptIZ1qdDhR+eiRJTNBmA3ipoNBL9QO53/e27riuaptqCqEDr7iNLJlYHamYT8GvZUE5ZgD/R8DtvCUehRtRp7Mhvy302Ibm1KubbBIIjkcr5qS1xP6nsTL5kGlYka1QQCm0UzjImAlQbeRsN3jZBUKqBAzDDMiL3uxyJprjg92/8xYDpkwZOVgpO9zBM/MtlxFEI7Aoqnpj2aUvXrhlp5l/sOzxhttmIYuadPQlivt9jnInU0lTtRCVm6kyANHf5X9ll6k39uwzwpsaGJ1b5vCZS+hF5g7/tCnOXSXnQybn2kWld/rbTqjoqsQpB/kzEdHtJTO5y9jfpkQsnqnPAJHEsTRkb36vvWL5yboszKKC0+8cL9qKdUgWq0M47dksSjC9Ao9ei1FPv0EeXZ5bLa8Wq4MQR1kG27Jnkb4mjyCOmJZEyEYXCwtYyXG4VgmN/g+bXiK9ujJYzKry/1xPQ+9iz577G+M0d0ADn92b2p0zIA+o+M7CDzHRNPyH7cPQAUFxY0F4NgFbcSs+9mVEQ94+PhE1zNEWfBZMJ4wCDqNVMNji9RmlgyxM2Zgg+7UGVMzHMvE6ja+W02N/Z6JT/z2mVA/BXysf660cZce6ao38VfTVC0bq1IjPWTYNLYoEuiMcPoFxY02ufHjyIO2KpxIJPj+uucMf93PescOlBd6ASGv6a+s+8kGabWNSybI4jTMYDU1DndfRiU9auu2wNm0tqmIbXRajMt8VqGkowvLOTb9Nnn7kdRdY6/DZPXIOHEvKuLxu3JVdkeCS7glhQ5porNZOAkM98FL1iuqgBx2j/xrh96ga7kxWwf7+V1IjdRV+2qQ80gjtQUYtO8fzWz7mcIck6QS2HIjnRx4TBj1Gc9QIRtRB9bwjn1BQKpZFVDa+nGLvJYthdtUWiWF6lbujv6xNOPH1x2AmYcDz+BTGXB9iUFNNZ4NeISWLWyheUTMR/BF2UL5/2OgKZFAY9XHn2/VbJvUDPHBxNQ+8aELUht6RORvOCffvLB1M0o6yHmhdworid4jHanSyThK9+/NtTyrCcd03mJ5yJ3QKoEIRntp/yaI+bBpJksVDhldlM8ttex6kvF50Xdtxj0b2Vg9ZHQEj0Xi9RI/rTXb/L2Frx6FHRIRcVnsi0Sapo10BEF+Hxs4lW6Wu0TYZ7ykFD3fDZIrPlkKkvu3R4dSHt/DJrUf/iv1+pofj/06l/8oRpcjPh9d2UO5S21EIReRs59Y7MIlPgWNDe58nb3a1hAnjyzHi2zJV8cGKaOrhcrYKO//bT+5/7bfPeFJAKLHtPjgbDaCkvTh8tm1bujS X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ab89e3b-e76e-4261-34ce-08db3105a6c6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2023 10:00:54.9338 (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: z0/beYp7RN5TeZRFcCSePV2NiELnn4ARuIwnWwAx4N/76uwU+x8WXYLXR5MP26I7O9hnyg4zhwq117ezhfOPcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6891 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Peng Fan And bounds for gpio-ranges to address dtbs_error. Acked-by: Krzysztof Kozlowski Signed-off-by: Peng Fan Reviewed-by: Andrew Lunn Reviewed-by: Linus Walleij --- V2: Enlarge bounds, and still restrict as 1 for previous devices Add A-b .../devicetree/bindings/gpio/gpio-vf610.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index d2c39dba56ad..69eac4194459 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: 32 required: - compatible @@ -70,6 +71,18 @@ required: - "#gpio-cells" - gpio-controller +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,vf610-gpio + then: + properties: + gpio-ranges: + maxItems: 1 + additionalProperties: false examples: