Skip to contentSkip to conversation

ARM: dts: rockchip: add act8846 supplies on rk3288-firefly

PATCH New Heiko Stübner 1 participant 2 messages Apr 7, 2015

Subsystems (2)
lore
Share & tools
lore

Heiko Stübner

author maintainer
#0 lore raw

PATCH 1/2 ARM: dts: rockchip: add act8846 supplies on rk3288-firefly

We defined bindings for the supply handling of act8846 regulators now, so describe those on the firefly too.

---
 arch/arm/boot/dts/rk3288-firefly.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/rk3288-firefly.dtsi +8 -0
index b54dd78..a3b1fc4 100644
@@ -246,6 +246,14 @@
 		pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
 		system-power-controller;
 
+		vp1-supply = <&vcc_sys>;
+		vp2-supply = <&vcc_sys>;
+		vp3-supply = <&vcc_sys>;
+		vp4-supply = <&vcc_sys>;
+		inl1-supply = <&vcc_sys>;
+		inl2-supply = <&vcc_sys>;
+		inl3-supply = <&vcc_20>;
+
 		regulators {
 			vcc_ddr: REG1 {
 				regulator-name = "vcc_ddr";
Signature · 1 line
2.1.4
author maintainer
#1 lore raw

PATCH 2/2 ARM: dts: rockchip: enable tsadc on rk3288 boards

The tsadc is used to read cpu and gpu temperatures. Also enable it on the other rk3288 boards beside the evb using the cru reset settings.

---
 arch/arm/boot/dts/rk3288-firefly.dtsi | 6 ++++++
 arch/arm/boot/dts/rk3288-popmetal.dts | 6 ++++++
 2 files changed, 12 insertions(+)
arch/arm/boot/dts/rk3288-firefly.dtsi +6 -0
index a3b1fc4..0b42372 100644
@@ -465,6 +465,12 @@
 	status = "okay";
 };
 
+&tsadc {
+	rockchip,hw-tshut-mode = <0>;
+	rockchip,hw-tshut-polarity = <0>;
+	status = "okay";
+};
+
 &uart0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
arch/arm/boot/dts/rk3288-popmetal.dts +6 -0
index d081f0e..d582811 100644
@@ -406,6 +406,12 @@
 	};
 };
 
+&tsadc {
+	rockchip,hw-tshut-mode = <0>;
+	rockchip,hw-tshut-polarity = <0>;
+	status = "okay";
+};
+
 &vopb {
 	status = "okay";
 };
Signature · 1 line
2.1.4