Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp396590rwb; Wed, 16 Nov 2022 02:10:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ElenfVqxErbVpTmCfQEsLofOPJZzS1WRQ9wNxCiR7csWUISr7qSfGZPdbXrdfCvgWEK2Q X-Received: by 2002:aa7:9632:0:b0:572:84a4:d797 with SMTP id r18-20020aa79632000000b0057284a4d797mr5788356pfg.42.1668593421614; Wed, 16 Nov 2022 02:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668593421; cv=none; d=google.com; s=arc-20160816; b=zHE5Uu3wEt23PFT5Z5W14P04oM/tGhLbWZDQWa/KfODaa+hNT8CdZdFGGuvY90+Bft yuxZafqVfMcLLAxVpn4PWX4fAdpmrrhvHmYu9Vfq8V2xKTYuDwlrfFCmP0bYGBfBkf40 dM/S6efxFG5Xk2aBcC7JveRZ4IVoc+jLdLU8JnpWHsueHDsyrc7k4tLNzlU5LL9ZJnGl H5LUGkA8lKKghNB9OegwHJfYFsxxfUeg969vAZHVfuAvx93vbS8b42JQZl27ndKwM3cT pq0192eip2JP3ybUErLeAdn0K/Rxokd52YsldZJy6Pvnyh2GrzjOjoU2/5K5d/jj08Ih q+LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kxSHlL3QE/d3WINBYkzB0qUENJeNn/YQxVYehnbN/IE=; b=PHM8nswxOjJw1gOlDBhBcciK1zwtqeInbZDpBfEPLmELnPI6PxnIqAtawW10fhng6o cJ4wi7i+b15DlbJ2WWfpvvKUJuIdma/JxjWN8fEOc6UU31Iu9wqKhEPjBzAkSpmsUiO9 MpB56EmQzw89f3NGEyqeuiJmZ5MEozcDoc52Ool/mnL0r2bFfpVvf0MWKLaU01PutWSu OhhbnyOdXChfOjirYmhF9vRvAANxe/i1LPvUeyqFRonTnVWm8j7doXdtcYnt5bXjjbcf BhDxftm6LIJUcf56iQWQZgiyk0cV4GEqMbCRHVRmZjwIOB6GSUZR1L6CQOvy8BwFz5Al 4Sww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=g1Oan0ms; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 19-20020a631153000000b0047071cc77f8si12272925pgr.803.2022.11.16.02.10.06; Wed, 16 Nov 2022 02:10:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=g1Oan0ms; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231468AbiKPJYK (ORCPT + 91 others); Wed, 16 Nov 2022 04:24:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231998AbiKPJYG (ORCPT ); Wed, 16 Nov 2022 04:24:06 -0500 Received: from mail-vk1-xa30.google.com (mail-vk1-xa30.google.com [IPv6:2607:f8b0:4864:20::a30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1302E5 for ; Wed, 16 Nov 2022 01:24:04 -0800 (PST) Received: by mail-vk1-xa30.google.com with SMTP id v81so7935658vkv.5 for ; Wed, 16 Nov 2022 01:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kxSHlL3QE/d3WINBYkzB0qUENJeNn/YQxVYehnbN/IE=; b=g1Oan0msaq7YQ8AMXarE0bGkNMBmtROPoKcWendPeNHCvqK9vZQI4k2ku+5fhFU2tu OW3OfHMdP1p1EWxAfz5pBdTkDl4NXNyNua4i6/6pOWBoLJGilZzQ0GUd3BPj+NP5rxP/ Da0kkbzMU1sUtqK68EqlNRZ35Dt11Io94DTK4QZ4Uk0Ed7jsTz1aI7xD45UYNjbGvZUl qIP412qo9Dp2f+hUHkasjog2YlsrZpYEWdi6gcCbAM41PDA7jLJE4z6XCAm+J9VhmWsk 5XEJI3guZerXxCONyaxzR811m9Vw6meLzbTJg5xjLvD2DmjjQQJQKvB8hFhxcswHDSny Bv6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kxSHlL3QE/d3WINBYkzB0qUENJeNn/YQxVYehnbN/IE=; b=A3K6pykQBSzDYrVH/MAFzOCV6ORC0RsazXZPbP2xkz/p8Z7gHhlBw0KwnhSCBN35S4 rwXnuIZXB6VkGTbnu5s3id2MoHFf4HgbyhcHWZez2L8c68fDxYizy5HzxYiisJacFP8/ 98W2+mD382efPT203B6B5xwvrggRG54hMyzPSDljSlkzeFd3ib4CKV65w9hZmwtCZ1np gTc7pm2F8wPqdgbH1ign19ZDACKISVxC019+UiGOqvWN5Bm1BJTokEFvLC9fUO8lmIGH jOkhBsacpDMKFYhLNLgrziQa6mbpB6m/cr6gXI8yTVN5ZIBz7nHxhv90kaJmdO3IBgzP s64w== X-Gm-Message-State: ANoB5pnxusAGEXK8uefNzhTYlQa9w2piXRut6bNZLYLF/ZL3SjgtTy2X 651lCyLPzGfL0jrLoBI0eGIogBt91zlo+kWmCBlcFA== X-Received: by 2002:a05:6122:2209:b0:3b7:3aca:9868 with SMTP id bb9-20020a056122220900b003b73aca9868mr11925268vkb.33.1668590643870; Wed, 16 Nov 2022 01:24:03 -0800 (PST) MIME-Version: 1.0 References: <20221115231021.2389-1-nm@ti.com> In-Reply-To: <20221115231021.2389-1-nm@ti.com> From: Bartosz Golaszewski Date: Wed, 16 Nov 2022 10:23:53 +0100 Message-ID: Subject: Re: [PATCH] dt-bindings: gpio: gpio-davinci: Increase maxItems in gpio-line-names To: Nishanth Menon Cc: Krzysztof Kozlowski , Rob Herring , Linus Walleij , Keerthy , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, Robert Nelson Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 16, 2022 at 12:10 AM Nishanth Menon wrote: > > gpio-line-names really depends on ti,ngpios. However, the maximum value > we have seen across the board is on K2G and da850 platforms where it can > be upto 144. > > Link: https://lore.kernel.org/linux-arm-kernel/20221115200357.qa2rvw3clbz7unzq@symptom/T/#u > Fixes: c830b87a761b ("dt-bindings: gpio: gpio-davinci: Convert to json-schema") > Reported-by: Robert Nelson > Signed-off-by: Nishanth Menon > --- > > I dont see a practical scheme to set the maxItems based on ti,ngpios, > but deleting the maxItems was softening the check as well. > > Documentation/devicetree/bindings/gpio/gpio-davinci.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml b/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml > index f32e09ef937c..10e56cf306db 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml > +++ b/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml > @@ -35,7 +35,7 @@ properties: > gpio-line-names: > description: strings describing the names of each gpio line. > minItems: 1 > - maxItems: 100 > + maxItems: 144 > > "#gpio-cells": > const: 2 > -- > 2.31.1 > Applied, thanks! Bart