From: Edwin chiu <edwinchiu0505tw@gmail.com>
To: robh+dt@kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, rafael@kernel.org,
daniel.lezcano@linaro.org, linux-pm@vger.kernel.org
Cc: Edwin chiu <edwin.chiu@sunplus.com>
Subject: [PATCH 1/2] dt-bingings:arm:sunplus:add sp7021 compatible string to sunplus,idle-state.yaml
Date: Mon, 8 Nov 2021 15:55:09 +0800 [thread overview]
Message-ID: <5d2231d33d647d24d2b95c9f652687f7f1dccd2d.1636356928.git.edwin.chiu@sunplus.com> (raw)
In-Reply-To: <cover.1636356928.git.edwin.chiu@sunplus.com>
In-Reply-To: <cover.1636356928.git.edwin.chiu@sunplus.com>
Add the compatible string for cpuidle state on sp7021
Signed-off-by: Edwin chiu <edwin.chiu@sunplus.com>
---
.../bindings/arm/sunplus/sunplus,idle-state.yaml | 55 ++++++++++++++++++++++
MAINTAINERS | 6 +++
2 files changed, 61 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/sunplus/sunplus,idle-state.yaml
diff --git a/Documentation/devicetree/bindings/arm/sunplus/sunplus,idle-state.yaml b/Documentation/devicetree/bindings/arm/sunplus/sunplus,idle-state.yaml
new file mode 100644
index 0000000..649e953
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/sunplus/sunplus,idle-state.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright (C) Sunplus Co., Ltd. 2021
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/sunplus/sunplus,idle-state.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sunplus cpuidle state
+
+maintainers:
+ - edwin.chiu <edwin.chiu@sunplus.com>
+
+description: |
+ Sunplus SOC cpuidle state
+
+properties:
+ compatible:
+ const: arm,idle-state
+
+ entry-latency-us:
+ description:
+ Worst case latency in microseconds required to enter the idle state.
+
+ exit-latency-us:
+ description:
+ Worst case latency in microseconds required to exit the idle state.
+ The exit-latency-us duration may be guaranteed only after
+ entry-latency-us has passed.
+
+ min-residency-us:
+ description:
+ Minimum residency duration in microseconds, inclusive of preparation
+ and entry, for this idle state to be considered worthwhile energy wise
+ (refer to section 2 of this document for a complete description).
+
+required:
+ - compatible
+ - entry-latency-us
+ - exit-latency-us
+ - min-residency-us
+
+additionalProperties: true
+
+examples:
+ - |
+ idle-states {
+ CLUSTER_SLEEP_BIG: cluster-sleep-big {
+ compatible = "arm,idle-state";
+ entry-latency-us = <8000>;
+ exit-latency-us = <700>;
+ min-residency-us = <9000>;
+ };
+ };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 3b79fd4..52f17ec 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -17945,6 +17945,12 @@ L: netdev@vger.kernel.org
S: Maintained
F: drivers/net/ethernet/dlink/sundance.c
+SUNPLUS CPUIDLE DRIVER
+M: Edwin Chiu <edwin.chiu@sunplus.com>
+S: Maintained
+F: Documentation/devicetree/bindings/arm/sunplus/sunplus,idle-state.yaml
+
+
SUPERH
M: Yoshinori Sato <ysato@users.sourceforge.jp>
M: Rich Felker <dalias@libc.org>
--
2.7.4
next prev parent reply other threads:[~2021-11-08 7:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 7:55 [PATCH 0/2] Add cpuidle driver for Sunplus SP7021 Edwin chiu
2021-11-08 7:55 ` Edwin chiu [this message]
2021-11-08 13:03 ` [PATCH 1/2] dt-bingings:arm:sunplus:add sp7021 compatible string to sunplus,idle-state.yaml Rob Herring
2021-11-09 6:58 ` Edwin Chiu 邱垂峰
2021-11-12 22:58 ` Rob Herring
2021-11-15 9:07 ` Edwin Chiu 邱垂峰
2021-11-26 5:59 ` Edwin Chiu 邱垂峰
2021-12-03 7:04 ` Edwin Chiu 邱垂峰
2021-11-08 7:55 ` [PATCH 2/2] cpuidle:sunplus:create cpuidle driver for sunplus sp7021 Edwin chiu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d2231d33d647d24d2b95c9f652687f7f1dccd2d.1636356928.git.edwin.chiu@sunplus.com \
--to=edwinchiu0505tw@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=edwin.chiu@sunplus.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®