Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7680720rwb; Tue, 15 Nov 2022 16:18:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf6fiEX6k8uQ9cea9XAkfvbmn6w1Fg6xjIMEw1xkuydDV8lWVCgbl4jCf6ctC2e1lqe2LjPD X-Received: by 2002:a17:907:5014:b0:7ab:2559:8bc4 with SMTP id fw20-20020a170907501400b007ab25598bc4mr15161927ejc.682.1668557927356; Tue, 15 Nov 2022 16:18:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668557927; cv=none; d=google.com; s=arc-20160816; b=U8C6rwGjZSnPepLdoYXD238H5nkFnly0+F4UpI1HS3c66Hd8493UkUsqI9sz2eO8cx WpjxDDC8UtELtkO/t7yz2PlnT40JXeog8RoSmH22TSQotWXCe7yQouPDQfod826dsSWv Yuqo9aVQ9vSegqOgTX3J/wRrOtC8IjiPZSCRCg8jtOT/tpEiTX5vExiQaFkSV3NuTF+a GOaUSR8LMj8fOOuFenzpQ4bMtERfBsHxNdiM6pKNWBHS6TyC+k/gxodg6bR6+iSbQbVw aJDicMLROJ3Eu8VNp3bHB3hbB1BRBIAbT4MQ7RFo6VrH9WQQxX7Q6vNNjabUDf2MohoM zdKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gtf+eQVCKgSWi792JEHOnuPGmozhEm9qEIoe9H4zdgg=; b=JlWOnttSkEtn5+CnK8XqbAQMAp5b2aGzcsfRY0uxo0lXV23c9x8nwak77ORQQEJ3rZ m3T60Nx7OODngaSmTOZ/wMummDac0xZGeaZQuDCg/thIRWyJMvMc/+3UMnBDX+tydOXp lGKp+wnjnlLJII/q7NcfsIg4ivD/WUKYJkiLhg60vWxhpgGhO2zF7em2/BmKfHV5uuiO Yb4V2nXuwMP7gSEX339womjovwGAcGCCHEe1l4Mc96Sf/Cg1K1kYEIzmxzWxnFMfhVLX FW4Wr2lPfT89Zj3HwWZgVzMs+gZ+a4qSzuVvHR2fn0hfmBuEuYE43BRYie6tARpAkmSS 3SoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jPOIf5Ai; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr22-20020a170907721600b007ad9adaf33dsi13978313ejc.372.2022.11.15.16.18.12; Tue, 15 Nov 2022 16:18:47 -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=@ti.com header.s=ti-com-17Q1 header.b=jPOIf5Ai; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231975AbiKOXK5 (ORCPT + 90 others); Tue, 15 Nov 2022 18:10:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238570AbiKOXKk (ORCPT ); Tue, 15 Nov 2022 18:10:40 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45B9F2E680; Tue, 15 Nov 2022 15:10:38 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AFNAMUf026650; Tue, 15 Nov 2022 17:10:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668553822; bh=gtf+eQVCKgSWi792JEHOnuPGmozhEm9qEIoe9H4zdgg=; h=From:To:CC:Subject:Date; b=jPOIf5AiID8XwK+J8AuyetpqXxWKUGmBI60zIdnA5pUEQuUDX1GraE7PofICp5cpl 2GTScVC8OVpS0cM89NgCFLNXP2zI0koT5k5qAN7+n6tBvDvm9q1so80pz4IdpYD1Ys xeWV5K2St+L8tN+Peeql1IJJxlxUexN+MQD7sZ5w= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AFNAMej019020 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 15 Nov 2022 17:10:22 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 15 Nov 2022 17:10:22 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 15 Nov 2022 17:10:22 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2AFNAMhV115002; Tue, 15 Nov 2022 17:10:22 -0600 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Bartosz Golaszewski , Linus Walleij , Keerthy CC: , , , Robert Nelson , Nishanth Menon Subject: [PATCH] dt-bindings: gpio: gpio-davinci: Increase maxItems in gpio-line-names Date: Tue, 15 Nov 2022 17:10:21 -0600 Message-ID: <20221115231021.2389-1-nm@ti.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 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