Re: [PATCH] arm64: dts: rockchip: support camera module on Haikou Video Demo on PX30 Ringneck

From: Heiko Stuebner
Date: Mon Jun 09 2025 - 05:57:12 EST


Hi Quentin,

Am Freitag, 16. Mai 2025, 19:26:10 Mitteleuropäische Sommerzeit schrieb Quentin Schulz:
> +&isp {
> + status = "okay";
> +
> + ports {
> + port@0 {
> + mipi_in_cam: endpoint@0 {
> + reg = <0>;
> + data-lanes = <1 2>;
> + remote-endpoint = <&cam_out>;
> + };
> + };
> + };
> };

dtc is quite unhappy about this construct ;-) .

with a W=1 build option when compiling DTBs we end up with a number
of complaints about missing and/or unneeded address-cells/size-cells
or "only one endpoint, @0 not necessary".

I think it would make sense to give the isp port a phandle in the
px30.dtsi and reference that one here - similar to how the dsi-panel
works.