[PATCH 1/3] dt-bindings: mfd: qcom,spmi-pmic: rename extcon node name
From: Luca Weiss
Date: Mon Oct 31 2022 - 13:57:52 EST
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@xxxxxxxxx>
---
This patch builds on top of
https://lore.kernel.org/linux-arm-msm/20221031173933.936147-1-luca@xxxxxxxxx/
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(-)
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#
--
2.38.1