[RFC 2/4] Documentation: bindings: fsl,imx-blk-ctl: Support imx8mn

Adam Ford aford173 at gmail.com
Sun May 9 07:47:09 PDT 2021


The imx8mn has a similar dispmix to that of the imx8mm, however
there are some additionl power domains that will be needed
for additional peripherals that were not present on the imx8mm,
so it needs a unique blk-ctl.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml
index a66f11acc6b4..da1951bf6d27 100644
--- a/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml
+++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml
@@ -23,6 +23,7 @@ properties:
       - enum:
           - fsl,imx8mm-dispmix-blk-ctl
           - fsl,imx8mm-vpumix-blk-ctl
+          - fsl,imx8mn-dispmix-blk-ctl
       - const: syscon
 
   reg:
diff --git a/include/dt-bindings/power/imx8mn-power.h b/include/dt-bindings/power/imx8mn-power.h
new file mode 100644
index 000000000000..3817fcfcc565
--- /dev/null
+++ b/include/dt-bindings/power/imx8mn-power.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
+/*
+ *  Copyright (C) 2020 Compass Electronics Group, LLC
+ */
+
+#ifndef __DT_BINDINGS_IMX8MN_POWER_H__
+#define __DT_BINDINGS_IMX8MN_POWER_H__
+
+#define IMX8MN_POWER_DOMAIN_HSIOMIX	0
+#define IMX8MN_POWER_DOMAIN_OTG1	1
+#define IMX8MN_POWER_DOMAIN_GPUMIX	2
+#define IMX8MN_POWER_DOMAIN_DISPMIX	3
+#define IMX8MN_POWER_DOMAIN_MIPI	4
+
+#define IMX8MN_BLK_CTL_DISPMIX_ISI		0
+#define IMX8MN_BLK_CTL_DISPMIX_LCDIF		1
+#define IMX8MN_BLK_CTL_DISPMIX_MIPI_DSI	2
+#define IMX8MN_BLK_CTL_DISPMIX_MIPI_CSI	3
+#define IMX8MN_BLK_CTL_DISPMIX_MAX_PD		4
+
+#endif
-- 
2.25.1




More information about the linux-arm-kernel mailing list