Message ID | 20230929-pm7250b-gpio-fixup-v1-1-ef68543c1d3b@fairphone.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3945618vqu; Fri, 29 Sep 2023 04:15:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHP36Rkz/OuFoEj/EQqaEG5HzAQCuZIDKZ0ilhOEBDk41pSGUBkYrQlJB14aP48Tm8UPYP X-Received: by 2002:a92:1a08:0:b0:351:4cdd:f504 with SMTP id a8-20020a921a08000000b003514cddf504mr4443194ila.22.1695986149638; Fri, 29 Sep 2023 04:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695986149; cv=none; d=google.com; s=arc-20160816; b=tt6HgojSP2JNmAxRPzLDPMl5QNXs1CAuhj2e5IzGYrPClRL0HBdWBULiiaUv6EKB/I LH1L1bwVGXXcV69GoSr0/rb2hnMRbSYo5oZhZu7X1qohIReom1c3rtDyeJ9SyRJDEPGR qAD0vrPU3wWMQyTQWxdeafTCL69PQkUUas+Y/Qi8/Ly4BsTaOAT8kgqC+PCiqsHexTWg GTKCBzoawQGS+HcoU8E7kQfP+IR7dyjaMP5J/oMB+nuwPgkqUEEKOBzkQgKJBMaXkONv 7Ky+/QRf0utHTjKFmNbhM4ikCBaZAIUGcfY4BOHikzl3w1fC2jHc/ijKil97piLqGmT+ IV0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=gm9WOtxBCPM3Yn/lK15TeRCQSRheb4lkHQZlX4Ty2GE=; fh=wjgo3cxn2a+REWBuw1AQ3WUlyg+CDA7aPh+ceAVLJ/A=; b=ydtRtgVvrzyHawdFvbZY1y8JhVbvvYV39NPvr9nBTwL/eDeDdSzPO4/pKWaRJYDwyS 6IWmeneKIkU2IbG/ffqWguh2p6ldhVseNxpeZxgS2N6YY/JGOA2+Do14sbKL7ettQe2z C+GmyEg94tdBPXOu4rzZBnT8DtRXgvXsmLWp8+XCJbJnrObvmWY+GjQuVUCxbH3UpkXi rrG1KGWs16DhxGtx4P/EvKkpYu0hcdTGyKtc8wDOnGttWnxcr5Bkf6XgyX9tBpJKxtoz p3B8Ayb7BzjOUFcwYnCVKO4a2taXweztnySxN5OE2vBYIPWLCLoBz/GAes1XARStX+Wj IlAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=G8iiBj8i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id d188-20020a6336c5000000b00564514df64bsi1958776pga.897.2023.09.29.04.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 04:15:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=G8iiBj8i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CEA528705EB8; Fri, 29 Sep 2023 01:18:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232847AbjI2ISA (ORCPT <rfc822;pwkd43@gmail.com> + 20 others); Fri, 29 Sep 2023 04:18:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbjI2IRu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 29 Sep 2023 04:17:50 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A51E11AB for <linux-kernel@vger.kernel.org>; Fri, 29 Sep 2023 01:17:47 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5335725cf84so16297155a12.2 for <linux-kernel@vger.kernel.org>; Fri, 29 Sep 2023 01:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1695975466; x=1696580266; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gm9WOtxBCPM3Yn/lK15TeRCQSRheb4lkHQZlX4Ty2GE=; b=G8iiBj8i+miDWCMG5WNBK5wxogmHOByk1LuD3aNObX4TvzWkJaCwDV3uDaiz/oGeuz LmCJjNzVxF5bi0X+Ahvu4YhpR1kiOy5ZysgchBM84Faf6uMAq9cKGSUum07mvGl8Iffu lRDDueCPhjjYOoGBUMAmpoHpgQ2BF0nQCmr3IfiAuUZK1Aixy/KGXpcpNuQU2BQAmwRx FydKpRQcaPQ8LxKi6ZyiWf+cM9LYN1CpWmiWq82YD5vbCtAtoqUZPALAuGloYnq3qkNa 5SvAvlakxFOTtfNSjWVc8M33rgqNr23pfjmWAHT7rzeaWKoBNTP63v+fmHpUYt+EJt7l vHbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695975466; x=1696580266; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gm9WOtxBCPM3Yn/lK15TeRCQSRheb4lkHQZlX4Ty2GE=; b=WVWRbIo32vHQeX+wxZsIGbSE/MeKqoxDGuQecw8iH/BaG3PS4lfVOwcZ9bQLuZQx6K StEinagK5cse5Iy17UOj0i+eZWdQpyGCD9oCxPJ4mqA0x0jNVq038QSnhxdUE52OKCH/ pbz4DsIKn2rZgQvyCZ5cEyoiVKQi350YYp4EKV3rYO/H/JYWl9ZbpfmS6VUwG+nhueM9 jaju2YmpGz7X5NNF2+zAnHpNfaDtx3arZRzSQ2+T2BIovu59m2PRnkTLBl1iOHMe0Luf 3DxRYavYmOIoKUOqFGvK7N22WLdSGQzTX9B+SKAzNKtJKDvmn5U7STpcQK/3UyvCpy+W oiPg== X-Gm-Message-State: AOJu0YxDxWeKTMGWNM8v2YMie+eej98dc8tejrueMX4g5PYYYa/8SZAb Z41J5rFYfc7kWGUyy9iFVV1tjA== X-Received: by 2002:a17:907:75e1:b0:9b2:a769:8afc with SMTP id jz1-20020a17090775e100b009b2a7698afcmr3002090ejc.77.1695975466085; Fri, 29 Sep 2023 01:17:46 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id y22-20020a170906449600b009adc77fe165sm11873803ejo.118.2023.09.29.01.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 01:17:45 -0700 (PDT) From: Luca Weiss <luca.weiss@fairphone.com> Date: Fri, 29 Sep 2023 10:17:38 +0200 Subject: [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230929-pm7250b-gpio-fixup-v1-1-ef68543c1d3b@fairphone.com> References: <20230929-pm7250b-gpio-fixup-v1-0-ef68543c1d3b@fairphone.com> In-Reply-To: <20230929-pm7250b-gpio-fixup-v1-0-ef68543c1d3b@fairphone.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Lee Jones <lee@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Stephen Boyd <sboyd@kernel.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss <luca.weiss@fairphone.com> X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 29 Sep 2023 01:18:02 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778370372895817322 X-GMAIL-MSGID: 1778370372895817322 |
Series |
Small updates / fixups for PMIC spmi-gpio
|
|
Commit Message
Luca Weiss
Sept. 29, 2023, 8:17 a.m. UTC
As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node
label for PMIC gpios") all dts files now use the plural _gpios instead
of the singular _gpio as label. Update the schema example also to match.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 29/09/2023 10:17, Luca Weiss wrote: > As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node > label for PMIC gpios") all dts files now use the plural _gpios instead > of the singular _gpio as label. Update the schema example also to match. > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > index 55e931ba5b47..e4842e1fbd65 100644 > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > @@ -245,7 +245,7 @@ examples: > #address-cells = <1>; > #size-cells = <0>; > > - pmi8998_gpio: gpio@c000 { > + pmi8998_gpios: gpio@c000 This does no make sense... you update label only here, but not in any user of it which proves that label is not used. If it is not used, it should be dropped, not changed... Best regards, Krzysztof
On Sat Sep 30, 2023 at 5:06 PM CEST, Krzysztof Kozlowski wrote: > On 29/09/2023 10:17, Luca Weiss wrote: > > As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node > > label for PMIC gpios") all dts files now use the plural _gpios instead > > of the singular _gpio as label. Update the schema example also to match. > > > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > --- > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > index 55e931ba5b47..e4842e1fbd65 100644 > > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > @@ -245,7 +245,7 @@ examples: > > #address-cells = <1>; > > #size-cells = <0>; > > > > - pmi8998_gpio: gpio@c000 { > > + pmi8998_gpios: gpio@c000 > > This does no make sense... you update label only here, but not in any > user of it which proves that label is not used. If it is not used, it > should be dropped, not changed... Okay, I will drop the label instead of updating it in v2. Regards Luca > > Best regards, > Krzysztof
On Mon, Oct 02, 2023 at 08:40:10AM +0200, Luca Weiss wrote: > On Sat Sep 30, 2023 at 5:06 PM CEST, Krzysztof Kozlowski wrote: > > On 29/09/2023 10:17, Luca Weiss wrote: > > > As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node > > > label for PMIC gpios") all dts files now use the plural _gpios instead > > > of the singular _gpio as label. Update the schema example also to match. > > > > > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > > --- > > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > index 55e931ba5b47..e4842e1fbd65 100644 > > > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > @@ -245,7 +245,7 @@ examples: > > > #address-cells = <1>; > > > #size-cells = <0>; > > > > > > - pmi8998_gpio: gpio@c000 { > > > + pmi8998_gpios: gpio@c000 > > > > This does no make sense... you update label only here, but not in any > > user of it which proves that label is not used. If it is not used, it > > should be dropped, not changed... > > Okay, I will drop the label instead of updating it in v2. Or just drop the patch and skip the trivial changes. If you want to fix unused labels, fix it for the whole subsystem (mfd) or treewide. Rob
diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 55e931ba5b47..e4842e1fbd65 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -245,7 +245,7 @@ examples: #address-cells = <1>; #size-cells = <0>; - pmi8998_gpio: gpio@c000 { + pmi8998_gpios: gpio@c000 { compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; @@ -330,7 +330,7 @@ examples: }; }; - pm6150_gpio: gpio@c000 { + pm6150_gpios: gpio@c000 { compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller;