From patchwork Mon Oct 24 07:43:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 8198 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp308492wru; Mon, 24 Oct 2022 00:48:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7d/LwNkxG5n6QMR6G7+enMV5JI2riVeQburffbpMQ72cuGiLfpbDlKDq8aPCav1QHdtzZo X-Received: by 2002:a05:6402:3806:b0:450:bad8:8cd5 with SMTP id es6-20020a056402380600b00450bad88cd5mr30475063edb.305.1666597703016; Mon, 24 Oct 2022 00:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666597703; cv=none; d=google.com; s=arc-20160816; b=lnq86pCG0YF/6u4l0/wiS7gVAks9RYJGBY8XFgw4iblwKyoq5b1vCyaH7n8d1HjjIl aGBeEMNRbT9qL35AWn5FWjHHJWsZpGlJG/B7tJyF4mgzazuvWLR88E1nLAi4U4cUpkRd VllmqbILXxjBHSBQ2GGJl0dWYd1lnZn6IECA5hu1IfK9G2bhvTQ8fsdyjkCH9nVf/M7A XaFwU3k0ZUaX1Q/sF1GcxlEjqEgm6+iJzc+CAiyGCUpVpac2R0dIdyFlNcUi4uRxfn1K RU6bvFZdEPYg/i+3LLbBQuXaoCmYOsedSG2J9FD1upxsHixJQjI3UW/09A3zHVYhJCvY LDKg== 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=PVFntkudDPcDUkrTjdaUD/wKnuxi9MDu9IdQDwEuaUA=; b=a8w5oMOShi/j5aSFdlF5y5BVmIYb419loo1N8kUbPt7CZk0XLO3zA+09IXMq4KYoTp BFepOPWk0xouALv5jXB1WGqwirNdIb5oxXubZ4z2t7ytXDuoKl7u1dxGLX1fDjIEbjHu 2NKw8rtzgkSBuzHaZOG1P03fo82MOqxHEb5qeXW+ertVUoDgrjwFm3iCM1gDZ88c7ofC UYTiFWMYsMo6HTK5xyVNfSD0Ve5zrk2ayPQxjzeKUgLlf04ZvvlWRA4bkOasKMGGL4dT iib7T+dE2hC9tpm8piM5mAXfkisDmXVQkYwgjncgJzerrGQQrUELRG/ng8Hy9TjQJGp4 4PLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=lxo5WKqW; 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 ce11-20020a170906b24b00b007940226fd21si10942842ejb.903.2022.10.24.00.47.58; Mon, 24 Oct 2022 00:48:22 -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=lxo5WKqW; 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 S229954AbiJXHow (ORCPT + 99 others); Mon, 24 Oct 2022 03:44:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230006AbiJXHo2 (ORCPT ); Mon, 24 Oct 2022 03:44:28 -0400 Received: from mxout1.routing.net (mxout1.routing.net [IPv6:2a03:2900:1:a::a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C5DF4DB3A; Mon, 24 Oct 2022 00:43:57 -0700 (PDT) Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout1.routing.net (Postfix) with ESMTP id 16F603FEAE; Mon, 24 Oct 2022 07:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1666597432; 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; bh=PVFntkudDPcDUkrTjdaUD/wKnuxi9MDu9IdQDwEuaUA=; b=lxo5WKqWxAHeKNpqTV3sVds4I5G5Eaq6eYEDf5hOUUpGQFjmNEkIXaHoGgqb/EU4wz5en5 9B180I2AsWJUqSc0ONgRXUJg+5O1oEpvhShCle0A8cE1YGDfHz8/iwHKkZlTGmxGvWEat5 b6CrTuy/9DDVZ5HtT8w1EKOpFBcWQ0U= Received: from frank-G5.. (fttx-pool-80.245.75.40.bambit.de [80.245.75.40]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id 4FF9A40112; Mon, 24 Oct 2022 07:43:51 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC Date: Mon, 24 Oct 2022 09:43:49 +0200 Message-Id: <20221024074349.7777-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: 4cf9fda7-e364-4d0a-b8d2-819af5223c20 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?1747554352669638208?= X-GMAIL-MSGID: =?utf-8?q?1747554352669638208?= 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 d5ab5e08badc..0a7d130ef112 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml @@ -201,7 +201,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: @@ -209,7 +211,9 @@ patternProperties: then: properties: groups: - enum: [pwm0, pwm1_0, pwm1_1] + items: + enum: [pwm0, pwm1_0, pwm1_1] + maxItems: 2 - if: properties: function: @@ -217,7 +221,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: