summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2017-12-21 11:49:33 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2017-12-21 11:49:33 +0100
commitfdac5f4d4857d488fcd77308fec95b44196fdfb1 (patch)
tree211e6a964b7a5969389419a5f9de37dce2cc3447 /include
parentsoc: mediatek: add MT2712 scpsys support (diff)
parentdt-bindings: soc: add MT2712 power dt-bindings (diff)
downloadlinux-fdac5f4d4857d488fcd77308fec95b44196fdfb1.tar.xz
linux-fdac5f4d4857d488fcd77308fec95b44196fdfb1.zip
Merge remote-tracking branch 'mainline-kernel/v4.15-next/pdids' into v4.15-next/soc
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/power/mt2712-power.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/dt-bindings/power/mt2712-power.h b/include/dt-bindings/power/mt2712-power.h
new file mode 100644
index 000000000000..92b46d772fae
--- /dev/null
+++ b/include/dt-bindings/power/mt2712-power.h
@@ -0,0 +1,26 @@
+/*
+ * 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_MT2712_POWER_H
+#define _DT_BINDINGS_POWER_MT2712_POWER_H
+
+#define MT2712_POWER_DOMAIN_MM 0
+#define MT2712_POWER_DOMAIN_VDEC 1
+#define MT2712_POWER_DOMAIN_VENC 2
+#define MT2712_POWER_DOMAIN_ISP 3
+#define MT2712_POWER_DOMAIN_AUDIO 4
+#define MT2712_POWER_DOMAIN_USB 5
+#define MT2712_POWER_DOMAIN_USB2 6
+#define MT2712_POWER_DOMAIN_MFG 7
+
+#endif /* _DT_BINDINGS_POWER_MT2712_POWER_H */