Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757612AbcK2NtL (ORCPT ); Tue, 29 Nov 2016 08:49:11 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33963 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756585AbcK2Npb (ORCPT ); Tue, 29 Nov 2016 08:45:31 -0500 From: Alexander Kochetkov To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Thomas Gleixner , Heiko Stuebner , Mark Rutland , Rob Herring , Russell King , Caesar Wang , Huang Tao , Daniel Lezcano , Alexander Kochetkov Subject: [PATCH v3 05/13] ARM: dts: rockchip: disable arm-global-timer for rk3188 Date: Tue, 29 Nov 2016 16:45:10 +0300 Message-Id: <1480427118-5126-6-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1480427118-5126-1-git-send-email-al.kochet@gmail.com> References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> <1480427118-5126-1-git-send-email-al.kochet@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1296 Lines: 35 arm-global-timer can provide clockevents, clocksource and shed_clock. But on rk3188 platform it provide only clocksource and shed_clock. clockevents from arm-global-timer is not used by kernel because there is another clockevent provider with higher rating (smp-twd). My commit from the series implement clocksource and shed_clock using rockchip_timer. But sched clock from rk_timer is not selected by kernel due to lower frequency than arm-global-timer, and clocksource from rk_timer is not selected by kernel due to lower rating than arm-global-timer. And I don't want to increase clocksource rating because ratings greater than 300 used for high frequency clocksources. clocksource and shed_clock is quite unstable, because their rate depends on cpu frequency. So disable arm-global-timer and use clocksource and sched_clock from rockchip_timer. Signed-off-by: Alexander Kochetkov --- arch/arm/boot/dts/rk3188.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 0dc52fe..44da3d42 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 { -- 1.7.9.5