All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Adam Ford <aford173@gmail.com>
Subject: [RFC 2/4] Documentation: bindings: fsl,imx-blk-ctl: Support imx8mn
Date: Sun,  9 May 2021 09:47:09 -0500	[thread overview]
Message-ID: <20210509144711.2192991-3-aford173@gmail.com> (raw)
In-Reply-To: <20210509144711.2192991-1-aford173@gmail.com>

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@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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-05-09 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 14:47 [RFC 0/4] soc: imx8mn: Add additional power domains Adam Ford
2021-05-09 14:47 ` [RFC 1/4] soc: imx: gpcv2: add support for i.MX8MN " Adam Ford
2021-05-09 14:47 ` Adam Ford [this message]
2021-05-09 14:47 ` [RFC 3/4] soc: imx: Add blk-ctl driver for i.MX8MN Adam Ford
2021-05-09 14:47 ` [RFC 4/4] arm64: dts: imx8mn: Enable blt-ctl power domains Adam Ford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210509144711.2192991-3-aford173@gmail.com \
    --to=aford173@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.