lkml.org 
[lkml]   [2019]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH V2 2/7] soc: imx: gpcv2: Update imx8m-power.h to include iMX8M Mini
Date
In preparation for i.MX8M Mini support in the GPC driver, the
include file used by both the device tree and the source needs to
have the appropriate references for it.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
V2: No Change

include/dt-bindings/power/imx8m-power.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/include/dt-bindings/power/imx8m-power.h b/include/dt-bindings/power/imx8m-power.h
index 8a513bd9166e..0054bba744b8 100644
--- a/include/dt-bindings/power/imx8m-power.h
+++ b/include/dt-bindings/power/imx8m-power.h
@@ -18,4 +18,18 @@
#define IMX8M_POWER_DOMAIN_MIPI_CSI2 9
#define IMX8M_POWER_DOMAIN_PCIE2 10

+#define IMX8MM_POWER_DOMAIN_MIPI 0
+#define IMX8MM_POWER_DOMAIN_PCIE 1
+#define IMX8MM_POWER_DOMAIN_USB_OTG1 2
+#define IMX8MM_POWER_DOMAIN_USB_OTG2 3
+#define IMX8MM_POWER_DOMAIN_DDR1 4
+#define IMX8MM_POWER_DOMAIN_GPU2D 5
+#define IMX8MM_POWER_DOMAIN_GPU 6
+#define IMX8MM_POWER_DOMAIN_VPU 7
+#define IMX8MM_POWER_DOMAIN_GPU3D 8
+#define IMX8MM_POWER_DOMAIN_DISP 9
+#define IMX8MM_POWER_VPU_G1 10
+#define IMX8MM_POWER_VPU_G2 11
+#define IMX8MM_POWER_VPU_H1 12
+
#endif
--
2.20.1
\
 
 \ /
  Last update: 2019-12-13 17:07    [W:0.069 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site