From patchwork Tue Oct 4 18:12:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 9362201 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 EF44A607D6 for ; Tue, 4 Oct 2016 18:13:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E467928BB7 for ; Tue, 4 Oct 2016 18:13:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D88E928BBD; Tue, 4 Oct 2016 18:13:16 +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 565E928BB7 for ; Tue, 4 Oct 2016 18:13:16 +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 1brUDJ-00031A-LF; Tue, 04 Oct 2016 18:13:13 +0000 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1brUDH-0002yL-HD for linux-rockchip@lists.infradead.org; Tue, 04 Oct 2016 18:13:12 +0000 Received: by mail-pf0-x230.google.com with SMTP id s13so78275235pfd.2 for ; Tue, 04 Oct 2016 11:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wh/cJiBy+TM7aKiHqT+fgkm/zj0Y1ixsm+ebHpDUet8=; b=jAI9KJq53ndCdTRucRNB1nU9VBWDZYVKNIZY+GcjVGMn2eA9jza6u2nZi2AmKAGXJu nK4+wmRmbryPZDdcrSem69x4DmURH0WfrOTyVzNUDxoxVG3h2Kvsa92sAttAVJWvqsUz 4/eYP7Br/YcFDn5HSyR4yqfp4dYRM06+NohPc= 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=wh/cJiBy+TM7aKiHqT+fgkm/zj0Y1ixsm+ebHpDUet8=; b=fFoyw3t1P/pb9VOKYeKQXkP2yuPfVWL1cr4JQmAglRVkXJuzaJwJqK0CNIGx4Bofn0 apfWKDmqmccuBPd+2P81L1eXnI1L7D62m628bToz3hzqCPu8OwJUIHqYusaj0rdR3OpB D0iLEBrSF5NfOFTpVQ+7MKq2D2i8WUnCiwAo5EvUaX9MlO1KQD8S0e7SF/g8T6MzrkNi 9Odln96tpR6HGADJLgUZDEc1PwSiVAK00ZXcELsMFHmPSmo+uH4jZmH173QQ9IRHa+aD MxYsAjTv7YdKYQb2ehUGL7hGeB+bOPsoaVHIwsYQHklohYnS3o5nCBAhLwTFEI9T4WoT +cSg== X-Gm-Message-State: AA6/9Rm9p0itBW50lsq77lLWtLmJEZAGXaNI+Gq5wDvi3A6hRFBZ1kXHB3exi/pm+vVdS51C X-Received: by 10.98.137.145 with SMTP id n17mr198120pfk.170.1475604767865; Tue, 04 Oct 2016 11:12:47 -0700 (PDT) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id y205sm7515262pfb.37.2016.10.04.11.12.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Oct 2016 11:12:47 -0700 (PDT) From: Brian Norris To: Daniel Lezcano , Thomas Gleixner , Heiko Stuebner Subject: [PATCH v2 2/2] arm64: dts: rockchip: arch counter doesn't tick in system suspend Date: Tue, 4 Oct 2016 11:12:10 -0700 Message-Id: <1475604730-140264-2-git-send-email-briannorris@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1475604730-140264-1-git-send-email-briannorris@chromium.org> References: <1475604730-140264-1-git-send-email-briannorris@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161004_111311_667019_FFDE05A8 X-CRM114-Status: GOOD ( 10.70 ) 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 , Marc Zyngier , Catalin Marinas , Brian Norris , Stephen Boyd , linux-kernel@vger.kernel.org, Will Deacon , Douglas Anderson , linux-rockchip@lists.infradead.org, Rob Herring , linux-arm-kernel@lists.infradead.org, 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 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 --- v2: new in v2 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 76b28649f0b0..401c8be8c8ac 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 {