mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marcel Ziswiler <marcel@ziswiler.com>
To: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, linux-imx@nxp.com,
	linux-arm-kernel@lists.infradead.org,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Fabio Estevam <festevam@gmail.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>
Subject: [PATCH v4 17/17] arm64: dts: freescale: apalis-imx8: enable vpu
Date: Wed, 18 Jan 2023 08:26:55 +0100	[thread overview]
Message-ID: <20230118072656.18845-18-marcel@ziswiler.com> (raw)
In-Reply-To: <20230118072656.18845-1-marcel@ziswiler.com>

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Enable Video Processing Unit (VPU) decoder and encoder functionality.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

---

Changes in v4:
- New patch enabling VPU functionality.

 .../boot/dts/freescale/imx8-apalis-v1.1.dtsi  | 24 ++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
index 6217e0a48f96..37c5fa20f0a4 100644
--- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
@@ -781,7 +781,29 @@ &usdhc3 {
 	pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_sd1_cd>;
 };
 
-/* TODO: Video Processing Unit (driver upstream but device tree part missing) */
+/* Video Processing Unit */
+&vpu {
+	compatible = "nxp,imx8qm-vpu";
+	status = "okay";
+};
+
+&vpu_core0 {
+	memory-region = <&decoder_boot>, <&decoder_rpc>;
+	reg = <0x2d080000 0x10000>;
+	status = "okay";
+};
+
+&vpu_core1 {
+	memory-region = <&encoder1_boot>, <&encoder1_rpc>;
+	reg = <0x2d090000 0x10000>;
+	status = "okay";
+};
+
+&vpu_core2 {
+	memory-region = <&encoder2_boot>, <&encoder2_rpc>;
+	reg = <0x2d0a0000 0x10000>;
+	status = "okay";
+};
 
 &iomuxc {
 	pinctrl-names = "default";
-- 
2.35.1


      parent reply	other threads:[~2023-01-18  7:58 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18  7:26 [PATCH v4 00/17] arm64: dts: freescale: prepare and add apalis imx8 support Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 01/17] arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3 Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 02/17] arm64: dts: imx8-ss-dma: add io-channel-cells to adc nodes Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 03/17] arm64: dts: freescale: imx8-ss-dma: set lpspi0 max frequency to 60mhz Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 04/17] firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 05/17] arm64: dts: imx8qm: add pwm_lvds0/1 support Marcel Ziswiler
2023-01-18  8:47   ` Liu Ying
2023-01-18 13:31     ` Marcel Ziswiler
2023-01-19  1:23       ` Liu Ying
2023-01-18  7:26 ` [PATCH v4 06/17] arm64: dts: imx8qxp: add flexcan in adma Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 07/17] arch: arm64: imx8qm: add can node in devicetree Marcel Ziswiler
2023-01-18 13:58   ` Krzysztof Kozlowski
2023-01-18 14:32     ` Marcel Ziswiler
2023-01-18 14:35       ` Krzysztof Kozlowski
2023-01-18  7:26 ` [PATCH v4 08/17] arm64: dts: imx8qm: add vpu decoder and encoder Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 09/17] dt-bindings: arm: fsl: add toradex,apalis-imx8 et al Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 10/17] arm64: dts: freescale: add initial apalis imx8 aka quadmax module support Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 11/17] arm64: dts: freescale: add apalis imx8 aka quadmax carrier board support Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 12/17] arm64: dts: freescale: apalis-imx8: analogue audio comment Marcel Ziswiler
2023-01-18 13:59   ` Krzysztof Kozlowski
2023-01-18 14:33     ` Marcel Ziswiler
2023-01-18 14:36       ` Krzysztof Kozlowski
2023-01-18  7:26 ` [PATCH v4 13/17] arm64: dts: freescale: apalis-imx8: add bkl1_pwm functionality Marcel Ziswiler
2023-01-18 14:00   ` Krzysztof Kozlowski
2023-01-18 14:34     ` Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 14/17] arm64: dts: freescale: apalis-imx8: add flexcan functionality Marcel Ziswiler
2023-01-18 14:01   ` Krzysztof Kozlowski
2023-01-18 14:34     ` Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 15/17] arm64: dts: freescale: apalis-imx8: enable messaging units Marcel Ziswiler
2023-01-18 14:01   ` Krzysztof Kozlowski
2023-01-18 14:35     ` Marcel Ziswiler
2023-01-18  7:26 ` [PATCH v4 16/17] arm64: dts: freescale: apalis-imx8: fix reserved-memory node names Marcel Ziswiler
2023-01-18 14:02   ` Krzysztof Kozlowski
2023-01-18 14:36     ` Marcel Ziswiler
2023-01-18 14:37       ` Krzysztof Kozlowski
2023-01-18 14:42         ` Marcel Ziswiler
2023-01-18  7:26 ` Marcel Ziswiler [this message]

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=20230118072656.18845-18-marcel@ziswiler.com \
    --to=marcel@ziswiler.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel.ziswiler@toradex.com \
    --cc=robh+dt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®