From patchwork Tue Nov 29 02:33:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= X-Patchwork-Id: 27040 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp85622wrr; Mon, 28 Nov 2022 18:39:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf60DXDWD9otYsFS8/csmfS2NY2nHCNMk/xecMkxhIF/tS8BQIxqS67K7DXrqHiHz4PGf4LQ X-Received: by 2002:a05:6402:b81:b0:45c:a651:8849 with SMTP id cf1-20020a0564020b8100b0045ca6518849mr50462533edb.209.1669689555536; Mon, 28 Nov 2022 18:39:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669689555; cv=none; d=google.com; s=arc-20160816; b=AN0i8VYzGO4E/3uz8i+ajnw7GAlIHfkwwPu88uxJCRTpGcnVOgH4Yrvx2D4aXXwN94 cCa/49+QzRoNYaT02EojI8jwWHU9WI9QGLa0QTKNx1jhagnhlUUzRksuUxHWmZN0Jrd6 r9FKMLdTJQwKbGVNZBALC7ZlMIriEomGAVipR9PcnOobw92OXKwb+7tjHQwsZ/rhbESn 5mn08EaK5dFD3nUunZxWx0cpnUGiBd6Sw2mdWDHvLcmIchEi6DDMLWvgoykASL7hJJbf ygvSgU1WRasWJhmDskHjhyievAmZmYZae68KmOKAclyiIFLV08u23oXXL9Y5seZD8DH7 Ol9Q== 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=Q1wkbH4Fwaa8TmYZ/6/PrOawCFc3B7G23QtdfVs16J4=; b=gt5C95NcsHr0cjhD/o4q96s/6RUnDE5w50ZvQ8zPowfLX4A1NZKNvPMmwlg44bF2Hs B2YV2n1vOplSZG8UBYuPBO4ArisjyalfJ9tfd33EcF3HZNRj8IH8CPXZNR34Nihkjxw0 SzLwDiuhTrgVZG468QPPJqIfmkxEB3MIz4jiLTMUiKtLUpSpHQwaPy12tM69ouskWhFb iIjbX1gVwulfNAUTCa8UKvwmS2Pcd1GK7O2rHM6XpxJ+LZUliKj4r/lskKBVF7+G+L0l rkzo9q78Ns+zcqF0TTOPsEMVlXTnJLJDDNvqCPoXxPt5CSNJ9gsLQXL0NpJTIa1s3kSv NivQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=XBccz8PX; 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 sc12-20020a1709078a0c00b007adca6532e3si11095839ejc.229.2022.11.28.18.38.50; Mon, 28 Nov 2022 18:39:15 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=XBccz8PX; 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 S235233AbiK2CeU (ORCPT + 99 others); Mon, 28 Nov 2022 21:34:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235203AbiK2CeI (ORCPT ); Mon, 28 Nov 2022 21:34:08 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A91484219B for ; Mon, 28 Nov 2022 18:34:07 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id ml11so5623210ejb.6 for ; Mon, 28 Nov 2022 18:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q1wkbH4Fwaa8TmYZ/6/PrOawCFc3B7G23QtdfVs16J4=; b=XBccz8PXofY6f+tvbfXJrE132NfvQoLMkwiFtRpevRN5WX0sRKgnZiT9zFFG5hQghR 4tOp9yBdOYbBkBz2fmgfp1fMHhVyHIQuwO2sH7bRmY282S9LxuRzgXhgVujROSqykY3N 7whmBNi8M8RWGzTcgVwQoqew0uq7O8ll+LStP/zaHkDNt1YrKiGLbub4Kclu/imI8z8/ OzjGID039MbTWBFAoR9VyqRuPis4qjyNfmPt7CopqM6UQTzs8hMXP4WGL50gvkz1r7nr QMrZFup1DAxMS8peRNEkpnhYZyEqhlA5XIcJlnUocIcNHIlI7+NjmG2UqzRG2M4TVZg2 Tzag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q1wkbH4Fwaa8TmYZ/6/PrOawCFc3B7G23QtdfVs16J4=; b=N4RFAct7D2eqiB+cv+Uaxn1ijHqphjgpjk8Vc2NDmuW9fEYhCu9ndQhsjzZxOOayWg mLUCaebJ0QZ08/JwoM5Nk6+ZYfguoHOK5CKgSvzl1k6NNqSqY7GvF/dnxaNM+m6MFsIT WcUaMTVsg6UnLgQvH/AIqvPlb0tyOhMGt5/egDfjcS69/0sgaNFQEcLjdVDQab0iulWO VwTbw5/FAcDpkitW1OFyoqRqP0fT+K58mpy3WZuKKVEEneLK1Jvu+5BlMBRPhgXIXGca qsWdB4fPuv9WRTCwUeWorG4C7ATkwuGszD/ZFz2k1roSHu0oB5O23gtdmamKTPIwyE5h IOTw== X-Gm-Message-State: ANoB5pm5eBXBvU49DWks4mLGNQGKvTnsUJryhLPKXPXPc3MIQfbzKPxg glDpqXz/8AY88rWVEZZd1BwIgQ== X-Received: by 2002:a17:906:1445:b0:7a1:6786:444f with SMTP id q5-20020a170906144500b007a16786444fmr29233592ejc.409.1669689246257; Mon, 28 Nov 2022 18:34:06 -0800 (PST) Received: from c64.fritz.box ([81.221.122.240]) by smtp.gmail.com with ESMTPSA id a4-20020aa7d744000000b004615f7495e0sm5733817eds.8.2022.11.28.18.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 18:34:05 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= To: devicetree@vger.kernel.org Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, krzysztof.kozlowski@linaro.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, khilman@baylibre.com, linux-gpio@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH v3 3/7] dt-bindings: pinctrl: mediatek,mt65xx: Deprecate pins-are-numbered Date: Tue, 29 Nov 2022 03:33:57 +0100 Message-Id: <20221129023401.278780-4-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221129023401.278780-1-bero@baylibre.com> References: <20221129023401.278780-1-bero@baylibre.com> MIME-Version: 1.0 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=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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750796395399811073?= X-GMAIL-MSGID: =?utf-8?q?1750796395399811073?= Make pins-are-numbered optional and deprecate it Signed-off-by: Bernhard Rosenkränzer Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml index 33b5f79e741ab..1b44335b1e947 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml @@ -31,7 +31,8 @@ properties: pins-are-numbered: $ref: /schemas/types.yaml#/definitions/flag description: | - Specify the subnodes are using numbered pinmux to specify pins. + Specify the subnodes are using numbered pinmux to specify pins. (UNUSED) + deprecated: true gpio-controller: true @@ -62,7 +63,6 @@ properties: required: - compatible - - pins-are-numbered - gpio-controller - "#gpio-cells" @@ -150,7 +150,6 @@ examples: compatible = "mediatek,mt8135-pinctrl"; reg = <0 0x1000B000 0 0x1000>; mediatek,pctl-regmap = <&syscfg_pctl_a>, <&syscfg_pctl_b>; - pins-are-numbered; gpio-controller; #gpio-cells = <2>; interrupt-controller;