Skip to contentSkip to conversation

arm64: dts: rockchip: add missing interrupt-names for rk356x vdpu

PATCH Applied Heiko Stuebner 2 participants 5 messages Feb 27, 2024 – Feb 28, 2024

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH 1/2 arm64: dts: rockchip: add missing interrupt-names for rk356x vdpu

The video-codec@fdea0400 was missing the interrupt-names property that is part of the binding. Add it.

Fixes 944be6fba401 ("arm64: dts: rockchip: Add VPU support for RK3568/RK3566")
Cc Piotr Oniszczuk <[email protected]>
---
 arch/arm64/boot/dts/rockchip/rk356x.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk356x.dtsi +1 -0
index c19c0f1b3778f..6a9bfb0550c04 100644
@@ -597,6 +597,7 @@ vpu: video-codec@fdea0400 {
 		compatible = "rockchip,rk3568-vpu";
 		reg = <0x0 0xfdea0000 0x0 0x800>;
 		interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "vdpu";
 		clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
 		clock-names = "aclk", "hclk";
 		iommus = <&vdpu_mmu>;
Signature · 1 line
2.39.2
author maintainer
#1 lore raw

PATCH 2/2 arm64: dts: rockchip: fix reset-names for rk356x i2s2 controller

The dtbscheck reports a warning for a wrong reset-names property for the i2s2 controller on rk356x socs.

The other controllers on the soc provide tx and rx directions and hence two resets and separate clocks for each direction, while i2s2 only provides one reset. This was so far named just "m" which isn't part of the binding.

The clock-names the controller uses all end in "tx", so use the matching "tx-m" reset-name for the i2s controller.

Fixes 755f37010f3e ("arm64: dts: rockchip: RK356x: Add I2S2 device node")
---
 arch/arm64/boot/dts/rockchip/rk356x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk356x.dtsi +1 -1
index 6a9bfb0550c04..92f96ec01385d 100644
@@ -1124,7 +1124,7 @@ i2s2_2ch: i2s@fe420000 {
 		dmas = <&dmac1 4>, <&dmac1 5>;
 		dma-names = "tx", "rx";
 		resets = <&cru SRST_M_I2S2_2CH>;
-		reset-names = "m";
+		reset-names = "tx-m";
 		rockchip,grf = <&grf>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&i2s2m0_sclktx
Signature · 1 line
2.39.2
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] arm64: dts: rockchip: fix reset-names for rk356x i2s2 controller

Quoted 8 lines · Heiko Stuebner

The dtbscheck reports a warning for a wrong reset-names property for the i2s2 controller on rk356x socs.

The other controllers on the soc provide tx and rx directions and hence two resets and separate clocks for each direction, while i2s2 only provides one reset. This was so far named just "m" which isn't part of the binding.

Quoted 5 lines

The clock-names the controller uses all end in "tx", so use the matching "tx-m" reset-name for the i2s controller.

Fixes 755f37010f3e ("arm64: dts: rockchip: RK356x: Add I2S2 device node")

This fixes the other one of the two warnings I get for a newly created dts using rk356x.dtsi that doesn't mention &i2s2_2ch at all.

Thanks
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Acked-by on v1 1/2
#3 lore raw
In reply to Heiko Stuebner
Quoted 6 lines · Heiko Stuebner

The video-codec@fdea0400 was missing the interrupt-names property that is part of the binding. Add it.

Fixes 944be6fba401 ("arm64: dts: rockchip: Add VPU support for RK3568/RK3566")
Cc Piotr Oniszczuk <[email protected]>

This fixes one of the two warnings I get for a newly created dts using rk356x.dtsi that doesn't mention &vpu at all.

Thanks
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
author maintainer Applied
#4 lore raw
In reply to Heiko Stuebner
Quoted 4 lines · Heiko Stuebner

The video-codec@fdea0400 was missing the interrupt-names property that is part of the binding. Add it.

Applied, thanks!

[1/2] arm64: dts: rockchip: add missing interrupt-names for rk356x vdpu

      commit: d1c44d9afa6f89aa0e10a191f30868eb12cd719f
[2/2] arm64: dts: rockchip: fix reset-names for rk356x i2s2 controller
      commit: 0fc19ab75acde78558bd0f6fe3e5f63cf8ee88b0

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>