Skip to contentSkip to conversation

arm64: dts: qcom: sc7280: Remove pm8350 and pmr735b for sc7280-idp

PATCH In review satya priya 2 participants 2 messages Aug 3, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sc7280: Remove pm8350 and pmr735b for sc7280-idp

Remove pm8350 and pmr735b die temp nodes as these pmics are not present on this board.

Correct the tabbing for pmk8350_vadc node.

---
 arch/arm64/boot/dts/qcom/sc7280-idp.dts | 34 ++++++++++-----------------------
 1 file changed, 10 insertions(+), 24 deletions(-)
arch/arm64/boot/dts/qcom/sc7280-idp.dts +10 -24
index 73225e3..ee76d96 100644
@@ -9,8 +9,6 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h>
-#include <dt-bindings/iio/qcom,spmi-adc7-pmr735b.h>
-#include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
 #include "sc7280.dtsi"
 #include "pm7325.dtsi"
@@ -244,29 +242,17 @@
 };
 
 &pmk8350_vadc {
-		pm8350_die_temp {
-			reg = <PM8350_ADC7_DIE_TEMP>;
-			label = "pm8350_die_temp";
-			qcom,pre-scaling = <1 1>;
-		};
-
-		pmk8350_die_temp {
-			reg = <PMK8350_ADC7_DIE_TEMP>;
-			label = "pmk8350_die_temp";
-			qcom,pre-scaling = <1 1>;
-		};
-
-		pmr735a_die_temp {
-			reg = <PMR735A_ADC7_DIE_TEMP>;
-			label = "pmr735a_die_temp";
-			qcom,pre-scaling = <1 1>;
-		};
+	pmk8350_die_temp {
+		reg = <PMK8350_ADC7_DIE_TEMP>;
+		label = "pmk8350_die_temp";
+		qcom,pre-scaling = <1 1>;
+	};
 
-		pmr735b_die_temp {
-			reg = <PMR735B_ADC7_DIE_TEMP>;
-			label = "pmr735b_die_temp";
-			qcom,pre-scaling = <1 1>;
-		};
+	pmr735a_die_temp {
+		reg = <PMR735A_ADC7_DIE_TEMP>;
+		label = "pmr735a_die_temp";
+		qcom,pre-scaling = <1 1>;
+	};
 };
 
 &qupv3_id_0 {
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member 
of Code Aurora Forum, hosted by The Linux Foundation
Reviewed-by on v1 1/1
#1 lore raw

Quoting satya priya (2021-08-03 06:04:12)

Quoted 7 lines

Remove pm8350 and pmr735b die temp nodes as these pmics are not present on this board.

Correct the tabbing for pmk8350_vadc node.

---

Fixes fbd5a1d22607 ("arm64: dts: qcom: sc7280: Add ADC channel nodes

for PMIC temperatures to sc7280-idp")