Skip to content

Commit c357e22

Browse files
Niklas Söderlundgeertu
authored andcommitted
arm64: dts: renesas: white-hawk-csi-dsi: Define CSI-2 data line orders
The second CSI-2 C-PHY data-lanes have different line orders (BCA) than the two other data-lanes (ABC) for both connected CSI-2 receivers, describe this in the device tree. This has worked in the past as the R-Car CSI-2 driver did not have documentation for the line order configuration, hence magic values were written to the registers for this specific setup. Now the registers involved are documented, the hardware description as well as the driver needs to be updated. Note that the numerical values will be replaced by symbolic values later. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/20250106104458.3596109-1-niklas.soderlund+renesas@ragnatech.se Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent 978a787 commit c357e22

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/boot/dts/renesas/white-hawk-csi-dsi.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>;
2222
clock-lanes = <0>;
2323
data-lanes = <1 2 3>;
24+
line-orders = <0 3 0>;
2425
remote-endpoint = <&max96712_out0>;
2526
};
2627
};
@@ -41,6 +42,7 @@
4142
bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>;
4243
clock-lanes = <0>;
4344
data-lanes = <1 2 3>;
45+
line-orders = <0 3 0>;
4446
remote-endpoint = <&max96712_out1>;
4547
};
4648
};

0 commit comments

Comments
 (0)