linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3
@ 2015-07-27 21:28 Alexey Klimov
  2015-07-28  5:53 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Klimov @ 2015-07-27 21:28 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
---
 arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index 78e6a50..b7f6c8f 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -18,6 +18,10 @@
 	compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
 };
 
+&mct {
+	use-cp15-phys-counter;
+};
+
 &i2c_0 {
 	status = "okay";
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3
  2015-07-27 21:28 [RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3 Alexey Klimov
@ 2015-07-28  5:53 ` Krzysztof Kozlowski
  2015-07-28 12:34   ` Alexey Klimov
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-28  5:53 UTC (permalink / raw)
  To: linux-arm-kernel

On 28.07.2015 06:28, Alexey Klimov wrote:
> 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.
> 
> Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
> ---
>  arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++

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

>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
> index 78e6a50..b7f6c8f 100644
> --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
> +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
> @@ -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

>  &i2c_0 {
>  	status = "okay";
>  
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3
  2015-07-28  5:53 ` Krzysztof Kozlowski
@ 2015-07-28 12:34   ` Alexey Klimov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Klimov @ 2015-07-28 12:34 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Krzysztof,

On Tue, Jul 28, 2015 at 8:53 AM, Krzysztof Kozlowski
<k.kozlowski@samsung.com> wrote:
> On 28.07.2015 06:28, Alexey Klimov wrote:
>> 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.
>>
>> Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
>> ---
>>  arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++
>
> Please do this in Odroid XU3 common DTSI:
> arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi


>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
>> index 78e6a50..b7f6c8f 100644
>> --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
>> +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
>> @@ -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

Thanks. Will do it.

-- 
Best regards, Klimov Alexey

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-28 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 21:28 [RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3 Alexey Klimov
2015-07-28  5:53 ` Krzysztof Kozlowski
2015-07-28 12:34   ` Alexey Klimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).