Skip to contentSkip to conversation

ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12

PATCH RESEND New Kukjin Kim 2 participants 4 messages Nov 22, 2014 – Nov 26, 2014 2 messages not in the archive Arm Samsung Exynos

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Kukjin Kim

author
#1 lore raw

PATCH RESEND 1/2 ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12

Quoted 1 line · Lukasz Majewski

+ Bart, Tomasz and MLs

Hi Lukasz,

Please post including MLs, even resending.

Will apply for v3.19, and just note that you asked me to apply this for 3.18 in personal talk but I couldn't see any requirements for fixes-3.18. If I'm missing something, please let me know.

Thanks,
Kukjin

Quoted 30 lines

The TMU device tree node definition for Exynos4x12 family of SoCs.

---
 arch/arm/boot/dts/exynos4x12.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/exynos4x12.dtsi +10 -1
index 861bb91..2e9f1f7 100644
@@ -271,4 +271,14 @@
 		compatible = "samsung,exynos4x12-usb2-phy";
 		samsung,sysreg-phandle = <&sys_reg>;
 	};
+
+	tmu at 100C0000 {
+		compatible = "samsung,exynos4412-tmu";
+		interrupt-parent = <&combiner>;
+		interrupts = <2 4>;
+		reg = <0x100C0000 0x100>;
+		clocks = <&clock 383>;
+		clock-names = "tmu_apbif";
+		status = "disabled";
+	};
 };
--

2.0.0.rc2

#2 lore raw

PATCH RESEND 1/2 ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12

Hi Kukjin,

Quoted 11 lines
Quoted 1 line · Lukasz Majewski

+ Bart, Tomasz and MLs

Hi Lukasz,

Please post including MLs, even resending.

Will apply for v3.19, and just note that you asked me to apply this for 3.18 in personal talk but I couldn't see any requirements for fixes-3.18. If I'm missing something, please let me know.

The thing is that by default Exynos 4412 (trats2) can run with modified cpufreq to support SW governed overclocking (BOOST).

To provide safe BOOST operation, TMU (thermal) _must_ be configured. Configuration is not possible when trats2 DTS lacks of those patches.

So, yes there is a requirement to add those patches to v3.18 (if not possible please add it to v3.19).

Quoted 40 lines

Thanks,
Kukjin

Quoted 29 lines

The TMU device tree node definition for Exynos4x12 family of SoCs.

---
 arch/arm/boot/dts/exynos4x12.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/exynos4x12.dtsi index 861bb91..2e9f1f7 100644

arch/arm/boot/dts/exynos4x12.dtsi +10 -1
@@ -271,4 +271,14 @@
 		compatible = "samsung,exynos4x12-usb2-phy";
 		samsung,sysreg-phandle = <&sys_reg>;
 	};
+
+	tmu at 100C0000 {
+		compatible = "samsung,exynos4412-tmu";
+		interrupt-parent = <&combiner>;
+		interrupts = <2 4>;
+		reg = <0x100C0000 0x100>;
+		clocks = <&clock 383>;
+		clock-names = "tmu_apbif";
+		status = "disabled";
+	};
 };
--
Quoted 1 line

2.0.0.rc2

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 5 lines
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
author
#3 lore raw

PATCH RESEND 1/2 ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12

Quoted 14 lines · Lukasz Majewski

Hi Kukjin,

Quoted 11 lines
Quoted 1 line · Lukasz Majewski

+ Bart, Tomasz and MLs

Hi Lukasz,

Please post including MLs, even resending.

Will apply for v3.19, and just note that you asked me to apply this for 3.18 in personal talk but I couldn't see any requirements for fixes-3.18. If I'm missing something, please let me know.

Quoted 6 lines

The thing is that by default Exynos 4412 (trats2) can run with modified cpufreq to support SW governed overclocking (BOOST).

To provide safe BOOST operation, TMU (thermal) _must_ be configured. Configuration is not possible when trats2 DTS lacks of those patches.

Well, AFAIK the BOOST mode is only available on only Samsung mobile not mainline and so I think this is not for bug fix in mainline for 3.18...

- Kukjin

Quoted 15 lines

So, yes there is a requirement to add those patches to v3.18 (if not possible please add it to v3.19).

Quoted 12 lines

Thanks,
Kukjin

Quoted 8 lines

The TMU device tree node definition for Exynos4x12 family of SoCs.

---
 arch/arm/boot/dts/exynos4x12.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#5 lore raw

PATCH RESEND 2/2 ARM: dts: exynos4412-trats2: Enable TMU support at Trats2

Quoted 1 line · Lukasz Majewski

+ Bart, Tomasz and MLs

Will apply.

Thanks
Kukjin

Quoted 27 lines

This patch enables support for TMU at Exynos4412 based Trats2 board.

---
 arch/arm/boot/dts/exynos4412-trats2.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos4412-trats2.dts +5 -1
index 5e066cd..121430d 100644
@@ -551,6 +551,11 @@
 		status = "okay";
 	};
 
+	tmu at 100C0000 {
+		vtmu-supply = <&ldo10_reg>;
+		status = "okay";
+	};
+
 	i2c_ak8975: i2c-gpio-0 {
 		compatible = "i2c-gpio";
 		gpios = <&gpy2 4 0>, <&gpy2 5 0>;
--

2.0.0.rc2