Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3170884ybb; Mon, 13 Apr 2020 02:11:57 -0700 (PDT) X-Google-Smtp-Source: APiQypKT/6Ftj9FlI7OnoJX8/XRfYWuC7BAlc0YuLnNNhytja/31UfYDSdK0WNSXFxaIPodjGYd9 X-Received: by 2002:a17:906:1fd6:: with SMTP id e22mr12654443ejt.150.1586769117666; Mon, 13 Apr 2020 02:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586769117; cv=none; d=google.com; s=arc-20160816; b=M2bcl3exfwnLWdEUNzv/cNXgHPSYHUMfAmR+KfF/C0Bdnk7cX5utxwc8ihQQkgUnuf PrAe8UtyMjxVrwuv75H4CEycTnJhxFVm8EkxjvT2FrIVxioruF995qk6R0AZwcfLrVK1 vB68IBFmBKRw5DmaMd/suEymj3pFed5CVkGI6OhXhdFV/fPj/430LEvst8WDkLrkQpZE iO6WVjBfILsTbYTADBZl84hk5hwMzzI13VltG3eeSL/e/lPPJaG0DPhqhBFnPBOJ0G5F OaPVzR8fbXvPmwdMalE7xvGjUwo/sK5g3+BS94OQ8n9IrdyIdN8Lrlq4E2Kx0SBvSKi/ 0hng== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Kfy/ROQ7gtXLXzXKgSpMRgFDcYEAd8k4j64w9UUThVk=; b=Mgmngu4Rz6nksrIXxLF7vmgjI+N3WqCcFQwfry9fznAku3rjFF4lA75JuOIVpbmS73 NfAzD+oYqEJ/taG4EZN9oLdzP4vGkjxYFHQWFdQI3EEjXpbCUy9gkJ/V5eHcqp3C/8NM BCXw0fy2/Oo7Hh32pGahc7bAS6dA8rneMV/LKzFg2aZW0tShSdl86XLN9kEzPviplOvH r9vgR4uhjUh760bk9P7acer7Kq4x/iJiuzCnZyJWZsizltzvQdP2HqFSeugptiQ5/roQ gZWVAoRyAvX0wynF4dE3xu/6NCHgSOrqLUUG60b0623gwVrWg8HoyTsP1eyLQTi3F75+ mNww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XYrT913r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id m10si5626103ejb.93.2020.04.13.02.11.34; Mon, 13 Apr 2020 02:11:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XYrT913r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729108AbgDMHAv (ORCPT + 99 others); Mon, 13 Apr 2020 03:00:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.18]:55966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727692AbgDMHAu (ORCPT ); Mon, 13 Apr 2020 03:00:50 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51AB9C008651; Mon, 13 Apr 2020 00:00:49 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id h69so1551491pgc.8; Mon, 13 Apr 2020 00:00:49 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Kfy/ROQ7gtXLXzXKgSpMRgFDcYEAd8k4j64w9UUThVk=; b=XYrT913rsTzhy3QwXikOs/GzZx59MEF6RbPx7FH9kaLVOEE8nO928g0cvW2dXDefkm /h90ME84J09Y44EKCfDwP7EVMaGtpqfnixocf/IAN83UiWsLPaqhxhV8uNO1VO8KH4g6 G1sZeTw1D5jSD/rtXKftLB1VFyKaOcqfJh5j0YX+/HMRE4lXHvsG5va4UHOsPgPnt30T 8RFCUgSCQKPcAYpn/EhtcVMK8rSXS+ow8MHX1nEb7vHTWVpTu72WgGnxmL1lvIPtzTQU HtvoItp1pW8nxpaOjgp+gx6wbOzZH6/65Wzyk3WUD/0WWL9DzPs3K8aFQEgz/yc/QjfJ rL7A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Kfy/ROQ7gtXLXzXKgSpMRgFDcYEAd8k4j64w9UUThVk=; b=ZaMSzVdYPwDT7CfGicuqlJFdDBVVj7fGxr9ytrZ7p7Sa4px/cgOHuDEmhg/2M5pNGY za4BLdyt2k9NijAyUBdS4RXqfYzI7XgcJEKSS5ZPZnUTM5cEmc1BBp24ab5GBSi8e0oD K37a7fcOHsVwDwMmAMUUsrLIaYJN3PGHlrKsYDp9YPgYMODVVwK/a4tCOK9jFRgcKvFf vSs1Udh8QEFbLUqFor8mAm7DZWufLaegDwhUeL/xqz83ACfeC8aZfwUWa0duMoJiB6ok dpgPF3PgbCu+U/EmaVREprtKqUoOq8PokpqiuvJaoYPU0rs97TxseuXkd4gKMJmLLlR0 pA8g== X-Gm-Message-State: AGi0PuYGM6KXlGQDHmFApMK4ezeA7Hmg8k17V7NLoMKTMqe7IyfUdknH SqG+EJYeiSMiYn3zAKEgqjI= X-Received: by 2002:a65:5b05:: with SMTP id y5mr16522768pgq.239.1586761248942; Mon, 13 Apr 2020 00:00:48 -0700 (PDT) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id p4sm7815670pfg.163.2020.04.13.00.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 00:00:48 -0700 (PDT) From: zhang.lyra@gmail.com To: "Rafael J . Wysocki" , Daniel Lezcano , Rob Herring , Mark Rutland Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chunyan Zhang , Chunyan Zhang Subject: [RFC PATCH v1 2/2] dt-bindings: arm: Add description to the new property for-s2idle-only Date: Mon, 13 Apr 2020 15:00:14 +0800 Message-Id: <20200413070014.12960-3-zhang.lyra@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200413070014.12960-1-zhang.lyra@gmail.com> References: <20200413070014.12960-1-zhang.lyra@gmail.com> 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: Chunyan Zhang Add a new property for-s2idle-only. The idle-state marked with this property will be set with CPUIDLE_FLAG_S2IDLE during initialization and it would be expected to be found as deepest state for s2idle rather than other cases like play_idle(). Signed-off-by: Chunyan Zhang --- Documentation/devicetree/bindings/arm/idle-states.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/idle-states.yaml b/Documentation/devicetree/bindings/arm/idle-states.yaml index ea805c1e6b20..cec47b3a447f 100644 --- a/Documentation/devicetree/bindings/arm/idle-states.yaml +++ b/Documentation/devicetree/bindings/arm/idle-states.yaml @@ -263,7 +263,6 @@ patternProperties: description: | Each state node represents an idle state description and must be defined as follows. - The idle state entered by executing the wfi instruction (idle_standby SBSA,[3][4]) is considered standard on all ARM platforms and therefore must not be listed. @@ -283,6 +282,15 @@ patternProperties: lost on state entry, otherwise it is retained. type: boolean + for-s2idle-only: + description: + This indicates that the state only can be found as deepest state + for s2idle rather than other cases like play_idle(). In general, + the state having this property should have longer min-residency + than the cpuidle target min-residency which CPU QoS constraints + defines, to avoid being used by runtime cpuidle. + type: boolean + entry-latency-us: description: Worst case latency in microseconds required to enter the idle state. -- 2.20.1