arm64: dts: qcom: pm6150: correct Type-C compatible
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 28 Mar 2024 07:45:44 +0000 (08:45 +0100)
committerBjorn Andersson <andersson@kernel.org>
Fri, 29 Mar 2024 20:54:01 +0000 (15:54 -0500)
The first part of the compatible of Type-C node misses ending quote,
thus we have one long compatible consisting of two compatible strings
leading to dtbs_check warnings:

  sc7180-idp.dtb: usb-vbus-regulator@1100: compatible:0: 'qcom,pm6150-vbus-reg,\n qcom,pm8150b-vbus-reg' does not match '^[a-zA-Z0-9][a-zA-Z0-9,+\\-._/]+$'
  sc7180-idp.dtb: /soc@0/spmi@c440000/pmic@0/usb-vbus-regulator@1100: failed to match any schema with compatible: ['qcom,pm6150-vbus-reg,\n          qcom,pm8150b-vbus-reg']

Reported-by: Rob Herring <robh@kernel.org>
Fixes: f81c2f01cad6 ("arm64: dts: qcom: pm6150: define USB-C related blocks")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240328074544.5076-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pm6150.dtsi

index 11158c2bd5241661da0efb8019952d0b91db05ba..b20a639cddf38fd48b0971177e019b982946a934 100644 (file)
@@ -71,8 +71,8 @@
                };
 
                pm6150_typec: typec@1500 {
-                       compatible = "qcom,pm6150-typec,
-                                     qcom,pm8150b-typec";
+                       compatible = "qcom,pm6150-typec",
+                                    "qcom,pm8150b-typec";
                        reg = <0x1500>, <0x1700>;
                        interrupts = <0x0 0x15 0x00 IRQ_TYPE_EDGE_RISING>,
                                     <0x0 0x15 0x01 IRQ_TYPE_EDGE_BOTH>,