Skip to content

Commit 328f40f

Browse files
ngphibanghenrikbrixandersen
authored andcommitted
dts-bindings: video: mipicsi2rx: Use video interfaces bindings
Switch to use the new video interfaces bindings Signed-off-by: Phi Bang Nguyen <[email protected]>
1 parent 30604a8 commit 328f40f

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

boards/shields/nxp_btb44_ov5640/nxp_btb44_ov5640.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
reg = <1>;
3838

3939
mipi_csi2rx_ep_in: endpoint {
40-
remote-endpoint = <&ov5640_ep_out>;
40+
remote-endpoint-label = "ov5640_ep_out";
4141
};
4242
};
4343
};

dts/arm/nxp/nxp_rt11xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@
909909
port@0 {
910910
reg = <0>;
911911
mipi_csi2rx_ep_out: endpoint {
912-
remote-endpoint = <&csi_ep_in>;
912+
remote-endpoint-label = "csi_ep_in";
913913
};
914914
};
915915

dts/bindings/video/nxp,mipi-csi2rx.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ properties:
1515
required: true
1616
type: phandle
1717
description: the connected camera sensor
18+
19+
child-binding:
20+
child-binding:
21+
child-binding:
22+
include: video-interfaces.yaml

tests/drivers/build_all/video/mimxrt1170_evk_mimxrt1176_cm7.overlay

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@
6161
reg = <0x33334444 0x200>;
6262
status = "okay";
6363
sensor = <&test_i2c_ov5640>;
64+
65+
ports {
66+
#address-cells = <1>;
67+
#size-cells = <0>;
68+
69+
port@1 {
70+
reg = <1>;
71+
72+
mipi_csi2rx_ep_in: endpoint {
73+
remote-endpoint-label = "ov5640_ep_out";
74+
data-lanes = <1 2>;
75+
};
76+
};
77+
};
6478
};
6579
};
6680
};

0 commit comments

Comments
 (0)