Skip to contentSkip to conversation

ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3

RFC PATCH In review Alexey Klimov 2 participants 3 messages Jul 27, 2015 – Jul 28, 2015

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

RFC PATCH 3/3 ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3

Speedup MCT operation on odroid-xu3 dev board by using coprocessor 64-bit counter instead of reading same counter located in mmio region.

Tested on Odroid-xu3.

---
 arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/exynos5422-odroidxu3.dts +4 -0
index 78e6a50..b7f6c8f 100644
@@ -18,6 +18,10 @@
 	compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
 };
 
+&mct {
+	use-cp15-phys-counter;
+};
+
 &i2c_0 {
 	status = "okay";
 
Signature · 1 line
2.1.4
#1 lore raw

RFC PATCH 3/3 ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3

Quoted 9 lines · Alexey Klimov

Speedup MCT operation on odroid-xu3 dev board by using coprocessor 64-bit counter instead of reading same counter located in mmio region.

Tested on Odroid-xu3.

---
 arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++

Please do this in Odroid XU3 common DTSI:
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi

Quoted 7 lines
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/exynos5422-odroidxu3.dts +0 -0
index 78e6a50..b7f6c8f 100644

arch/arm/boot/dts/exynos5422-odroidxu3.dts line 24

Quoted 7 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +4 -0
@@ -18,6 +18,10 @@
 	compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
 };
 
+&mct {
+	use-cp15-phys-counter;
+};
+

Put the node in alphabetical position.

Best regards,
Krzysztof

Quoted 4 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +0 -0
 &i2c_0 {
 	status = "okay";
 
#2 lore raw

RFC PATCH 3/3 ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3

Hi Krzysztof,

Quoted 32 lines · Krzysztof Kozlowski
Quoted 9 lines · Alexey Klimov

Speedup MCT operation on odroid-xu3 dev board by using coprocessor 64-bit counter instead of reading same counter located in mmio region.

Tested on Odroid-xu3.

---
 arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++

Please do this in Odroid XU3 common DTSI:
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi

Quoted 7 lines
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/exynos5422-odroidxu3.dts +0 -0
index 78e6a50..b7f6c8f 100644

arch/arm/boot/dts/exynos5422-odroidxu3.dts line 24

Quoted 7 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +4 -0
@@ -18,6 +18,10 @@
      compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
 };
 
+&mct {
+     use-cp15-phys-counter;
+};
+

Put the node in alphabetical position.

Quoted 2 lines

Best regards,
Krzysztof

Thanks. Will do it.

Signature · 1 line
Best regards, Klimov Alexey