From patchwork Sun Nov 6 08:01:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 16079 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1381171wru; Sun, 6 Nov 2022 01:02:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM651txYqLVJRl790FcjNXyp+9/LAx2tpsyiLNeOqCiZUyrI824E4nz0IpqweYNywwg6onJl X-Received: by 2002:a17:90b:3c81:b0:210:f1f7:575e with SMTP id pv1-20020a17090b3c8100b00210f1f7575emr603521pjb.47.1667721766116; Sun, 06 Nov 2022 01:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667721766; cv=none; d=google.com; s=arc-20160816; b=gXwwTY2z3KS4ADhe0HN8r3Z3qJdfp5s8u6aJLPShDDVJbV7Aufb+t/8MEXhZRyOTxE gaprYiW6nDzm9Fz+1E+naFq0hSt0hwzBuh0Qh4KXl5Gn4MNiL8R5iroqgUkg8m1oBIcD vXibcLvQJEvD6kSFrLUZ9ehye/3DsTi1LGTgsmhIT5YIPXzJZQ19dLvtGNe1Morp99XJ abRvPcK7nVlVd2F5om27hPHVFSWlHRw04xAUSKtnNvE0EEeI5E4FOZ9IhPoXX+q/hhQd IjpxWNwrN4jyfqaBaZsyNn+5dHEroboYyKwLitBfDMznDIxEHUSpzmfwbHB1UEXXWLJr +PLw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZjAdxtpTxlN0A+X+YASvDZA5e+yMzGung7G3AXysxXY=; b=QwJeIvdXbCO0oYxSzI7P89ryVEmq/7j5vv0NM66pDdzWoL4rjmrEzr6MPPl5ItOdbc TookJ7/6SZZLE93pm6f5jH+XH0w9j6VB/FOtzUhrcttTOS5WOHEzWZX9QjveCne4qB77 A7Shg/khglrh8SrGF8O0luj5cGs/RQL7VPP+MLikwaJF8rAvPraqN3TIqreUOwb6xsVo 6mf7/ARlpEddidW4xGzaqU2jT5T+Edt5ptbIr0EqtfbE+jz01ch8yGqR2yNdgqg7AQZv eCr5vDTMpIz1g7OsENbA4tDHoHyxLWw3b1tAWlXidoKHClEWUNx39porBostYRu8U6s3 tjBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=f64ZSD34; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a170902d0c900b00176c0e055d8si4845366pln.102.2022.11.06.01.02.33; Sun, 06 Nov 2022 01:02:46 -0700 (PDT) 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=@mailerdienst.de header.s=20200217 header.b=f64ZSD34; 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 S229737AbiKFIBl (ORCPT + 99 others); Sun, 6 Nov 2022 03:01:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbiKFIBb (ORCPT ); Sun, 6 Nov 2022 03:01:31 -0500 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECF9C6343; Sun, 6 Nov 2022 01:01:30 -0700 (PDT) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout2.routing.net (Postfix) with ESMTP id 015F75FC27; Sun, 6 Nov 2022 08:01:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1667721689; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZjAdxtpTxlN0A+X+YASvDZA5e+yMzGung7G3AXysxXY=; b=f64ZSD342f1H++EkxJtwBZ5JLOXuUyQ8HHV19RnUZkFW7a0OhFAmUS1PBy4aaMjiuvr3wq FZayF6YeqDzxrGoAkhermRevgaOvpW++yGOsKUuCEwg6RH1uqOOh3Ed1s9YPu2uWnKfyIC DmbowoMTxSE7SmCNbY2GMq31BoedIwg= Received: from frank-G5.. (fttx-pool-80.245.79.199.bambit.de [80.245.79.199]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id 3C025360707; Sun, 6 Nov 2022 08:01:28 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Sam Shih , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v2 1/6] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC Date: Sun, 6 Nov 2022 09:01:08 +0100 Message-Id: <20221106080114.7426-2-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221106080114.7426-1-linux@fw-web.de> References: <20221106080114.7426-1-linux@fw-web.de> MIME-Version: 1.0 X-Mail-ID: 930663f8-d39f-4ea1-b476-287d1e74bae5 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_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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748733018723626173?= X-GMAIL-MSGID: =?utf-8?q?1748733018723626173?= From: Frank Wunderlich Allow multiple items for pcie, pwm and spi function. Signed-off-by: Frank Wunderlich Acked-by: Krzysztof Kozlowski --- .../bindings/pinctrl/mediatek,mt7986-pinctrl.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml index 89b8f3dd67a1..75766956cfad 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml @@ -197,7 +197,9 @@ patternProperties: then: properties: groups: - enum: [pcie_clk, pcie_wake, pcie_pereset] + items: + enum: [pcie_clk, pcie_wake, pcie_pereset] + maxItems: 3 - if: properties: function: @@ -205,7 +207,9 @@ patternProperties: then: properties: groups: - enum: [pwm0, pwm1_0, pwm1_1] + items: + enum: [pwm0, pwm1_0, pwm1_1] + maxItems: 2 - if: properties: function: @@ -213,7 +217,9 @@ patternProperties: then: properties: groups: - enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3] + items: + enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3] + maxItems: 2 - if: properties: function: