From patchwork Fri Apr 3 11:40:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 189757 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC3EFC43331 for ; Fri, 3 Apr 2020 11:40:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D5F8208FE for ; Fri, 3 Apr 2020 11:40:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=sartura-hr.20150623.gappssmtp.com header.i=@sartura-hr.20150623.gappssmtp.com header.b="z9abDNdI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390739AbgDCLk7 (ORCPT ); Fri, 3 Apr 2020 07:40:59 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51813 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728068AbgDCLk6 (ORCPT ); Fri, 3 Apr 2020 07:40:58 -0400 Received: by mail-wm1-f65.google.com with SMTP id z7so6801448wmk.1 for ; Fri, 03 Apr 2020 04:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=O50Gx6rk+wnrYYoowjLyR0iGzy1NO7KyGopLJExdfSE=; b=z9abDNdIei6Jogiontn/W6q8FgmXjboqlQnpVhtcCA7XD7FJVj5qaJyDQcuPm4ZI2o RhbXgNPXza5zxHBVUOseYHCPkUfaH1SCQz5U0OKGUUqNUmzPIFiCbAiiEzPnQu7lvARM 5MNmtHpmIkYezDSJPZGNCCvBa/Y0WpEbsMyHdqfLa1yqtA8Vdot6T+XJBPdhS0l6ZhBq 2P19Kv+H/K1PLmo74xHKbxd7335m7xzfsLU4m+9+ZqprAeoJsOVLC/lQZw36sgr/Hb/C c1oZPIMkU2EoI7yHNlOaKH7Yk4iVHFx0ISkdwiSpjFKE7T8FNXXhH0rsyZfeODNn2Gc7 Tamg== 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:mime-version :content-transfer-encoding; bh=O50Gx6rk+wnrYYoowjLyR0iGzy1NO7KyGopLJExdfSE=; b=oWxjIkA6czZzNQFU9lbPjZCKgbM/isbYZK3elNXwFQ61NHJmR+40jRF2FQBAWUE8be lMvkUI9gQAS27e2JZ1TPDbNhAFzcXdLE5d7W0HwNEmlWKBBr/daMoa6sOaCfgw60+4kp tlk4AnnO3qNThpc4/k6LSQz9U+FqvjSs0NFgF7ky0362iwZlKx5HT9JliUkhk+WI7QZp 5kXOS9CdlIlCnE2+cT5KyDRAVZxa/yvqh2oJn009kJrIdQQtSOFouD2WT8YRvRSllCo4 mB59weS63FNtJlZWQuzmaOdgf337jOUBcwmvhtLHgSkuXqauO5KJ0UTYquuJnYXBJ2x3 cNAg== X-Gm-Message-State: AGi0PuaniS5JK5Gv7OVKilafvZCwcq0MfxZeqsKrsgIjUINlk/OYvdtx XlKIdNsfghktbt/0VJXkvZRCUQ== X-Google-Smtp-Source: APiQypJkSanW+EcNhfC6YNTQD6pFP9FvhotDhVGxwUvZOc++TU5vRmEFsilKl4bwzNtedter13VIiA== X-Received: by 2002:a1c:418b:: with SMTP id o133mr8582992wma.165.1585914057449; Fri, 03 Apr 2020 04:40:57 -0700 (PDT) Received: from localhost.localdomain (dh207-96-48.xnet.hr. [88.207.96.48]) by smtp.googlemail.com with ESMTPSA id s9sm14477643wmc.2.2020.04.03.04.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2020 04:40:56 -0700 (PDT) From: Robert Marko To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Abhishek Sahu , Pavel Kubelun , Christian Lamparter , Robert Marko , Luka Perkov Subject: [PATCH] ARM: dts: qcom: ipq4019: fix high resolution timer Date: Fri, 3 Apr 2020 13:40:40 +0200 Message-Id: <20200403114040.349787-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Abhishek Sahu Cherry-picked from CAF QSDK repo. Original commit message: The kernel is failing in switching the timer for high resolution mode and clock source operates in 10ms resolution. The always-on property needs to be given for timer device tree node to make clock source working in 1ns resolution. Signed-off-by: Abhishek Sahu Signed-off-by: Pavel Kubelun Signed-off-by: Christian Lamparter Tested-by: Robert Marko Cc: Luka Perkov --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index ee45253361cb..b4803a428340 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -166,6 +166,7 @@ timer { <1 4 0xf08>, <1 1 0xf08>; clock-frequency = <48000000>; + always-on; }; soc {