From patchwork Tue Nov 22 09:44:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9440695 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 184C860235 for ; Tue, 22 Nov 2016 09:45:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CA5D284AF for ; Tue, 22 Nov 2016 09:45:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11386284B5; Tue, 22 Nov 2016 09:45:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9B9CB284AF for ; Tue, 22 Nov 2016 09:45:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c97e8-0000I1-5W; Tue, 22 Nov 2016 09:45:48 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c97df-0006xo-Cc for linux-rockchip@lists.infradead.org; Tue, 22 Nov 2016 09:45:26 +0000 Received: by mail-wm0-x22c.google.com with SMTP id g23so15290086wme.1 for ; Tue, 22 Nov 2016 01:44:59 -0800 (PST) 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=Bu0/q8ZMHlXp7YhxfgAAGT0uf7EpKpeD5kCs+MKb5Sg=; b=I83U3k1oifQAzeLvkWbsrne6oUIQQEzXxztWdtoUYfsHzXJUVj+3RZBHzqSfp0sccr PWnxjxatUfnjpmU+Qs3F9KpkZ1Rfv+BndI0rklConuOKsMkf1XclFcPAFqNsgrw276fI GvlNXOa7S3+HZMmcsYXdmMxLOw7iZJ4AMygew= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Bu0/q8ZMHlXp7YhxfgAAGT0uf7EpKpeD5kCs+MKb5Sg=; b=PrjnkHKJhZFIphoKRulVlTjDg/OQorX/tSRJmk71Jj9gYe+C0mBAHcAUH8l/k2rD/h NN+q8ArbxLDtHOW2o7WzSKm89yFXNnX7bfaJbSkDuWkSWiej+nBpO66nDdTLb3ESZstY gXSZ952IHGGsCJNBEZclRE0XW9vwRwbx2D/8Bee2Al7StmVYbb7k518qqxdAx7NgIRkX gXSTyjJ1AKX0VeOsILXDy1waQ1yMTrd+xXTtGp+WXCy7ja1jeCkE5Ob8eKSwyJxd7nlR 6p/n30eXf85LyzmN7zJk3/qTIupMcbkQ9ipk/N7zOWKd5uDmtDPczFJWftX/wkF77m92 XqPw== X-Gm-Message-State: AKaTC00cmD3zCG4XlToZt/geUo14/7uhkF2/vMEFgaV/51GOdmU5ZU2V4w8M0mhCe0lw54lH X-Received: by 10.28.165.2 with SMTP id o2mr1609449wme.38.1479807896906; Tue, 22 Nov 2016 01:44:56 -0800 (PST) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:d4cd:7489:29a3:d5ed]) by smtp.gmail.com with ESMTPSA id ab10sm29789450wjc.45.2016.11.22.01.44.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Nov 2016 01:44:56 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Subject: [PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend Date: Tue, 22 Nov 2016 10:44:22 +0100 Message-Id: <1479807866-6957-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479807866-6957-1-git-send-email-daniel.lezcano@linaro.org> References: <20161122094300.GA2017@mai> <1479807866-6957-1-git-send-email-daniel.lezcano@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161122_014519_795201_33A1F35E X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Elaine Zhang , Heiko Stuebner , Xing Zheng , Catalin Marinas , Shawn Lin , Brian Norris , Will Deacon , linux-kernel@vger.kernel.org, Douglas Anderson , "open list:ARM/Rockchip SoC support" , Rob Herring , David Wu , Jianqun Xu , "moderated list:ARM64 PORT AARCH64 ARCHITECTURE" , Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Brian Norris The "arm,no-tick-in-suspend" property was introduced to note implementations where the system counter does not quite follow the ARM specification that it "must be implemented in an always-on power domain". Particularly, RK3399's counter stops ticking when we switch from the 24MHz clock to the 32KHz clock in low-power suspend, so let's mark it as such. Signed-off-by: Brian Norris Reviewed-by: Douglas Anderson Signed-off-by: Daniel Lezcano Acked-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index b65c193..d85b651 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -174,6 +174,7 @@ , , ; + arm,no-tick-in-suspend; }; xin24m: xin24m {