All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Bee <knaerzche@gmail.com>
To: Ezequiel Garcia <ezequiel@collabora.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Lee Jones <lee.jones@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
	devicetree@vger.kernel.org
Cc: Alex Bee <knaerzche@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 10/12] ARM: dts: rockchip: add vpu node for RK3036
Date: Thu, 27 May 2021 17:44:53 +0200	[thread overview]
Message-ID: <20210527154455.358869-11-knaerzche@gmail.com> (raw)
In-Reply-To: <20210527154455.358869-1-knaerzche@gmail.com>

Add the vpu node and the node for the attached iommu for RK3036.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
---

 Changes in v2:
 - added missing patch

 arch/arm/boot/dts/rk3036.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
index 76ab663eccf7..f01529515ace 100644
--- a/arch/arm/boot/dts/rk3036.dtsi
+++ b/arch/arm/boot/dts/rk3036.dtsi
@@ -117,6 +117,27 @@ gpu: gpu@10090000 {
 		status = "disabled";
 	};
 
+	vpu: video-codec@10108000 {
+		compatible = "rockchip,rk3036-vpu";
+		reg = <0x10108000 0x800>;
+		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "vdpu";
+		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
+		clock-names = "aclk", "hclk";
+		iommus = <&vpu_mmu>;
+		power-domains = <&power RK3036_PD_VPU>;
+	};
+
+	vpu_mmu: iommu@10108800 {
+		compatible = "rockchip,iommu";
+		reg = <0x10108800 0x100>;
+		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
+		clock-names = "aclk", "iface";
+		power-domains = <&power RK3036_PD_VPU>;
+		#iommu-cells = <0>;
+	};
+
 	vop: vop@10118000 {
 		compatible = "rockchip,rk3036-vop";
 		reg = <0x10118000 0x19c>;
-- 
2.27.0


WARNING: multiple messages have this Message-ID (diff)
From: Alex Bee <knaerzche@gmail.com>
To: Ezequiel Garcia <ezequiel@collabora.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Lee Jones <lee.jones@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
	devicetree@vger.kernel.org
Cc: Alex Bee <knaerzche@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 10/12] ARM: dts: rockchip: add vpu node for RK3036
Date: Thu, 27 May 2021 17:44:53 +0200	[thread overview]
Message-ID: <20210527154455.358869-11-knaerzche@gmail.com> (raw)
In-Reply-To: <20210527154455.358869-1-knaerzche@gmail.com>

Add the vpu node and the node for the attached iommu for RK3036.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
---

 Changes in v2:
 - added missing patch

 arch/arm/boot/dts/rk3036.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
index 76ab663eccf7..f01529515ace 100644
--- a/arch/arm/boot/dts/rk3036.dtsi
+++ b/arch/arm/boot/dts/rk3036.dtsi
@@ -117,6 +117,27 @@ gpu: gpu@10090000 {
 		status = "disabled";
 	};
 
+	vpu: video-codec@10108000 {
+		compatible = "rockchip,rk3036-vpu";
+		reg = <0x10108000 0x800>;
+		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "vdpu";
+		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
+		clock-names = "aclk", "hclk";
+		iommus = <&vpu_mmu>;
+		power-domains = <&power RK3036_PD_VPU>;
+	};
+
+	vpu_mmu: iommu@10108800 {
+		compatible = "rockchip,iommu";
+		reg = <0x10108800 0x100>;
+		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
+		clock-names = "aclk", "iface";
+		power-domains = <&power RK3036_PD_VPU>;
+		#iommu-cells = <0>;
+	};
+
 	vop: vop@10118000 {
 		compatible = "rockchip,rk3036-vop";
 		reg = <0x10118000 0x19c>;
-- 
2.27.0


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

WARNING: multiple messages have this Message-ID (diff)
From: Alex Bee <knaerzche@gmail.com>
To: Ezequiel Garcia <ezequiel@collabora.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Lee Jones <lee.jones@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
	devicetree@vger.kernel.org
Cc: Alex Bee <knaerzche@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 10/12] ARM: dts: rockchip: add vpu node for RK3036
Date: Thu, 27 May 2021 17:44:53 +0200	[thread overview]
Message-ID: <20210527154455.358869-11-knaerzche@gmail.com> (raw)
In-Reply-To: <20210527154455.358869-1-knaerzche@gmail.com>

