]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: power: Add TH1520 SoC power domains
authorMichal Wilczynski <m.wilczynski@samsung.com>
Tue, 11 Mar 2025 17:18:58 +0000 (18:18 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 13 Mar 2025 13:42:02 +0000 (14:42 +0100)
Add power domain ID's for the TH1520 SoC power domains.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Acked-by: Drew Fustini <drew@pdp7.com>
Link: https://lore.kernel.org/r/20250311171900.1549916-4-m.wilczynski@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
MAINTAINERS
include/dt-bindings/power/thead,th1520-power.h [new file with mode: 0644]

index 0ffae8ab864e3202cd7d63f14c66ca2fdc0eaec0..838d2c354aea7e1d6f3f5780fbc2e845585798c1 100644 (file)
@@ -20431,6 +20431,7 @@ F:      drivers/mailbox/mailbox-th1520.c
 F:     drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c
 F:     drivers/pinctrl/pinctrl-th1520.c
 F:     include/dt-bindings/clock/thead,th1520-clk-ap.h
+F:     include/dt-bindings/power/thead,th1520-power.h
 F:     include/linux/firmware/thead/thead,th1520-aon.h
 
 RNBD BLOCK DRIVERS
diff --git a/include/dt-bindings/power/thead,th1520-power.h b/include/dt-bindings/power/thead,th1520-power.h
new file mode 100644 (file)
index 0000000..8395bd1
--- /dev/null
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (C) 2022 Alibaba Group Holding Limited.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Author: Michal Wilczynski <m.wilczynski@samsung.com>
+ */
+
+#ifndef __DT_BINDINGS_POWER_TH1520_H
+#define __DT_BINDINGS_POWER_TH1520_H
+
+#define TH1520_AUDIO_PD                0
+#define TH1520_VDEC_PD         1
+#define TH1520_NPU_PD          2
+#define TH1520_VENC_PD         3
+#define TH1520_GPU_PD          4
+#define TH1520_DSP0_PD         5
+#define TH1520_DSP1_PD         6
+
+#endif