Skip to contentSkip to conversation

arm64: dts: rockchip: Add CSI-2 bus type to ROCK 5B+ camera overlays

PATCH Applied Fabio Estevam 2 participants 2 messages Jul 27 – Jul 29

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: Add CSI-2 bus type to ROCK 5B+ camera overlays

The Rockchip RK3568 MIPI CSI-2 receiver binding requires the bus-type property in its input endpoint.

Specify that the Radxa CAM4K modules connected to CSI2 and CSI4 use a MIPI CSI-2 D-PHY bus. This fixes the following dtbs_check warning:

endpoint: 'bus-type' is a required property

---
 .../boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso | 2 ++
 .../boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso | 2 ++
 2 files changed, 4 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam0.dtso +2 -0
index ee9ecf68a886..5c7fb960b099 100644
@@ -9,6 +9,7 @@
 
 #include <dt-bindings/clock/rockchip,rk3588-cru.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/media/video-interfaces.h>
 #include <dt-bindings/pinctrl/rockchip.h>
 
 &{/} {
@@ -80,6 +81,7 @@ &csi2 {
 
 &csi2_in {
 	csi2_input: endpoint {
+		bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
 		data-lanes = <1 2 3 4>;
 		link-frequencies = /bits/ 64 <445500000>;
 		remote-endpoint = <&imx415_output>;
arch/arm64/boot/dts/rockchip/rk3588-rock-5b-plus-radxa-cam4k-cam1.dtso +2 -0
index 8a4cf3fdbf8e..1ee9036b9095 100644
@@ -9,6 +9,7 @@
 
 #include <dt-bindings/clock/rockchip,rk3588-cru.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/media/video-interfaces.h>
 #include <dt-bindings/pinctrl/rockchip.h>
 
 &{/} {
@@ -80,6 +81,7 @@ &csi4 {
 
 &csi4_in {
 	csi4_input: endpoint {
+		bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
 		data-lanes = <1 2 3 4>;
 		link-frequencies = /bits/ 64 <445500000>;
 		remote-endpoint = <&cam1_imx415_output>;
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 9 lines · Fabio Estevam

The Rockchip RK3568 MIPI CSI-2 receiver binding requires the bus-type property in its input endpoint.

Specify that the Radxa CAM4K modules connected to CSI2 and CSI4 use a MIPI CSI-2 D-PHY bus. This fixes the following dtbs_check warning:

endpoint: 'bus-type' is a required property

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: Add CSI-2 bus type to ROCK 5B+ camera overlays

      commit: fe67191030089b2653837489328ee2d18acaa149

Best regards,

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