Add the vpu node and the node for the attached iommu for RK3036.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
---

 Changes in v2:
 - added missing patch

 arch/arm/boot/dts/rk3036.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
index 76ab663eccf7..f01529515ace 100644
--- a/arch/arm/boot/dts/rk3036.dtsi
+++ b/arch/arm/boot/dts/rk3036.dtsi
@@ -117,6 +117,27 @@ gpu: gpu@10090000 {
 		status = "disabled";
 	};
 
+	vpu: video-codec@10108000 {
+		compatible = "rockchip,rk3036-vpu";
+		reg = <0x10108000 0x800>;
+		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "vdpu";
+		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
+		clock-names = "aclk", "hclk";
+		iommus = <&vpu_mmu>;
+		power-domains = <&power RK3036_PD_VPU>;
+	};
+
+	vpu_mmu: iommu@10108800 {
+		compatible = "rockchip,iommu";
+		reg = <0x10108800 0x100>;
+		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
+		clock-names = "aclk", "iface";
+		power-domains = <&power RK3036_PD_VPU>;
+		#iommu-cells = <0>;
+	};
+
 	vop: vop@10118000 {
 		compatible = "rockchip,rk3036-vop";
 		reg = <0x10118000 0x19c>;
-- 
2.27.0


_______________________________________________
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-27 15:46 UTC|newest]

