[PATCH 1/6] dt-bindings: power: pd-samsung: Add Exynos850 support
Sam Protsenko
semen.protsenko at linaro.org
Wed Mar 8 15:09:26 PST 2023
Document the compatible string for Exynos850 power domains controller.
Also add power domain indices which can be used in "samsung,pd-index"
property to specify a particular power domain in the device tree.
Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
---
.../devicetree/bindings/power/pd-samsung.yaml | 1 +
MAINTAINERS | 1 +
.../dt-bindings/power/samsung,exynos850-power.h | 17 +++++++++++++++++
3 files changed, 19 insertions(+)
create mode 100644 include/dt-bindings/power/samsung,exynos850-power.h
diff --git a/Documentation/devicetree/bindings/power/pd-samsung.yaml b/Documentation/devicetree/bindings/power/pd-samsung.yaml
index 9c2c51133457..a353a705292c 100644
--- a/Documentation/devicetree/bindings/power/pd-samsung.yaml
+++ b/Documentation/devicetree/bindings/power/pd-samsung.yaml
@@ -21,6 +21,7 @@ properties:
enum:
- samsung,exynos4210-pd
- samsung,exynos5433-pd
+ - samsung,exynos850-pd
reg:
maxItems: 1
diff --git a/MAINTAINERS b/MAINTAINERS
index 8d5bc223f305..53e11e48639c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2720,6 +2720,7 @@ F: drivers/pwm/pwm-samsung.c
F: drivers/soc/samsung/
F: drivers/tty/serial/samsung*
F: include/clocksource/samsung_pwm.h
+F: include/dt-bindings/power/samsung,*
F: include/linux/platform_data/*s3c*
F: include/linux/serial_s3c.h
F: include/linux/soc/samsung/
diff --git a/include/dt-bindings/power/samsung,exynos850-power.h b/include/dt-bindings/power/samsung,exynos850-power.h
new file mode 100644
index 000000000000..a8d877b5515a
--- /dev/null
+++ b/include/dt-bindings/power/samsung,exynos850-power.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2023 Linaro Ltd.
+ * Author: Sam Protsenko <semen.protsenko at linaro.org>
+ */
+
+#ifndef _DT_BINDINGS_POWER_EXYNOS850_POWER_H
+#define _DT_BINDINGS_POWER_EXYNOS850_POWER_H
+
+#define EXYNOS850_PD_HSI 0
+#define EXYNOS850_PD_G3D 1
+#define EXYNOS850_PD_MFCMSCL 2
+#define EXYNOS850_PD_DPU 3
+#define EXYNOS850_PD_AUD 4
+#define EXYNOS850_PD_IS 5
+
+#endif /* _DT_BINDINGS_POWER_EXYNOS850_POWER_H */
--
2.39.2
More information about the linux-arm-kernel
mailing list