Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6451015rwi; Mon, 24 Oct 2022 01:18:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6yPFA785tPFWlR5KdpQLYE2HQy4ioS44DGZBhjxlGTngNqzhZc7sjjIbTUelh4AVKVvc/L X-Received: by 2002:a05:6402:550c:b0:443:7d15:d57f with SMTP id fi12-20020a056402550c00b004437d15d57fmr30058453edb.147.1666599488394; Mon, 24 Oct 2022 01:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666599488; cv=none; d=google.com; s=arc-20160816; b=sxM/tsoeFzv2f4rqhtUR+lsdTASyOwmQSIu69sjBJEaWsV7Otg3JG8YyI/50T82eo3 CV83r++FLEeS3/1RKPjoy03tu74qq7I8EgawGeOFJOMrvLbBlkuLH6P2ZE3VRhABa6ZB J9Gk7R0o+S94CHh3STn7yMI8OZnnyxnVultcKRiu/ClW7xDqXEFyM1lnt4szD4h4s/jv 20q8zaswWwgIan5f/vO9hzGqecbJa1MXzGHbepgjWw4QxlpTN8U929p3iXqJeGKa4pz+ hPnI5kP4GCJ8pJfgiavOG/RBUpCD4iwuzlnZaBO4JzTrMkRNqI7R8n9OpBRGLOVMUqi5 LY5A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a05640202c800b00461cd4b5a01si1630114edx.419.2022.10.24.01.17.44; Mon, 24 Oct 2022 01:18:08 -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 Content-Transfer-Encoding: 8bit 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 From: Frank Wunderlich Allow multiple items for pcie, pwm and spi function. Signed-off-by: Frank Wunderlich --- .../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: -- 2.34.1