From patchwork Sun Apr 16 20:27:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 97481 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1087476qgf; Sun, 16 Apr 2017 13:31:10 -0700 (PDT) X-Received: by 10.98.22.78 with SMTP id 75mr8097552pfw.131.1492374670745; Sun, 16 Apr 2017 13:31:10 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1si8918807plj.269.2017.04.16.13.31.10; Sun, 16 Apr 2017 13:31:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757231AbdDPUbA (ORCPT + 7 others); Sun, 16 Apr 2017 16:31:00 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:38637 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932131AbdDPU2u (ORCPT ); Sun, 16 Apr 2017 16:28:50 -0400 Received: by mail-wm0-f51.google.com with SMTP id t189so22469189wmt.1 for ; Sun, 16 Apr 2017 13:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EbyvvggS7SmikhHLIkCnYcf1LHOWa80QJqHEpVqqk/A=; b=X3D1jCszWwgLaejvm5auldoD+QmhODDNS1/YngN+Ysa2r6qnrFujtXjKR3Ew5XHmFs 4sUIISxBEFaTtv3yILYJ8HQ3AbhTe9wh/s0qJituXPsU3gCr3FOT2+FtZmHXTlt1aVFk 4cpdGFtpWVl+4hdM6lfd32wpLJARFr64wHT44= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EbyvvggS7SmikhHLIkCnYcf1LHOWa80QJqHEpVqqk/A=; b=RvktCNBGQpENzgWFXWRZd+3PWJM8SkWpzwzJ/gSFscpZ6fE6NtbY+l0McRSl5DPAV1 ZiLopTt7NLcQhAZPCxpn3+Q4bVJf2BxTEtb1wsRidgRpY5uHnE8/BoR13a+uMRAPkZm7 93IZrlYIaPhc428X5xRcPwecS34eBH0HeioUxRkkB20nnmhAvxnwdBrENUCwdsrVVXfV G77UYbsGMyVG+ifbvlxijazfrqPUCgsgw30lUxNGJVgZpwh54LKpHnJ6TJZdZ3gR3RsH dpS3ryNwdyyA1SZfyK77sZWXmciUcf+X+J/JVmTWx1IMqcaaq6b+0n8f1429PUJ+pRsp RVRw== X-Gm-Message-State: AN3rC/5LugHPdMKviLjcL4EQcpjfgi75jntcR57K02wbgIT5a9ZNIZ0P DChpcMjjDcUKFOoi X-Received: by 10.28.128.197 with SMTP id b188mr6051444wmd.115.1492374529535; Sun, 16 Apr 2017 13:28:49 -0700 (PDT) Received: from mai.lan ([2001:41d0:fe90:b800:20c0:6248:a385:db35]) by smtp.gmail.com with ESMTPSA id 81sm7732196wmj.9.2017.04.16.13.28.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Apr 2017 13:28:48 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Alexander Kochetkov , Heiko Stuebner , Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC support), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH 26/29] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Sun, 16 Apr 2017 22:27:16 +0200 Message-Id: <1492374441-23336-26-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492374441-23336-1-git-send-email-daniel.lezcano@linaro.org> References: <20170416202542.GV2078@mai> <1492374441-23336-1-git-send-email-daniel.lezcano@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Alexander Kochetkov The clocksource and the sched_clock provided by the arm_global_timer are quite unstable because their rates depend on the cpu frequency. On the other side, the arm_global_timer has a higher rating than the rockchip_timer, it will be selected by default by the time framework while we want to use the stable rockchip clocksource. Let's disable the arm_global_timer in order to have the rockchip clocksource selected by default. Signed-off-by: Alexander Kochetkov Signed-off-by: Daniel Lezcano Reviewed-by: Heiko Stuebner --- arch/arm/boot/dts/rk3188.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 8428fae..1aff4ad2 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts/rk3188.dtsi @@ -546,6 +546,7 @@ &global_timer { interrupts = ; + status = "disabled"; }; &local_timer {