Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp658871ybi; Sat, 15 Jun 2019 08:51:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqydQWTrBCs+zDkUW8NC0k8oBryOcHImddJlWVp/951PGjc4YFaIEfx140bXg6MouYfB+gEK X-Received: by 2002:a63:3710:: with SMTP id e16mr40567157pga.391.1560613870766; Sat, 15 Jun 2019 08:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560613870; cv=none; d=google.com; s=arc-20160816; b=VMJXKkBR81nvHGmd8z8d79mjfnb+YAQhGEueiC+pFkBy8kU/G7UE1S/1Xj5gnjA2g5 +Vu3y5Gpba0DCBt6oelxl9CC53mm7lc0Qflpslni0XKBQ9Shz8ngSgZXdYui4AjCYjj0 bQyoTiuJbJZMbuFYUUfzgFN9CD4JP8RA6eUGzsl8MQFEc89XIzRNW14h0BHRJqF8Edye iY4WqpkZrTlM0HgBh5dlAkR8su0TdvAoAL/AyiCKvrzho5lpMDXpYAFsP5i6dFOEcs74 INDE/mdnn1MFiK6aVCDsB0UoQLWUKsYZF7GR/o+nxNHKUHjTrUWoaFQ+3KiCFI98OGOW Jktg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fCnxcuBISnCFMkS4CaXGr8LMwEuRq/IrT37Bl4TOGh4=; b=nq1F8SfDDQD1cMOoLmtjXYn+UU2aJF5C46QVYRCpGjpOZMrXVGgz7u9K9tJH8mqIOy wsYc+34GjhioDVJ/XUhu5zTMRU/ZRyTgS0nOn5J8DKAI4tUXU/eeUPJdgTDWLA2MZpLk fZ9pPU8Qm3U3/CdcRbya7hSIhi19IKtobDXeJBPtWjwklZmr5OkUNQnjUiToEwFZgog+ WHbWQ1jLN8aVYpNg3lrzuu1dpl0CftVUwQP+m3aTrV3j9ACg+3WRzy+T0wDQMFQx1FaR 5onwOjM+H8hW6Zz9VksAHsMI9g/O5/BFhENWQFG+AMJ2pGCDt9qZC8QkIPh0wbPPd8ad xl4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oDrN3FIr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a64si5689264pge.116.2019.06.15.08.50.55; Sat, 15 Jun 2019 08:51:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oDrN3FIr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbfFOPuZ (ORCPT + 99 others); Sat, 15 Jun 2019 11:50:25 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:56276 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbfFOPuY (ORCPT ); Sat, 15 Jun 2019 11:50:24 -0400 Received: by mail-wm1-f65.google.com with SMTP id a15so5209690wmj.5; Sat, 15 Jun 2019 08:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fCnxcuBISnCFMkS4CaXGr8LMwEuRq/IrT37Bl4TOGh4=; b=oDrN3FIrIFBF30pElj4VmuGcUjcw1qR0CtlyNdG/UJgVLADKFLAEqFg4CULrX1ewbd EiVaBluytK9RPLn1T31RfddunY5GK4eo/hOXxO0FWwO+Ri/vD46fRIV9aR8geI+i44jD BS1dI9M94WeUbYc1VGMokk8cJCtM0tcmNi/baThN7WemK7SNjUBeG300PlTbZ1WfYQM+ c653nCj2E04+vyoji6W8zlxTrUyedcAVkKPD84HQN7Kr5a5wUUgeeJyLAkgkHlN1k3Fo 2GJP6X8cwWQT5sLo23jSJONVVI4yGdrVadGyKMwb6mCT8tIMiDli2B+UOXbqngkpRiEn QTvA== 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=fCnxcuBISnCFMkS4CaXGr8LMwEuRq/IrT37Bl4TOGh4=; b=K6K3H/8565YSRl297P7oCoZLca2YZQjao+dIhPP3n+oEELgzspeXiB6lIT+oqPKYLW +UBMpqlftvQeVeVI8q86nHRIlNcUC79b0ZfFFWdB7R62DBeO+9RN9FZ+Na1D8B6uF49H iHcuWCDby6zuNMH/cqeIyvINuuYsX50EgSt2vHhH6efxctORguR3KxEVbkSLS4X6VKWU fNr16PVzwy4wuYgpuOxnTxvr2cGeb+ry3bSLKowXhL+nM1szsoQBvLElp/4+sqEnAUcm oR4I9rllMHwSjzdOTo1WxzaDvCCbexdN/GMiHG1TgIN9LC72xKcBpNi+Q9n+apmBBCRP FmwA== X-Gm-Message-State: APjAAAWz0mW6dTaoCbQYZ3UAKvKvFEk+E5OwJFIkJPgi7cJy2kQzxRrI hj5HITTTsyd/BqL4aySeI3Zv3WU2uvQ= X-Received: by 2002:a1c:6a17:: with SMTP id f23mr11916738wmc.91.1560613822175; Sat, 15 Jun 2019 08:50:22 -0700 (PDT) Received: from debian64.daheim (pD9E2960F.dip0.t-ipconnect.de. [217.226.150.15]) by smtp.gmail.com with ESMTPSA id 128sm8065848wme.12.2019.06.15.08.50.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 15 Jun 2019 08:50:21 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.92) (envelope-from ) id 1hcAwe-00070w-Ua; Sat, 15 Jun 2019 17:50:20 +0200 From: Christian Lamparter To: linux-arm-msm@vger.kernel.org Cc: Abhishek Sahu , Andy Gross , David Brown , linux-kernel@vger.kernel.org, Pavel Kubelun Subject: [PATCH] ipq40xx: fix high resolution timer Date: Sat, 15 Jun 2019 17:50:20 +0200 Message-Id: <20190615155020.26922-1-chunkeey@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Abhishek Sahu Cherry-picked from CAF QSDK repo with Change-Id I7c00b3c74d97c2a30ac9f05e18b511a0550fd459. 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 --- 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 83eb5c29274b..c7fa9f61e1f1 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -165,6 +165,7 @@ <1 4 0xf08>, <1 1 0xf08>; clock-frequency = <48000000>; + always-on; }; soc { -- 2.20.1