diff mbox

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

Message ID 1438032528.17734.49.camel@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alexey Klimov July 27, 2015, 9:28 p.m. UTC
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(+)

Comments

Krzysztof Kozlowski July 28, 2015, 5:53 a.m. UTC | #1
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";
>  
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Alexey Klimov July 28, 2015, 12:34 p.m. UTC | #2
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.
diff mbox

Patch

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";