Message ID | 20221031175717.942237-1-luca@z3ntu.xyz |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2457456wru; Mon, 31 Oct 2022 10:59:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7S1X3NrSsGySGTS2osxWUchataUDWYYIwpaZ59hRNv2qI0Ut6id64cIxbJKFOQBjrAGhbN X-Received: by 2002:a05:6402:4446:b0:457:eebd:fe52 with SMTP id o6-20020a056402444600b00457eebdfe52mr14832344edb.234.1667239155631; Mon, 31 Oct 2022 10:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667239155; cv=none; d=google.com; s=arc-20160816; b=NmOB1TYLZiiCD0O2T1s4l9YrQdUbf/0phtkHmPzRq9R+34QzI0MKEaIw0MkMlqYrdJ 2JsS4jHXdTVTvAMDehn/LuEajqNPeiTLleUu28kchsVNtHi4OGFCTdiGsunNJ3IuuOIO iIEMRhpz7wa47sQSmjxmEByYZyFPUYBVbNVRTmUgen+h03ksxitWBt3CGbxqVuDyoxMM tat6jJ52pl7QnDtV+MdLLppAFQLsqwubMisiaPwXr6/DTNzK6a/or3ab6kiEqHOhIFjR hcbUZjoL5lPFcZb3nv/cvjKH+Izd+hp6yWrWtFpRUVCtXraiO14YcpQBRicetURJBnaG bDcw== 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=xJAilTFtsnGsWXSagAyT88pv7p6vWBQrbD6xguzqXmo=; b=l4CS32yHoI0XX6yGkVK+iWItXZduZEnHIDhl+iXcfmMsSCtAgY+47yhTh28Cuy+Ctj kd8FSDZXn5ThEYc80lhTBXY5yNKKD1Ke1bbZy2p849FGmMIgQn2nkhGblNE3Tw11WaVE 9t6Bh8Zv0b2nxj9+RsovKvr/o3M18JzNgA9qX7+eAZ+jTpk1+J9GXm+v2YrSUIBVhbhg /T0P6xBlSDtuCEp8r9uA3d4PSovCkBoaTpBFfh85qYdjPbI6OKttj6+X9uAxJg+AIo42 BIcfcVU+VPQ/M6PWt1xNCcCHdp0/UCaVMrsjjBIuTjbTGiGWvI79C2/hheS9RjKwPwfM RIyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=brXRGWox; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 14-20020a170906300e00b0079e839dee72si5950862ejz.323.2022.10.31.10.58.50; Mon, 31 Oct 2022 10:59:15 -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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=brXRGWox; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229839AbiJaR5q (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 31 Oct 2022 13:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbiJaR5m (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Oct 2022 13:57:42 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A39513D30; Mon, 31 Oct 2022 10:57:42 -0700 (PDT) Received: from g550jk.arnhem.chello.nl (31-151-115-246.dynamic.upc.nl [31.151.115.246]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 6D6E4D019C; Mon, 31 Oct 2022 17:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1667239060; bh=T31Q5b00T3Iund348MXglCDwIzPXstTlieIV5jGe2Vw=; h=From:To:Cc:Subject:Date; b=brXRGWoxRW1SOfUxNjEHozDNiSed2hrMK4H/CE1T9tfiNlF2iA9rUYw5fFwTjvGwE Jbh6zWUkkEVR27t6xFV4GTCas41B/HaknJm3W+D2zG6TR2M6eEqczYeHbNX73YeHkd hUirHbQEebvjgYFyMKg5MZDSp64gspX+eZp8QLjA= From: Luca Weiss <luca@z3ntu.xyz> To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afd@ti.com, Luca Weiss <luca@z3ntu.xyz>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Lee Jones <lee@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Stephen Boyd <sboyd@kernel.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: mfd: qcom,spmi-pmic: rename extcon node name Date: Mon, 31 Oct 2022 18:57:14 +0100 Message-Id: <20221031175717.942237-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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?1748226964909361708?= X-GMAIL-MSGID: =?utf-8?q?1748226964909361708?= |
Series |
[1/3] dt-bindings: mfd: qcom,spmi-pmic: rename extcon node name
|
|
Commit Message
Luca Weiss
Oct. 31, 2022, 5:57 p.m. UTC
extcon is a Linux-specific name and shouldn't be a part of the dts. Make
it be called usb-detect@ instead.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
This patch builds on top of
https://lore.kernel.org/linux-arm-msm/20221031173933.936147-1-luca@z3ntu.xyz/
But could also be applied without, if conflicts are resolved.
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Comments
On Mon, 31 Oct 2022 18:57:14 +0100, Luca Weiss wrote: > extcon is a Linux-specific name and shouldn't be a part of the dts. Make > it be called usb-detect@ instead. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- > This patch builds on top of > https://lore.kernel.org/linux-arm-msm/20221031173933.936147-1-luca@z3ntu.xyz/ > But could also be applied without, if conflicts are resolved. > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > Acked-by: Rob Herring <robh@kernel.org>
On Mon, 31 Oct 2022, Luca Weiss wrote: > extcon is a Linux-specific name and shouldn't be a part of the dts. Make > it be called usb-detect@ instead. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- > This patch builds on top of > https://lore.kernel.org/linux-arm-msm/20221031173933.936147-1-luca@z3ntu.xyz/ > But could also be applied without, if conflicts are resolved. > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Same here. Only 1/3 received. Can I take this on its own? > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > index cf10d62ace54..14aa42057d6f 100644 > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > @@ -123,10 +123,6 @@ patternProperties: > - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml# > - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml# > > - "extcon@[0-9a-f]+$": > - type: object > - $ref: /schemas/extcon/qcom,pm8941-misc.yaml# > - > "gpio(s)?@[0-9a-f]+$": > type: object > $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml# > @@ -143,6 +139,10 @@ patternProperties: > type: object > $ref: /schemas/thermal/qcom,spmi-temp-alarm.yaml# > > + "^usb-detect@[0-9a-f]+$": > + type: object > + $ref: /schemas/extcon/qcom,pm8941-misc.yaml# > + > "^usb-vbus-regulator@[0-9a-f]+$": > type: object > $ref: /schemas/regulator/qcom,usb-vbus-regulator.yaml#
On Montag, 7. November 2022 10:08:16 CET Lee Jones wrote: > On Mon, 31 Oct 2022, Luca Weiss wrote: > > extcon is a Linux-specific name and shouldn't be a part of the dts. Make > > it be called usb-detect@ instead. > > > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > > --- > > This patch builds on top of > > https://lore.kernel.org/linux-arm-msm/20221031173933.936147-1-luca@z3ntu.x > > yz/ But could also be applied without, if conflicts are resolved. > > > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 8 ++++---- > > 1 file changed, 4 insertions(+), 4 deletions(-) > > Same here. Only 1/3 received. > > Can I take this on its own? Hi, yes, this can be taken on its own. Perhaps it'll introduce some temporary dtbs_check warnings until the other patches have also made it into the tree. Patch 2 is pm8941-misc yaml change, and patch 3 is adjusting dtsi file for the new name. Lore: https://lore.kernel.org/lkml/20221031175717.942237-1-luca@z3ntu.xyz/ Regards Luca > > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index > > cf10d62ace54..14aa42057d6f 100644 > > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > > @@ -123,10 +123,6 @@ patternProperties: > > - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml# > > - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml# > > > > - "extcon@[0-9a-f]+$": > > - type: object > > - $ref: /schemas/extcon/qcom,pm8941-misc.yaml# > > - > > > > "gpio(s)?@[0-9a-f]+$": > > type: object > > $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml# > > > > @@ -143,6 +139,10 @@ patternProperties: > > type: object > > $ref: /schemas/thermal/qcom,spmi-temp-alarm.yaml# > > > > + "^usb-detect@[0-9a-f]+$": > > + type: object > > + $ref: /schemas/extcon/qcom,pm8941-misc.yaml# > > + > > > > "^usb-vbus-regulator@[0-9a-f]+$": > > type: object > > $ref: /schemas/regulator/qcom,usb-vbus-regulator.yaml#
On Mon, 31 Oct 2022 18:57:14 +0100, Luca Weiss wrote: > extcon is a Linux-specific name and shouldn't be a part of the dts. Make > it be called usb-detect@ instead. > > Applied, thanks! [3/3] ARM: dts: qcom: pm8941: rename misc node name commit: 52c47b894b260c3e5102bb4b3e77772734508bcf Best regards,
On Mon, 31 Oct 2022, Luca Weiss wrote: > extcon is a Linux-specific name and shouldn't be a part of the dts. Make > it be called usb-detect@ instead. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- > This patch builds on top of > https://lore.kernel.org/linux-arm-msm/20221031173933.936147-1-luca@z3ntu.xyz/ > But could also be applied without, if conflicts are resolved. > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Applied, thanks.
diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index cf10d62ace54..14aa42057d6f 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -123,10 +123,6 @@ patternProperties: - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml# - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml# - "extcon@[0-9a-f]+$": - type: object - $ref: /schemas/extcon/qcom,pm8941-misc.yaml# - "gpio(s)?@[0-9a-f]+$": type: object $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml# @@ -143,6 +139,10 @@ patternProperties: type: object $ref: /schemas/thermal/qcom,spmi-temp-alarm.yaml# + "^usb-detect@[0-9a-f]+$": + type: object + $ref: /schemas/extcon/qcom,pm8941-misc.yaml# + "^usb-vbus-regulator@[0-9a-f]+$": type: object $ref: /schemas/regulator/qcom,usb-vbus-regulator.yaml#