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: 9440703 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 9637260235 for ; Tue, 22 Nov 2016 09:49:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B54E284AF for ; Tue, 22 Nov 2016 09:49:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E784284B5; Tue, 22 Nov 2016 09:49:15 +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 30AEA284AF for ; Tue, 22 Nov 2016 09:49:15 +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 1c97fs-0001Xj-Kf; Tue, 22 Nov 2016 09:47:36 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c97de-0006xF-JF for linux-arm-kernel@lists.infradead.org; Tue, 22 Nov 2016 09:45:26 +0000 Received: by mail-wm0-x22a.google.com with SMTP id g23so15289501wme.1 for ; Tue, 22 Nov 2016 01:44:58 -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=RLu+SAwJgGvm6VuWIPpHOXe/5trhu1fSwcsA+LC1W7bG49sZMDVwxS8NMoAqLT0SMq 7Akq+am2ZEhdPZCPWpPM68826AYPITbEoBoFsjkpzAVbwRToz7/gWfDHg+kJSYFthIqP J7Fq/jS4SpD+T6BewrVPApyASkpbSJjg2E23B+ljQPhMiHeE/RqPmVel0c/E331ejsbi c5aIADIEfwNTbPRqgxHfBhdmt9nRqWJrkNnLTJh1cVP4nrrTkXSg3x0sSIgTE/9ITB/T 2/MDzo/67t2n3AZXoARFRFsdMU3p4tAjjyazxWZDOEpjz6pDYfaBW0UwlBrrFIrJacLh Xwgg== X-Gm-Message-State: AKaTC00lwDQW05llwPuh1wKNi9P87/0eZFoBIwsruzoAmfs8polhXNKVzg736068pJzKmeJb 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_218250_7221049B X-CRM114-Status: GOOD ( 11.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 {