Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1217436

[PATCH v17 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs

From Caesar Wang <wxt@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v17 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs
Date 2015-09-02 11:10 +0200
Message-ID <q4cdl-zo-31@gated-at.bofh.it> (permalink)
References <q4cdl-zo-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


According to a description from TRM, add all the power domains.

At the moment, we can support some domains 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 v17:
- delete the ugly chart in the commit.

Changes in v16:
- Add more domain decription.

Changes in v15:
- change the comment.

Changes in v14: None
Changes in v13: None
Changes in v12: None
Changes in v11: None
Changes in v10: None
Changes in v9: None
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v17 0/4] ARM: rk3288: Add PM Domain support Caesar Wang <wxt@rock-chips.com> - 2015-09-02 11:10 +0200
  [PATCH v17 3/4] soc: rockchip: power-domain: Add power domain driver Caesar Wang <wxt@rock-chips.com> - 2015-09-02 11:10 +0200
    Re: [PATCH v17 3/4] soc: rockchip: power-domain: Add power domain driver Kevin Hilman <khilman@linaro.org> - 2015-09-02 20:30 +0200
      Re: [PATCH v17 3/4] soc: rockchip: power-domain: Add power domain  driver Caesar Wang <wxt@rock-chips.com> - 2015-09-06 05:10 +0200
  [PATCH v17 1/4] dt-bindings: add document of Rockchip power domains Caesar Wang <wxt@rock-chips.com> - 2015-09-02 11:10 +0200
    Re: [PATCH v17 1/4] dt-bindings: add document of Rockchip power domains Kevin Hilman <khilman@linaro.org> - 2015-09-02 20:20 +0200
      Re: [PATCH v17 1/4] dt-bindings: add document of Rockchip power domains Caesar Wang <wxt@rock-chips.com> - 2015-09-06 12:20 +0200
  [PATCH v17 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs Caesar Wang <wxt@rock-chips.com> - 2015-09-02 11:10 +0200
  [PATCH v17 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs Caesar Wang <wxt@rock-chips.com> - 2015-09-02 11:10 +0200

csiph-web