summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-08-19 00:27:22 +0300
committerArnd Bergmann <arnd@arndb.de>2017-08-19 00:27:22 +0300
commit9da95d8f5b37a3d6a5ef6142fa16a96cc004109d (patch)
tree2edf0c3b34bbe250be91be687f16f69e7e820bbb /include/dt-bindings/power
parent87a1cb5b2f50f9d7bc952fc19e2a89ba5457a635 (diff)
parent52510ee934885ec846faaa5d029329c9ba0e6ecc (diff)
downloadlinux-9da95d8f5b37a3d6a5ef6142fa16a96cc004109d.tar.xz
Merge tag 'v4.13-next-soc' of https://github.com/mbgg/linux-mediatek into next/drivers
Pull "arm: mediatek: soc updates for v4.14" from Matthias Brugger: - add mt7623a smp support - scpsys: reduce code duplication - scpsys: add mt7622 support - pmic wrapper: make of_device_ids constant * tag 'v4.13-next-soc' of https://github.com/mbgg/linux-mediatek: soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC soc: mediatek: add header files required for MT7622 SCPSYS dt-binding soc: mediatek: reduce code duplication of scpsys_probe across all SoCs dt-bindings: soc: update the binding document for SCPSYS on MediaTek MT7622 SoC soc: mtk-pmic-wrap: make of_device_ids const. ARM: mediatek: add MT7623a smp bringup code
Diffstat (limited to 'include/dt-bindings/power')
-rw-r--r--include/dt-bindings/power/mt7622-power.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/dt-bindings/power/mt7622-power.h b/include/dt-bindings/power/mt7622-power.h
new file mode 100644
index 000000000000..1b639269790c
--- /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 */