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


Groups > linux.kernel > #1700806

[PATCH v2 2/3] soc: mediatek: add header files required for MT7622 SCPSYS dt-binding

From <sean.wang@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/3] soc: mediatek: add header files required for MT7622 SCPSYS dt-binding
Date 2017-08-01 12:10 +0200
Message-ID <u9ChJ-2n4-23@gated-at.bofh.it> (permalink)
References <u9ChI-2n4-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Chen Zhong <chen.zhong@mediatek.com>

Add relevant header files required for dt-bindings of SCPSYS power domain
control for all subsystems found on MT7622 SoC.

Signed-off-by: Chen Zhong <chen.zhong@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
 include/dt-bindings/power/mt7622-power.h | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 include/dt-bindings/power/mt7622-power.h

diff --git a/include/dt-bindings/power/mt7622-power.h b/include/dt-bindings/power/mt7622-power.h
new file mode 100644
index 0000000..1b63926
--- /dev/null
+++ b/include/dt-bindings/power/mt7622-power.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2017 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 http://www.gnu.org/licenses/gpl-2.0.html for more details.
+ */
+
+#ifndef _DT_BINDINGS_POWER_MT7622_POWER_H
+#define _DT_BINDINGS_POWER_MT7622_POWER_H
+
+#define MT7622_POWER_DOMAIN_ETHSYS	0
+#define MT7622_POWER_DOMAIN_HIF0	1
+#define MT7622_POWER_DOMAIN_HIF1	2
+#define MT7622_POWER_DOMAIN_WB		3
+
+#endif /* _DT_BINDINGS_POWER_MT7622_POWER_H */
-- 
2.7.4

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


Thread

[PATCH v2 0/3] add support of SCPSYS power domain for MediaTek MT7622 <sean.wang@mediatek.com> - 2017-08-01 12:10 +0200
  [PATCH v2 2/3] soc: mediatek: add header files required for MT7622 SCPSYS dt-binding <sean.wang@mediatek.com> - 2017-08-01 12:10 +0200
  [PATCH v2 1/3] dt-bindings: soc: update the binding document for SCPSYS on MediaTek MT7622 SoC <sean.wang@mediatek.com> - 2017-08-01 12:10 +0200
    Re: [PATCH v2 1/3] dt-bindings: soc: update the binding document for  SCPSYS on MediaTek MT7622 SoC Rob Herring <robh@kernel.org> - 2017-08-03 18:10 +0200

csiph-web