From: Francesco Dolcini <francesco@dolcini.it>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>
Cc: "João Paulo Gonçalves" <joao.goncalves@toradex.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
"Francesco Dolcini" <francesco.dolcini@toradex.com>
Subject: [PATCH v1 07/10] arm64: dts: colibri-imx8x: Add vpu support
Date: Mon, 26 Aug 2024 23:59:19 +0200 [thread overview]
Message-ID: <20240826215922.13225-8-francesco@dolcini.it> (raw)
In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it>
From: João Paulo Gonçalves <joao.goncalves@toradex.com>
Enable VPU on Colibri-iMX8X.
Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
.../boot/dts/freescale/imx8x-colibri.dtsi | 28 ++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index 7c728208f385..782546a35bf9 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -424,6 +424,15 @@ &lsio_pwm2 {
pinctrl-names = "default";
};
+/* VPU Mailboxes */
+&mu_m0 {
+ status="okay";
+};
+
+&mu1_m0 {
+ status="okay";
+};
+
/* TODO MIPI CSI */
/* TODO MIPI DSI with DSI-to-HDMI bridge lt8912 */
@@ -511,7 +520,24 @@ &usdhc2 {
no-1-8-v;
};
-/* TODO VPU Encoder/Decoder */
+&vpu {
+ compatible = "nxp,imx8qxp-vpu";
+ status = "okay";
+};
+
+/* VPU Decoder */
+&vpu_core0 {
+ reg = <0x2d040000 0x10000>;
+ memory-region = <&decoder_boot>, <&decoder_rpc>;
+ status = "okay";
+};
+
+/* VPU Encoder */
+&vpu_core1 {
+ reg = <0x2d050000 0x10000>;
+ memory-region = <&encoder_boot>, <&encoder_rpc>;
+ status = "okay";
+};
&iomuxc {
/* On-module touch pen-down interrupt */
--
2.39.2
next prev parent reply other threads:[~2024-08-26 21:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 21:59 [PATCH v1 00/10] arm64: dts: colibri-imx8x: Various improvements and additions Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 01/10] arm64: dts: colibri-imx8x: Add usb support Francesco Dolcini
2024-08-26 22:14 ` Frank Li
2024-08-26 22:28 ` Francesco Dolcini
2024-08-27 15:23 ` Frank Li
2024-08-26 21:59 ` [PATCH v1 02/10] arm64: dts: colibri-imx8x: Add analog inputs Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 03/10] arm64: dts: colibri-imx8x: Add fxl6408 gpio expander Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 04/10] arm64: dts: colibri-imx8x: Add sound card Francesco Dolcini
2024-09-01 8:54 ` Shawn Guo
2024-08-26 21:59 ` [PATCH v1 05/10] arm64: dts: colibri-imx8x: Add PMIC thermal zone Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 06/10] arm64: dts: colibri-imx8x: Add USB3803 HUB Francesco Dolcini
2024-08-26 21:59 ` Francesco Dolcini [this message]
2024-08-26 21:59 ` [PATCH v1 08/10] arm64: dts: colibri-imx8x: Add adma_pwm Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 09/10] arm64: dts: colibri-imx8x: Add 50mhz clock for eth Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 10/10] arm64: dts: colibri-imx8x: Cleanup comments Francesco Dolcini
2024-08-28 13:11 ` [PATCH v1 00/10] arm64: dts: colibri-imx8x: Various improvements and additions Francesco Dolcini
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=20240826215922.13225-8-francesco@dolcini.it \
--to=francesco@dolcini.it \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=imx@lists.linux.dev \
--cc=joao.goncalves@toradex.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.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.