Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ zephyr_udc0: &usbotg_hs {

port {
gc2145_ep_out: endpoint {
remote-endpoint = <&dcmi_ep_in>;
remote-endpoint-label = "dcmi_ep_in";
};
};

Expand All @@ -240,19 +240,13 @@ zephyr_udc0: &usbotg_hs {
pinctrl-names = "default";
status = "okay";

sensor = <&gc2145>;
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pixelclk-active = <0>;
capture-rate = <1>;
dmas = <&dma1 0 38 (STM32_DMA_PERIPH_TO_MEMORY | STM32_DMA_PERIPH_NO_INC |
STM32_DMA_MEM_INC | STM32_DMA_PERIPH_8BITS | STM32_DMA_MEM_32BITS |
STM32_DMA_PRIORITY_HIGH) STM32_DMA_FIFO_1_4>;

port {
dcmi_ep_in: endpoint {
remote-endpoint = <&gc2145_ep_out>;
remote-endpoint-label = "gc2145_ep_out";
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <0>;
};
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
&dcmi_d0_pc6 &dcmi_d1_pc7 &dcmi_d2_pg10 &dcmi_d3_pc9
&dcmi_d4_pc11 &dcmi_d5_pd3 &dcmi_d6_pb8 &dcmi_d7_pb9>;
pinctrl-names = "default";

dmas = <&dma1 0 75 (STM32_DMA_PERIPH_TO_MEMORY | STM32_DMA_PERIPH_NO_INC |
STM32_DMA_MEM_INC | STM32_DMA_PERIPH_8BITS | STM32_DMA_MEM_32BITS |
STM32_DMA_PRIORITY_HIGH) STM32_DMA_FIFO_1_4>;
};

&dma1 {
Expand Down
11 changes: 4 additions & 7 deletions boards/shields/st_b_cams_omv_mb1683/st_b_cams_omv_mb1683.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,14 @@

&st_cam_dvp {
status = "okay";
sensor = <&ov5640>;

bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pixelclk-active = <1>;
capture-rate = <1>;

port {
dcmi_ep_in: endpoint {
remote-endpoint-label = "ov5640_ep_out";
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@
};
};

&zephyr_camera_dvp {
dmas = <&dma1 0 75 (STM32_DMA_PERIPH_TO_MEMORY | STM32_DMA_PERIPH_NO_INC |
STM32_DMA_MEM_INC | STM32_DMA_PERIPH_8BITS | STM32_DMA_MEM_32BITS |
STM32_DMA_PRIORITY_HIGH) STM32_DMA_FIFO_1_4>;
};

&dma1 {
status = "okay";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,22 @@

port {
ov2640_ep_out: endpoint {
remote-endpoint = <&zephyr_camera_dvp_in>;
remote-endpoint-label = "zephyr_camera_dvp_in";
};
};
};
};

&zephyr_camera_dvp {
status = "okay";
sensor = <&ov2640>;
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pixelclk-active = <1>;
capture-rate = <1>;

port {
zephyr_camera_dvp_in: endpoint {
remote-endpoint = <&ov2640_ep_out>;
remote-endpoint-label = "ov2640_ep_out";
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
};
7 changes: 7 additions & 0 deletions doc/releases/migration-guide-4.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,13 @@ Video
``VIDEO_PIX_FMT_GRBG8`` becomes ``VIDEO_PIX_FMT_SGRBG8``
``VIDEO_PIX_FMT_RGGB8`` becomes ``VIDEO_PIX_FMT_SRGGB8``

* On STM32 devices, the DCMI driver (:dtcompatible:`st,stm32-dcmi`) now relies on endpoint based
video-interfaces.yaml bindings for sensor interface properties (such as bus width and
synchronization signals).
Also the ``capture-rate`` property has been replaced by the usage of the frame interval API
:c:func:`video_set_frmival`.
See (:github:`89627`).

Other subsystems
****************

Expand Down
Loading