Re: media: imx: imx7-media-csi: Get rid of superfluous call to imx7_csi_mbus_fm t_to_pix_fmt

Fabio Estevam
2023-07-20T16:05:18Z

Hi Tim,

On Thu, Jul 20, 2023 at 12:52 PM Fabio Estevam <festevam@gmail.com> wrote:

> I tested capture on imx8mm-evk and imx8mn-evk boards on linux-next 20230720.
>
> Both of them are working here, so I was not able to reproduce the
> probe failure you reported.

Does the change below help?

--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtso
@@ -62,25 +62,12 @@ &mipi_csi {
status = "okay";

ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
-
+ port {
imx8mm_mipi_csi_in: endpoint {
remote-endpoint = <&imx219_to_mipi_csi2>;
data-lanes = <1 2>;
};
};
-
- port@1 {
- reg = <1>;
-
- imx8mm_mipi_csi_out: endpoint {
- remote-endpoint = <&csi_in>;
- };
- };
};
};