From patchwork Mon Jul 27 21:28:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 6876811 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 911F49F6E5 for ; Mon, 27 Jul 2015 21:28:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D30FC20658 for ; Mon, 27 Jul 2015 21:28:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EF9B8206EB for ; Mon, 27 Jul 2015 21:28:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754525AbbG0V2w (ORCPT ); Mon, 27 Jul 2015 17:28:52 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:36512 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754755AbbG0V2u (ORCPT ); Mon, 27 Jul 2015 17:28:50 -0400 Received: by lbbqi7 with SMTP id qi7so62137456lbb.3 for ; Mon, 27 Jul 2015 14:28:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:mime-version :content-transfer-encoding; bh=mCD0e6f1Pl9vlgKpj0/yUN+3IyyidEr0Ryax8oiGgUA=; b=WjpRftt1QxEqvBKTNR/a7b2HIksiLX9HSNLAgaAUeoy94rNldBJn7DBj5D2zgXcx+e zOWjoFZ8c2Q09O0D54PCjgoTmo0kxszrXVMsCDLZS+cg+AhYICh466iyQLM20Fg0Xt52 7uaBx6vE1taTh1BTanJjp3CGa6cecqovxm8EjjG69Psay3MkTH++XaAdlSYxptWkzDg1 mm07Tro8JP829SIuWn2d5MP8RswmIHWgBqjwllfwAxCB8EOWH80FXQYG9JW/3bFWLUM9 aHpzFLKkqS1USyOl91Cla9sDotE9POwKm337iomQpuqdT9aSGbGWGEqZH5654CVcjw6/ 6pSw== X-Received: by 10.152.2.2 with SMTP id 2mr29750176laq.58.1438032529728; Mon, 27 Jul 2015 14:28:49 -0700 (PDT) Received: from [192.168.0.101] (ip-46-73-144-13.bb.netbynet.ru. [46.73.144.13]) by smtp.gmail.com with ESMTPSA id m7sm4146628laf.35.2015.07.27.14.28.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 14:28:49 -0700 (PDT) Message-ID: <1438032528.17734.49.camel@gmail.com> Subject: [RFC PATCH 3/3] ARM: dts: add MCT property use-cp15-phys-counter for exynos5422-odroidxu3 From: Alexey Klimov To: linux-samsung-soc@vger.kernel.org, daniel.lezcano@linaro.org, dianders@chromium.org, chirantan@chromium.org Cc: klimov.linux@gmail.com, t.dakhran@gmail.com, k.kozlowski@samsung.com, kgene@kernel.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, yury.norov@gmail.com Date: Tue, 28 Jul 2015 00:28:48 +0300 X-Mailer: Evolution 3.16.3-1 Mime-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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";