@@ -26,6 +26,7 @@ properties:
enum:
- fsl,imx7d-gpc
- fsl,imx8mq-gpc
+ - fsl,imx8mm-pgc
reg:
maxItems: 1
@@ -52,8 +53,10 @@ properties:
reg:
description: |
Power domain index. Valid values are defined in
- include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc and
- include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc
+ include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc,
+ include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc and
+ include/dt-bindings/power/imx8mm-power.h for fsl,imx8mm-gpc
+
maxItems: 1
clocks:
new file mode 100644
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
+/*
+ * Copyright (C) 2021 Adrien Grassein <adrien.grassein@gmail.com>
+ */
+
+#ifndef __DT_BINDINGS_IMX8MM_POWER_H__
+#define __DT_BINDINGS_IMX8MM_POWER_H__
+
+#define IMX8MM_POWER_DOMAIN_HSIOMIX 0
+#define IMX8MM_POWER_DOMAIN_PCIE1 1
+#define IMX8MM_POWER_DOMAIN_USB_OTG1 2
+#define IMX8MM_POWER_DOMAIN_USB_OTG2 3
+#define IMX8MM_POWER_DOMAIN_GPU 4
+#define IMX8MM_POWER_DOMAIN_VPU 5
+#define IMX8MM_POWER_DOMAIN_VPU_G1 6
+#define IMX8MM_POWER_DOMAIN_VPU_G2 7
+#define IMX8MM_POWER_DOMAIN_VPU_H1 8
+#define IMX8MM_POWER_DOMAIN_DISPLAY 9
+#define IMX8MM_POWER_DOMAIN_MIPI 10
+
+#endif
Update documentation for i.MX8MM. Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com> --- .../bindings/power/fsl,imx-gpcv2.yaml | 7 +++++-- include/dt-bindings/power/imx8mm-power.h | 21 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 include/dt-bindings/power/imx8mm-power.h