aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/power/mt6797-power.h
diff options
context:
space:
mode:
authorMars Cheng <mars.cheng@mediatek.com>2017-04-08 09:20:34 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2017-05-15 10:47:25 +0200
commit36c310f55bdd447cbac64bcb81a97c233170c9cb (patch)
treedf9303d9763b7221b12af7f75e9de1b4381aae25 /include/dt-bindings/power/mt6797-power.h
parentsoc: mediatek: add vdec item for scpsys (diff)
downloadlinux-dev-36c310f55bdd447cbac64bcb81a97c233170c9cb.tar.xz
linux-dev-36c310f55bdd447cbac64bcb81a97c233170c9cb.zip
soc: mediatek: add MT6797 scpsys support
This adds scpsys support for MT6797 Signed-off-by: Mars Cheng <mars.cheng@mediatek.com> Signed-off-by: Kevin-CW Chen <kevin-cw.chen@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'include/dt-bindings/power/mt6797-power.h')
-rw-r--r--include/dt-bindings/power/mt6797-power.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/dt-bindings/power/mt6797-power.h b/include/dt-bindings/power/mt6797-power.h
new file mode 100644
index 000000000000..a60c1d81cf75
--- /dev/null
+++ b/include/dt-bindings/power/mt6797-power.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2017 MediaTek Inc.
+ * Author: Mars.C <mars.cheng@mediatek.com>
+ *
+ * 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,
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef _DT_BINDINGS_POWER_MT6797_POWER_H
+#define _DT_BINDINGS_POWER_MT6797_POWER_H
+
+#define MT6797_POWER_DOMAIN_VDEC 0
+#define MT6797_POWER_DOMAIN_VENC 1
+#define MT6797_POWER_DOMAIN_ISP 2
+#define MT6797_POWER_DOMAIN_MM 3
+#define MT6797_POWER_DOMAIN_AUDIO 4
+#define MT6797_POWER_DOMAIN_MFG_ASYNC 5
+#define MT6797_POWER_DOMAIN_MFG 6
+#define MT6797_POWER_DOMAIN_MFG_CORE0 7
+#define MT6797_POWER_DOMAIN_MFG_CORE1 8
+#define MT6797_POWER_DOMAIN_MFG_CORE2 9
+#define MT6797_POWER_DOMAIN_MFG_CORE3 10
+#define MT6797_POWER_DOMAIN_MJC 11
+
+#endif /* _DT_BINDINGS_POWER_MT6797_POWER_H */