Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2234346imm; Sun, 12 Aug 2018 09:29:15 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx8fYDLnyzGTZTs6ko2uZ69uZZiC6pvc0sDvatXRtIUkdzYY3uR8ud9tZAr+GGmxzJkeQrp X-Received: by 2002:a62:95d1:: with SMTP id c78-v6mr15683161pfk.130.1534091355799; Sun, 12 Aug 2018 09:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534091355; cv=none; d=google.com; s=arc-20160816; b=eqDoGB2DS8RC9BNhTbT5EyWhlyXRieB026OgoBkKFw5H8XL7uR8YpcJDyiBDsNtT14 kfck13bBdfNFozijql3Fy5p0T/GMXz/h1Yw5p5oQlL8eUEK7cT6Rq3L/PS259q9Iq06P 6/8j6ADNfEkQUGce8WUAb7o7mn2sJXDVzzuKkzBUjitiOUq4WvOA+4ouNb1r03Fs1kgB ZMzjlHj/dr6NHH8xwtvOTCTc18dX2179B3sAjXnZFeRJgYSnDsJNpR/TAnUpmLH2JFMp qL4nyCtYA7skkWrJeFqtgRsPH2+gIZ9D+bvydTJ0+0jKpVaHzka4Q2LZ8vfm8rLIH+Ey 1dfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=C4AJGzdQM5lTVq6MJIOzIosf9wvJRODeZxgn8DrWzic=; b=Ro/Z7Glx3l6mPjFYFp2/4B49OmfmCtE+jr2z2mNVJCKHrN1GYmHS0M6i+Oiyh/GG7R 7PT4H+1NHPFyI4I/UmHmf4m+i/riqnU2X1AsSG5XO1ujI9TbYnWVqKt9okd39J732TE9 WceSSlvjGlW0rlJ3MLoOnyNqA7c7beZyXVh5htCkYchrP9kf2YPXE120F4v4O2JCaKPO 2tB5feSZ9Zn70idi6yQOg4yPOUs/7tjUi4UaSEK4OMdZlkl/bSl+OS9tSqHqH7iB5pcs mjiDOHhhWADiaV9q2KFVhuCnQjtglEeE/m1dd0qSNi7MfyztX+Hgs5yYIwd7XJ9iMK3y odWw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7-v6si12086580pll.162.2018.08.12.09.29.01; Sun, 12 Aug 2018 09:29:15 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728356AbeHLTDc (ORCPT + 99 others); Sun, 12 Aug 2018 15:03:32 -0400 Received: from regular1.263xmail.com ([211.150.99.141]:53756 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727733AbeHLTDc (ORCPT ); Sun, 12 Aug 2018 15:03:32 -0400 Received: from huangtao?rock-chips.com (unknown [192.168.167.16]) by regular1.263xmail.com (Postfix) with ESMTP id 7787E191; Mon, 13 Aug 2018 00:24:47 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from [10.0.0.19] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 0AD33380; Mon, 13 Aug 2018 00:24:45 +0800 (CST) X-RL-SENDER: huangtao@rock-chips.com X-FST-TO: huangtao@rock-chips.com X-SENDER-IP: 110.83.16.9 X-LOGIN-NAME: huangtao@rock-chips.com X-UNIQUE-TAG: <15014a32e8091020739062519ead0f64> X-ATTACHMENT-NUM: 0 X-SENDER: huangtao@rock-chips.com X-DNS-TYPE: 7 Received: from [10.0.0.19] (9.16.83.110.broad.fz.fj.dynamic.163data.com.cn [110.83.16.9]) by smtp.263.net (Postfix) whith ESMTP id 27838K4YRA4; Mon, 13 Aug 2018 00:24:48 +0800 (CST) Subject: Re: [PATCH] arm64: dts: rockchip: Add idle-states to device tree for rk3399 To: Heiko Stuebner , Caesar Wang Cc: Mark Rutland , devicetree@vger.kernel.org, Brian Norris , Xing Zheng , Masahiro Yamada , Catalin Marinas , dbasehore@chromium.org, Will Deacon , dianders@chromium.org, Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, tony.xie@rock-chips.com, David Wu , cf@rock-chips.com, Jianqun Xu , linux-arm-kernel@lists.infradead.org References: <1467793254-10808-1-git-send-email-wxt@rock-chips.com> <5620784.b19SH5PkdR@phil> From: Tao Huang Message-ID: Date: Mon, 13 Aug 2018 00:24:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <5620784.b19SH5PkdR@phil> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heiko: On 2018年08月10日 04:09, Heiko Stuebner wrote: > Am Mittwoch, 6. Juli 2016, 10:20:54 CEST schrieb Caesar Wang: > >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 18 ++++++++++++++++++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> index a6dd623..12ce265 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> @@ -101,6 +101,18 @@ >> }; >> }; >> >> + idle-states { >> + entry-method = "psci"; >> + cpu_sleep: cpu-sleep-0 { >> + compatible = "arm,idle-state"; >> + local-timer-stop; >> + arm,psci-suspend-param = <0x0010000>; >> + entry-latency-us = <350>; >> + exit-latency-us = <600>; >> + min-residency-us = <1150>; > Looking at the chromeos kernel, there are some more patches adapting > this idle-state to use different timings. Yes, we have another values. So the values of this patch are wrong. > > There also was a cluster-idle state added for a while but that seems to > cause audio issues according to the CrOS history. DMA or Audio driver should add PM_QOS_CPU_DMA_LATENCY or other methods to avoid the effects of idle. Idle itself is good. Thanks!