[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <817821e3-bc51-8037-b9b9-e429c5eeb280@gmail.com>
Date: Wed, 26 Feb 2020 13:24:53 +0100
From: Johan Jonker <jbx6244@...il.com>
To: ezequiel@...labora.com
Cc: boris.brezillon@...labora.com, devicetree@...r.kernel.org,
heiko@...ech.de, hverkuil@...all.nl, jonas@...boo.se,
kernel@...labora.com, laurent.pinchart@...asonboard.com,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-rockchip@...ts.infradead.org, nicolas@...fresne.ca,
paul.kocialkowski@...tlin.com, robh+dt@...nel.org,
sakari.ailus@....fi, tfiga@...omium.org
Subject: Re: [PATCH v6 6/6] arm64: dts: rockchip: rk3399: Define the rockchip
Video Decoder node
Hi Boris,
Dtsi nodes are sort on address.
The vdec node is now inserted between:
vdec_mmu: iommu @ff660480
vdec : video-codec @ff660000
iep_mmu : iommu @ff670800
This should be:
vpu_mmu : iommu @ff650800
vdec : video-codec @ff660000
vdec_mmu: iommu @ff660480
> From: Boris Brezillon <boris.brezillon at collabora.com>
>
> RK3399 has a Video decoder, define the node in the dtsi. We also add
> the missing power-domain in mmu node and enable the block.
>
> Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
> Signed-off-by: Ezequiel Garcia <ezequiel at collabora.com>
> ---
> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> index 33cc21fcf4c1..a07f857df12f 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> @@ -1285,8 +1285,20 @@ vdec_mmu: iommu at ff660480 {
> interrupt-names = "vdec_mmu";
> clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>;
> clock-names = "aclk", "iface";
> + power-domains = <&power RK3399_PD_VDU>;
> #iommu-cells = <0>;
> - status = "disabled";
> + };
> +
> + vdec: video-codec at ff660000 {
> + compatible = "rockchip,rk3399-vdec";
> + reg = <0x0 0xff660000 0x0 0x400>;
> + interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
> + interrupt-names = "vdpu";
> + clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,
> + <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
> + clock-names = "axi", "ahb", "cabac", "core";
> + power-domains = <&power RK3399_PD_VDU>;
> + iommus = <&vdec_mmu>;
> };
>
> iep_mmu: iommu at ff670800 {
> --
> 2.25.0
Powered by blists - more mailing lists