From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Date: Tue, 2 Jan 2024 05:17:29 +0000 (+0200)
Subject: ARM: dts: qcom: ipq4019: use SoC-specific compatibles for SAW2 devices
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8cad85bfe08f419ea57a8a395e4ab0dcf346d617;p=linux.git

ARM: dts: qcom: ipq4019: use SoC-specific compatibles for SAW2 devices

There is no such thing as a generic 'SAW2' device. Use device-specific
compatible strings to describe the SAW2 devices.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240102-saw2-spm-regulator-v7-9-0472ec237f49@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
---

diff --git a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi
index 3f0272a9ea468..e6683975195a9 100644
--- a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi
@@ -351,31 +351,31 @@
 		};
 
 		saw0: regulator@b089000 {
-			compatible = "qcom,saw2";
+			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
 			reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>;
 			regulator;
 		};
 
 		saw1: regulator@b099000 {
-			compatible = "qcom,saw2";
+			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
 			reg = <0x0b099000 0x1000>, <0x0b009000 0x1000>;
 			regulator;
 		};
 
 		saw2: regulator@b0a9000 {
-			compatible = "qcom,saw2";
+			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
 			reg = <0x0b0a9000 0x1000>, <0x0b009000 0x1000>;
 			regulator;
 		};
 
 		saw3: regulator@b0b9000 {
-			compatible = "qcom,saw2";
+			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
 			reg = <0x0b0b9000 0x1000>, <0x0b009000 0x1000>;
 			regulator;
 		};
 
 		saw_l2: regulator@b012000 {
-			compatible = "qcom,saw2";
+			compatible = "qcom,ipq4019-saw2-l2", "qcom,saw2";
 			reg = <0xb012000 0x1000>;
 			regulator;
 		};