From patchwork Tue Nov 29 02:33:58 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: 27041 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp85630wrr; Mon, 28 Nov 2022 18:39:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6DwUb/zvRdrSDbJGamuy/B8IPqi71qRUMdZ62BufcBBQfh22FAOv90MbgU+iFX3gAcaom9 X-Received: by 2002:a17:906:4f0b:b0:78d:aaf9:7b8c with SMTP id t11-20020a1709064f0b00b0078daaf97b8cmr47169971eju.229.1669689556468; Mon, 28 Nov 2022 18:39:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669689556; cv=none; d=google.com; s=arc-20160816; b=MsVCVjxMmlbcW8LdlLMOgbgOpHqnPpiOYxVL/QgF/r7Wss6zK0d9AqFLKQ4Jx7RIBI gSrrLKW7QnSuSOQRQIWdNB5+0/RL06qJbmE1uwAdMyeNPGnDJX/4upB0PMuuSBDNkbyw HiuemeCC02/jE9pkM2i9cVXnNpmrW84HdrPlsObSQdZfDmSfrM3GbPn0IjRftRxIyTE6 WkP5gUv94m0ywsYJeBIUQUh9DK9LIpoKtoBvHF4v8pF3l2UXoqjDj/8/YpmeIOTLgIH3 4aZF7lAhiR9yfG8xvughwwJSBsgnX+PHH/KKde/ZjFCgQ2xKJzN6JtFFOjWO2Tqgvob0 XNMA== 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=BHzYJsu6o55ysC/VZNy1p8R//hSsaPxHyoFnYfPzMc8=; b=Nq/srpsH6Hf1Fox4RIpPmdwSWsJu1LR1w+JeUttkRMIX0Mt/qKWHWHlcaTUociL8qT o4K/Ar/0Mj2s/lYrLrypk8VaJbWT/ywsytkydWEsGTj6teJwvRIE6o3azxj95mhZYz5c diIIW4L3gziMjdgTt/2MRUZaAmjWgP/Xy1yEYxWr2XNG5cywAjGOEjlprYnboWDa4Ls/ qMxEXZRH0HhKyJl12mTYWHyq6IBI6IsDmEfmSuUYF90Eryq+RyN9lOvLB7qdFBwy22s9 0zrfyf+ymu13ip0PtTjYscO1Qt6MzYmKASWhEFeud9+mzb49BdOvQ7sdgVmHkB7zOk43 8r0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=Qi76vhF9; 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 js18-20020a17090797d200b007b28c65ba9bsi11677128ejc.246.2022.11.28.18.38.50; Mon, 28 Nov 2022 18:39:16 -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=Qi76vhF9; 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 S235176AbiK2CeR (ORCPT + 99 others); Mon, 28 Nov 2022 21:34:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235192AbiK2CeI (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 7EB8629CB5 for ; Mon, 28 Nov 2022 18:34:07 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id n20so30595262ejh.0 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=BHzYJsu6o55ysC/VZNy1p8R//hSsaPxHyoFnYfPzMc8=; b=Qi76vhF9q8A9ALrP1+nc4tr5vlTzbIx+o5acojEYZAQkcuANvn184hZhGaE/aDUxUI xrW0IIdoQ7vGR63MoGSAIbqf8hB9Ou3g8KXNqTfRTi4T33aeuefIDhOax+tou03onUVf F7m7RWHYie6X+A2J0bUnRxxjVl2WqlWZZipS4uh9ymC/LPhm2tU6rzAxnALilhxm7JAS W9bL6ZdYxCgtwG9Z2BksBP3BvrDKtYYc5Mn/XicFYlYN4U7ld0I9CVPZqitM5agMTH2K RJlPeGjVkh8sHAorzQG7u72wfSg+OigOzB1Q5pTMk5itN7Rni9aW7ij1OK8Z3b+lwr1w 7U3g== 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=BHzYJsu6o55ysC/VZNy1p8R//hSsaPxHyoFnYfPzMc8=; b=Fb+EhyuHSaln2Ir/awjp64KLD0BzHu5/5yXC8QK07GWgYmvHZ6kTdmS+MOejYh8Vo6 9pKtoP7rJ2uJfxMIheswZGGyCm8AfVbh4enoNItOp5x1TjKvD16JpIWiRBMHX5wFNknx kiekQZlI0Zpgox10IwjdztToa49MFg/OYQeq5yX+04aK7lu8d8ilqHPUjP6L7nJy5Ny3 nDIOFK+1G/p8MlmgucA2ta9tAusoOvIb12tga7741AN2KHBJq1kg2ZM3C0v0+BESDvVg h+D+ZQWfQSW5ZGn5WwQTcrkOFMu57nXM7N6p93R9VFFogcrk5fuUuDAXoaSLPgp+4qwG 8WMA== X-Gm-Message-State: ANoB5pnJWVJJ8KNrOKft/GRs/AKYqhUczqD6lfFC7mgWyzdpiFhk18Tg IdmCQ7EU/Yw3wZdQlVekPzynew== X-Received: by 2002:a17:907:d042:b0:78c:c893:1965 with SMTP id vb2-20020a170907d04200b0078cc8931965mr44638929ejc.247.1669689247159; Mon, 28 Nov 2022 18:34:07 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 18:34:06 -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 4/7] dt-bindings: pinctrl: st,stm32: Deprecate pins-are-numbered Date: Tue, 29 Nov 2022 03:33:58 +0100 Message-Id: <20221129023401.278780-5-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=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?1750796396128732415?= X-GMAIL-MSGID: =?utf-8?q?1750796396128732415?= Deprecate the pins-are-numbered property Signed-off-by: Bernhard Rosenkränzer Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml index 9d59208d83c18..eeb29b4ad4d1a 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml @@ -34,7 +34,9 @@ properties: const: 1 ranges: true - pins-are-numbered: true + pins-are-numbered: + $ref: /schemas/types.yaml#/definitions/flag + deprecated: true hwlocks: true interrupts: @@ -206,7 +208,6 @@ required: - '#address-cells' - '#size-cells' - ranges - - pins-are-numbered additionalProperties: false @@ -220,7 +221,6 @@ examples: #size-cells = <1>; compatible = "st,stm32f429-pinctrl"; ranges = <0 0x40020000 0x3000>; - pins-are-numbered; gpioa: gpio@0 { gpio-controller; @@ -238,7 +238,6 @@ examples: #size-cells = <1>; compatible = "st,stm32f429-pinctrl"; ranges = <0 0x50020000 0x3000>; - pins-are-numbered; gpiob: gpio@1000 { gpio-controller;