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


Groups > linux.kernel > #1304156

[PATCH v2 3/4] soc: mediatek: Add MT2701 power dt-bindings

From James Liao <jamesjj.liao@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/4] soc: mediatek: Add MT2701 power dt-bindings
Date 2016-01-08 04:40 +0100
Message-ID <qOw49-R6-11@gated-at.bofh.it> (permalink)
References <qOw49-R6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Shunli Wang <shunli.wang@mediatek.com>

Add power dt-bindings for MT2701.

Signed-off-by: Shunli Wang <shunli.wang@mediatek.com>
Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
---
 include/dt-bindings/power/mt2701-power.h | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 include/dt-bindings/power/mt2701-power.h

diff --git a/include/dt-bindings/power/mt2701-power.h b/include/dt-bindings/power/mt2701-power.h
new file mode 100644
index 0000000..64cc826
--- /dev/null
+++ b/include/dt-bindings/power/mt2701-power.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2015 MediaTek Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef _DT_BINDINGS_POWER_MT2701_POWER_H
+#define _DT_BINDINGS_POWER_MT2701_POWER_H
+
+#define MT2701_POWER_DOMAIN_CONN	0
+#define MT2701_POWER_DOMAIN_DISP	1
+#define MT2701_POWER_DOMAIN_MFG		2
+#define MT2701_POWER_DOMAIN_VDEC	3
+#define MT2701_POWER_DOMAIN_ISP		4
+#define MT2701_POWER_DOMAIN_BDP		5
+#define MT2701_POWER_DOMAIN_ETH		6
+#define MT2701_POWER_DOMAIN_HIF		7
+#define MT2701_POWER_DOMAIN_IFR_MSC	8
+
+#endif /* _DT_BINDINGS_POWER_MT2701_POWER_H */
-- 
1.9.1

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


Thread

[PATCH v2 0/4] Mediatek MT2701 SCPSYS power domain support James Liao <jamesjj.liao@mediatek.com> - 2016-01-08 04:40 +0100
  [PATCH v2 2/4] soc: mediatek: Init MT8173 scpsys driver earlier James Liao <jamesjj.liao@mediatek.com> - 2016-01-08 04:40 +0100
  [PATCH v2 1/4] soc: mediatek: Separate scpsys driver common code James Liao <jamesjj.liao@mediatek.com> - 2016-01-08 04:40 +0100
  [PATCH v2 3/4] soc: mediatek: Add MT2701 power dt-bindings James Liao <jamesjj.liao@mediatek.com> - 2016-01-08 04:40 +0100
  [PATCH v2 4/4] soc: mediatek: Add MT2701 scpsys driver James Liao <jamesjj.liao@mediatek.com> - 2016-01-08 04:40 +0100

csiph-web