Thread overview: 202+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 15:22 [PATCH 00/10] Add support for older Rockchip SoCs to V4L2 hantro and rkvdec drivers Alex Bee
2021-05-25 15:22 ` Alex Bee
2021-05-25 15:22 ` Alex Bee
2021-05-25 15:22 ` [PATCH 01/10] ARM: dts: rockchip: add power controller for RK322x Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22 ` [PATCH 02/10] ARM: dts: rockchip: add power controller for RK3036 Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22 ` [PATCH 03/10] dt-bindings: mfd: syscon: add Rockchip RK3036/RK3228 qos compatibles Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:26   ` Heiko Stübner
2021-05-25 15:26     ` Heiko Stübner
2021-05-25 15:26     ` Heiko Stübner
2021-05-25 15:22 ` [PATCH 04/10] media: hantro: add support for Rockchip RK3066 Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 22:49   ` Heiko Stübner
2021-05-25 22:49     ` Heiko Stübner
2021-05-25 22:49     ` Heiko Stübner
2021-05-26 10:32   ` Ezequiel Garcia
2021-05-26 10:32     ` Ezequiel Garcia
2021-05-26 10:32     ` Ezequiel Garcia
2021-05-26 10:32     ` Ezequiel Garcia
2021-05-26 23:22     ` Alex Bee
2021-05-26 23:22       ` Alex Bee
2021-05-26 23:22       ` Alex Bee
2021-05-27  1:38       ` Ezequiel Garcia
2021-05-27  1:38         ` Ezequiel Garcia
2021-05-27  1:38         ` Ezequiel Garcia
2021-05-27  1:38         ` Ezequiel Garcia
2021-05-25 15:22 ` [PATCH 05/10] media: hantro: add support for Rockchip RK3036 Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-26 10:28   ` Ezequiel Garcia
2021-05-26 10:28     ` Ezequiel Garcia
2021-05-26 10:28     ` Ezequiel Garcia
2021-05-26 10:28     ` Ezequiel Garcia
2021-05-26 23:27     ` Alex Bee
2021-05-26 23:27       ` Alex Bee
2021-05-26 23:27       ` Alex Bee
2021-05-26 23:58       ` Heiko Stübner
2021-05-26 23:58         ` Heiko Stübner
2021-05-26 23:58         ` Heiko Stübner
2021-05-27  1:27         ` Ezequiel Garcia
2021-05-27  1:27           ` Ezequiel Garcia
2021-05-27  1:27           ` Ezequiel Garcia
2021-05-27  1:27           ` Ezequiel Garcia
2021-05-27 20:11           ` Alex Bee
2021-05-27 20:11             ` Alex Bee
2021-05-27 20:11             ` Alex Bee
2021-05-25 15:22 ` [PATCH 06/10] ARM: dts: rockchip: add vpu nodes for RK3066 and RK3188 Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22 ` [PATCH 07/10] ARM: dts: rockchip: add vpu node for RK322x Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 23:05   ` Heiko Stübner
2021-05-25 23:05     ` Heiko Stübner
2021-05-25 23:05     ` Heiko Stübner
2021-05-25 15:22 ` [PATCH 08/10] media: dt-bindings: media: rockchip-vpu: add new compatibles Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-26 12:56   ` Rob Herring
2021-05-26 12:56     ` Rob Herring
2021-05-26 12:56     ` Rob Herring
2021-05-25 15:22 ` [PATCH 09/10] ARM: dts: rockchip: add vdec node for RK322x Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22 ` [PATCH 10/10] media: dt-bindings: media: rockchip-vdec: add RK3228 compatible Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-25 15:22   ` Alex Bee
2021-05-26 12:56   ` Rob Herring
2021-05-26 12:56     ` Rob Herring
2021-05-26 12:56     ` Rob Herring
2021-05-25 23:01 ` [PATCH 00/10] Add support for older Rockchip SoCs to V4L2 hantro and rkvdec drivers Heiko Stübner
2021-05-25 23:01   ` Heiko Stübner
2021-05-25 23:01   ` Heiko Stübner
2021-05-26 23:38   ` Alex Bee
2021-05-26 23:38     ` Alex Bee
2021-05-26 23:38     ` Alex Bee
2021-05-27 15:44 ` [PATCH v2 00/12] " Alex Bee
2021-05-27 15:44   ` Alex Bee
2021-05-27 15:44   ` Alex Bee
2021-05-27 15:44   ` [PATCH v2 01/12] dt-bindings: mfd: syscon: add Rockchip RK3036/RK3228 qos compatibles Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-01 15:46     ` Lee Jones
2021-06-01 15:46       ` Lee Jones
2021-06-01 15:46       ` Lee Jones
2021-07-11 11:55       ` Heiko Stübner
2021-07-11 11:55         ` Heiko Stübner
2021-07-11 11:55         ` Heiko Stübner
2021-07-15 10:09         ` Alex Bee
2021-07-15 10:09           ` Alex Bee
2021-07-15 10:09           ` Alex Bee
2021-07-15 11:07           ` Lee Jones
2021-07-15 11:07             ` Lee Jones
2021-07-15 11:07             ` Lee Jones
2021-06-04 20:24     ` Rob Herring
2021-06-04 20:24       ` Rob Herring
2021-06-04 20:24       ` Rob Herring
2021-05-27 15:44   ` [PATCH v2 02/12] dt-bindings: media: rockchip-vpu: add new compatibles Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-04 20:44     ` Rob Herring
2021-06-04 20:44       ` Rob Herring
2021-06-04 20:44       ` Rob Herring
2021-05-27 15:44   ` [PATCH v2 03/12] dt-bindings: media: rockchip-vdec: add RK3228 compatible Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-04 20:45     ` Rob Herring
2021-06-04 20:45       ` Rob Herring
2021-06-04 20:45       ` Rob Herring
2021-05-27 15:44   ` [PATCH v2 04/12] media: hantro: reorder variants Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-11 15:26     ` Ezequiel Garcia
2021-06-11 15:26       ` Ezequiel Garcia
2021-06-11 15:26       ` Ezequiel Garcia
2021-05-27 15:44   ` [PATCH v2 05/12] media: hantro: merge Rockchip platform drivers Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-11 15:36     ` Ezequiel Garcia
2021-06-11 15:36       ` Ezequiel Garcia
2021-06-11 15:36       ` Ezequiel Garcia
2021-06-14 17:02       ` Alex Bee
2021-06-14 17:02         ` Alex Bee
2021-06-14 17:02         ` Alex Bee
2021-05-27 15:44   ` [PATCH v2 06/12] media: hantro: add support for Rockchip RK3066 Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-11 15:50     ` Ezequiel Garcia
2021-06-11 15:50       ` Ezequiel Garcia
2021-06-11 15:50       ` Ezequiel Garcia
2021-06-14 16:46       ` Alex Bee
2021-06-14 16:46         ` Alex Bee
2021-06-14 16:46         ` Alex Bee
2021-05-27 15:44   ` [PATCH v2 07/12] media: hantro: add support for Rockchip RK3036 Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-11 16:02     ` Ezequiel Garcia
2021-06-11 16:02       ` Ezequiel Garcia
2021-06-11 16:02       ` Ezequiel Garcia
2021-05-27 15:44   ` [PATCH v2 08/12] ARM: dts: rockchip: add power controller for RK3036 Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-11 15:58     ` Ezequiel Garcia
2021-06-11 15:58       ` Ezequiel Garcia
2021-06-11 15:58       ` Ezequiel Garcia
2021-06-13 16:22       ` Heiko Stuebner
2021-06-13 16:22         ` Heiko Stuebner
2021-06-13 16:22         ` Heiko Stuebner
2021-06-21 11:58         ` Alex Bee
2021-06-21 11:58           ` Alex Bee
2021-06-21 11:58           ` Alex Bee
2021-05-27 15:44   ` [PATCH v2 09/12] ARM: dts: rockchip: add power controller for RK322x Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44   ` Alex Bee [this message]
2021-05-27 15:44     ` [PATCH v2 10/12] ARM: dts: rockchip: add vpu node for RK3036 Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44   ` [PATCH v2 11/12] ARM: dts: rockchip: add vpu nodes for RK3066 and RK3188 Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44   ` [PATCH v2 12/12] ARM: dts: rockchip: add vpu and vdec node for RK322x Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-05-27 15:44     ` Alex Bee
2021-06-13 16:27   ` (subset) [PATCH v2 00/12] Add support for older Rockchip SoCs to V4L2 hantro and rkvdec drivers Heiko Stuebner
2021-06-13 16:27     ` Heiko Stuebner
2021-06-13 16:27     ` Heiko Stuebner
2021-06-14 11:09   ` Hans Verkuil
2021-06-14 11:09     ` Hans Verkuil
2021-06-14 11:09     ` Hans Verkuil
2021-06-14 11:13     ` Hans Verkuil
2021-06-14 11:13       ` Hans Verkuil
2021-06-14 11:13       ` Hans Verkuil
2021-06-21 23:04   ` (subset) " Heiko Stuebner
2021-06-21 23:04     ` Heiko Stuebner
2021-06-21 23:04     ` Heiko Stuebner
2021-06-14 21:32 ` [PATCH v3 0/6] " Alex Bee
2021-06-14 21:32   ` Alex Bee
2021-06-14 21:32   ` Alex Bee
2021-06-14 21:32   ` [PATCH v3 1/6] dt-bindings: media: rockchip-vpu: add new compatibles Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32   ` [PATCH v3 2/6] dt-bindings: media: rockchip-vdec: add RK3228 compatible Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32   ` [PATCH v3 3/6] media: hantro: reorder variants Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32   ` [PATCH v3 4/6] media: hantro: merge Rockchip platform drivers Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32   ` [PATCH v3 5/6] media: hantro: add support for Rockchip RK3066 Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32   ` [PATCH v3 6/6] media: hantro: add support for Rockchip RK3036 Alex Bee
2021-06-14 21:32     ` Alex Bee
2021-06-14 21:32     ` Alex Bee

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=20210527154455.358869-11-knaerzche@gmail.com \
    --to=knaerzche@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ezequiel@collabora.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=heiko@sntech.de \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mchehab@kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@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.