From: Caesar Wang <wxt@rock-chips.com>
To: ulf.hansson@linaro.org, khilman@linaro.org, heiko@sntech.de
Cc: linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com,
tomasz.figa@gmail.com, dianders@chromium.org,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
wxt@rock-chips.com
Subject: [PATCH v16 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs
Date: Wed, 12 Aug 2015 12:42:30 +0800 [thread overview]
Message-ID: <1439354552-20098-3-git-send-email-wxt@rock-chips.com> (raw)
In-Reply-To: <1439354552-20098-1-git-send-email-wxt@rock-chips.com>
According to a description from TRM, the following table lists
all the power domains.
------------------------ -------------------------
|VD_CORE | |VD_LOGIC | PD_VIO |
|xxxxxxxxxxxxxxxxxxxx | |xxxxxxxx -----------|
|xxxxxxxxxxxxxxxxxxxx | |xxxxxxxx |
|xxxxxxxxxxxxxxxxxxxx | | |
|xxxxxxxxxxxxxxxxxxxx | |--------- -----------|
| | |PD_PERI | | PD_VIDEO |
| | |--------- -----------|
| | |--------- -----------|
| | |PD_ALIVE | | PD_HEVC |
|---------- ---------- | |--------- -----------|
||PD_A17_1| |PD_A17_2| | -------------------------
|---------- ---------- | |VD_GPU |PD_GPU |
|---------- ---------- | -------------------------
||PD_A17_3| |PD_DEBUG| | -------------------------
|---------- ---------- | |VD_PMU |PD_PMU |
------------------------ -------------------------
VD_* : voltage domain
PD_* : power domain
At the moment, we can support some power-domain type on RK3288.
We can add more types on RK3288 in the future, that's need to do.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---
Changes in v16:
- Add more domain decription.
Series-changes: 15
- change the comment.
include/dt-bindings/power-domain/rk3288.h | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 include/dt-bindings/power-domain/rk3288.h
diff --git a/include/dt-bindings/power-domain/rk3288.h b/include/dt-bindings/power-domain/rk3288.h
new file mode 100644
index 0000000..db5e810
--- /dev/null
+++ b/include/dt-bindings/power-domain/rk3288.h
@@ -0,0 +1,31 @@
+#ifndef __DT_BINDINGS_POWER_DOMAIN_RK3288_H__
+#define __DT_BINDINGS_POWER_DOMAIN_RK3288_H__
+
+/**
+ * RK3288 Power Domain and Voltage Domain Summary.
+ */
+
+/* VD_CORE */
+#define RK3288_PD_A17_0 0
+#define RK3288_PD_A17_1 1
+#define RK3288_PD_A17_2 2
+#define RK3288_PD_A17_3 3
+#define RK3288_PD_SCU 4
+#define RK3288_PD_DEBUG 5
+#define RK3288_PD_MEM 6
+
+/* VD_LOGIC */
+#define RK3288_PD_BUS 7
+#define RK3288_PD_PERI 8
+#define RK3288_PD_VIO 9
+#define RK3288_PD_ALIVE 10
+#define RK3288_PD_HEVC 11
+#define RK3288_PD_VIDEO 12
+
+/* VD_GPU */
+#define RK3288_PD_GPU 13
+
+/* VD_PMU */
+#define RK3288_PD_PMU 14
+
+#endif
--
1.9.1
next prev parent reply other threads:[~2015-08-12 4:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 4:42 [PATCH v16 0/4] ARM: rk3288: Add PM Domain support Caesar Wang
2015-08-12 4:42 ` [PATCH v16 1/4] dt-bindings: add document of Rockchip power domain Caesar Wang
2015-08-12 4:42 ` Caesar Wang [this message]
2015-08-12 4:42 ` [PATCH v16 3/4] soc: rockchip: power-domain: Add power domain driver Caesar Wang
2015-08-12 4:42 ` [PATCH v16 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs Caesar Wang
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=1439354552-20098-3-git-send-email-wxt@rock-chips.com \
--to=wxt@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=dmitry.torokhov@gmail.com \
--cc=heiko@sntech.de \
--cc=khilman@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=tomasz.figa@gmail.com \
--cc=ulf.hansson@linaro.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®