Message ID | 20221122010753.3126828-5-bero@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1935514wrr; Mon, 21 Nov 2022 17:19:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6EBKsSMYzMLjoPzZJqrD7Mk4F1XuNEN7Oi1WIJB3f8ZApNsNNPnpP5auEXgzAnjKYykQ6t X-Received: by 2002:a63:5747:0:b0:46f:cbcb:761a with SMTP id h7-20020a635747000000b0046fcbcb761amr1745459pgm.82.1669079950653; Mon, 21 Nov 2022 17:19:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669079950; cv=none; d=google.com; s=arc-20160816; b=g2tRtt6GUVkyDvj/4NcnFFQdhBgg0Rx3Z+G9KAogaFc9y8LXWoecwBbdNUCo7f3XSA 2ZsB6vBHzZQEmh7ecFggRyxouVVCdjNla/sEGXThBmVDBnhRQbfvio+alVtyTSirdumN VT9mqT7UNV2+EzYrpFW5s7c4daHXTLtOdYOYl6plGJmytZuwHzEGwTFUylSFpYAQiSuN pKZA3oeuALhGRdbnnFt49Uk6Jp414O2ogDOgsxaz0Zw04O5e2K8upT8XVvZ+23vqBdu4 EZVs6yejcWyQbLtnbn8ALtXu8K+mG/qutLEYSHqG+CwhYlTOYl69kI2990q3YR36Lyuj NlOg== 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=DluvA8nTnzf/xofArynYdkv9W1c4RsYObyGmy30CGd0=; b=do3rwlDL79ITsK4Zp4QvCKE0weOnBhLOhe6trvE/ZT0x3qoV0MTzIX+lQagWOud2dG yPmkg+g2M3C9Xwa0MppVzRdQGNIoh5JwkVPsY6X/zuLivoedvZ3nluKehlM0Bew72hgB fnBiedmFfGDbfKIEK3U7jrzYZO0Kg+naBz/8H1thAZMDvnWXU/HX0QJwngH8sOlvRedf QGz8uOCL/Qq6rti0Vr0CCXGHpLI7+7elF2iVNpNf8qeLnd/nczDtjIN5hvuVg6bb+piV I+wtKBqp3TEOlT35ReA2CN+91apLNsxlyP3+u0qCUygd0VCBwV0tTHK5L/o26KYTr07O gspA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=odpFpCw5; 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 j3-20020a170903028300b0018725be1285si636588plr.558.2022.11.21.17.18.57; Mon, 21 Nov 2022 17:19:10 -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=odpFpCw5; 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 S232285AbiKVBJw (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Mon, 21 Nov 2022 20:09:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232081AbiKVBJQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Nov 2022 20:09:16 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B732F56546 for <linux-kernel@vger.kernel.org>; Mon, 21 Nov 2022 17:08:12 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id m22so32308051eji.10 for <linux-kernel@vger.kernel.org>; Mon, 21 Nov 2022 17:08:12 -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=DluvA8nTnzf/xofArynYdkv9W1c4RsYObyGmy30CGd0=; b=odpFpCw5aHWfS+pOQs4yWZQ5jGoFsNm1SxAmKBOYgGnF80lSJTac93dQPGzxjY4eF2 FA59KdnuY3aY71rJ7sPgucxZ1iCCrlI2CdQCHQdS/9UJ6GF/AvGZEB0yiV1nLDGeLXld 64SZO5Ps0gOHJoWh0aaSfPsEgrRc9Kq37lCKPhtdxWwiXGUGpXAeJCdsZlXFMMCX5/BU py0VbF67K6EiiaYw1UgKZgPfhjUOkvh2KoKj3Ai/YYuBwH7vuUMPinf4jOPdAwNDbfwg VAPQ8tk9dba7xiAiEAywXPbB1eGVCc0gQKnfYqMhEU1/QE8LdRiZdI5boTvdZnSw3INe Nk/A== 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=DluvA8nTnzf/xofArynYdkv9W1c4RsYObyGmy30CGd0=; b=roXGjoYdnvvZHEdIYJ2W2ktc4hKjwILEv4csrtSF4FRuETlSy8Yo+NtaS/5mGuaQE1 0Bi/FhLv4VodDpo7JvKMxpmY3E9H1Qm+5xoXCKrtvo14Zkuz57M5bgC3mjhSXECzQFBS DnvlQMcTOZUSbkjJAk3GtgeJc7l8WwRe/gwetD8MWg/YFkUrDoZ3TnuNgL9UBZJ/qktf +uvSjY9mw/Oc+FeimlRPtm7DF6NyJmEztCfL3w0UicNdN6Nx2LveITg9hrFe5mpLNpBW 4nHiJlRPitOm8URcnXE6taT8SIjkbh+pTFChSERGm3Qq5Qgz60xENcbbR6xeAFWMxTZ5 837g== X-Gm-Message-State: ANoB5pljQh9JIuOnrQXaZCaqnApDsT9AQXY9lo9QXIPHup+al1YkX8OL BS9N+pcZFcx1Fi8inR8rABsLwg== X-Received: by 2002:a17:906:a291:b0:782:9b27:94aa with SMTP id i17-20020a170906a29100b007829b2794aamr16869217ejz.542.1669079291383; Mon, 21 Nov 2022 17:08:11 -0800 (PST) Received: from c64.fritz.box ([2a01:2a8:8108:8301:7643:bec8:f62b:b074]) by smtp.gmail.com with ESMTPSA id f13-20020a1709064dcd00b007030c97ae62sm5514683ejw.191.2022.11.21.17.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 17:08:11 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= <bero@baylibre.com> 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 Subject: [PATCH v2 4/7] dt-bindings: pinctrl: st,stm32: Deprecate pins-are-numbered Date: Tue, 22 Nov 2022 02:07:50 +0100 Message-Id: <20221122010753.3126828-5-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221122010753.3126828-1-bero@baylibre.com> References: <20221122010753.3126828-1-bero@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750157178462473729?= X-GMAIL-MSGID: =?utf-8?q?1750157178462473729?= |
Series |
Remove the pins-are-numbered DT property
|
|
Commit Message
Bernhard Rosenkränzer
Nov. 22, 2022, 1:07 a.m. UTC
Deprecate the pins-are-numbered property
Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
---
.../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Comments
On 22/11/2022 02:07, Bernhard Rosenkränzer wrote: > Deprecate the pins-are-numbered property > > Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> > --- > .../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;
On 22/11/2022 02:07, Bernhard Rosenkränzer wrote: > Deprecate the pins-are-numbered property > > Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> > --- Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
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;