]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: power: add power-domain header for MediaTek MT8365 SoC
authorJulien Masson <jmasson@baylibre.com>
Mon, 4 Dec 2023 10:48:53 +0000 (11:48 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Dec 2023 15:09:06 +0000 (10:09 -0500)
Add power-domain header for MediaTek MT8365 SoC copied from Linux
source code tag v6.7-rc2.
(commit a1571f1f333c2fced076f0d54ed771d1838d827f)

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
MAINTAINERS
include/dt-bindings/power/mediatek,mt8365-power.h [new file with mode: 0644]

index ec5311c8a29d41e91170859def3695b43fc518d2..3b13f26e76e8e31aaa3265054467de18c9fd98d2 100644 (file)
@@ -412,6 +412,7 @@ F:  drivers/net/mtk_eth.c
 F:     drivers/net/mtk_eth.h
 F:     drivers/reset/reset-mediatek.c
 F:     include/dt-bindings/clock/mediatek,*
+F:     include/dt-bindings/power/mediatek,*
 F:     tools/mtk_image.c
 F:     tools/mtk_image.h
 F:     tools/mtk_nand_headers.c
diff --git a/include/dt-bindings/power/mediatek,mt8365-power.h b/include/dt-bindings/power/mediatek,mt8365-power.h
new file mode 100644 (file)
index 0000000..e6cfd0e
--- /dev/null
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
+/*
+ * Copyright (c) 2022 MediaTek Inc.
+ */
+
+#ifndef _DT_BINDINGS_POWER_MT8365_POWER_H
+#define _DT_BINDINGS_POWER_MT8365_POWER_H
+
+#define MT8365_POWER_DOMAIN_MM         0
+#define MT8365_POWER_DOMAIN_CONN       1
+#define MT8365_POWER_DOMAIN_MFG                2
+#define MT8365_POWER_DOMAIN_AUDIO      3
+#define MT8365_POWER_DOMAIN_CAM                4
+#define MT8365_POWER_DOMAIN_DSP                5
+#define MT8365_POWER_DOMAIN_VDEC       6
+#define MT8365_POWER_DOMAIN_VENC       7
+#define MT8365_POWER_DOMAIN_APU                8
+
+#endif /* _DT_BINDINGS_POWER_MT8365_POWER_H */