diff mbox series

ARM: dts: sun8i-r40: Add interconnect to video-codec

Message ID 20230911171407.1572030-1-jernej.skrabec@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: sun8i-r40: Add interconnect to video-codec | expand

Commit Message

Jernej Škrabec Sept. 11, 2023, 5:14 p.m. UTC
Video codec needs interconnect, so driver knows that it needs to adjust
DMA addresses.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
---
 arch/arm/boot/dts/allwinner/sun8i-r40.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Chen-Yu Tsai Oct. 12, 2023, 2:53 a.m. UTC | #1
On Mon, Sep 11, 2023 at 10:14 AM Jernej Skrabec
<jernej.skrabec@gmail.com> wrote:
>
> Video codec needs interconnect, so driver knows that it needs to adjust
> DMA addresses.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Jernej Škrabec Oct. 13, 2023, 7:23 p.m. UTC | #2
Dne četrtek, 12. oktober 2023 ob 04:53:04 CEST je Chen-Yu Tsai napisal(a):
> On Mon, Sep 11, 2023 at 10:14 AM Jernej Skrabec
> <jernej.skrabec@gmail.com> wrote:
> >
> > Video codec needs interconnect, so driver knows that it needs to adjust
> > DMA addresses.
> >
> > Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
> 
> Reviewed-by: Chen-Yu Tsai <wens@csie.org>
> 

Thanks!

Applied.

Jernej
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi b/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi
index 4ef26d8f5340..a5b1f1e3900d 100644
--- a/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi
+++ b/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi
@@ -338,6 +338,8 @@  video-codec@1c0e000 {
 			resets = <&ccu RST_BUS_VE>;
 			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
 			allwinner,sram = <&ve_sram 1>;
+			interconnects = <&mbus 4>;
+			interconnect-names = "dma-mem";
 		};
 
 		mmc0: mmc@1c0f000 {