Skip to content

Commit c4285ef

Browse files
Alain Volmatkartben
authored andcommitted
shields: st_b_cams_omv_mb1683: remove i2c/dcmi/dmamux nodes from overlay
The i2c bus configuration and dcmi pins alternate function settings are already done within the board dts since this is fixed for each board so remove then from the shield overlay. The dmamux node enabling is also removed since currently the DCMI/DMA cannot rely on dmamux. In the shield main overlay file, ensure that the i2c bus is properly enabled. Signed-off-by: Alain Volmat <[email protected]>
1 parent 5006c83 commit c4285ef

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

boards/shields/st_b_cams_omv_mb1683/boards/stm32h7b3i_dk.overlay

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,6 @@
55
*
66
*/
77

8-
&st_cam_i2c {
9-
pinctrl-0 = <&i2c4_scl_pd12 &i2c4_sda_pd13>;
10-
pinctrl-names = "default";
11-
status = "okay";
12-
clock-frequency = <I2C_BITRATE_FAST>;
13-
};
14-
15-
&st_cam_dvp {
16-
pinctrl-0 = <&dcmi_hsync_pa4 &dcmi_pixclk_pa6 &dcmi_vsync_pb7
17-
&dcmi_d0_pc6 &dcmi_d1_pc7 &dcmi_d2_pg10 &dcmi_d3_pc9
18-
&dcmi_d4_pc11 &dcmi_d5_pd3 &dcmi_d6_pb8 &dcmi_d7_pb9>;
19-
pinctrl-names = "default";
20-
};
21-
228
&dma1 {
239
status = "okay";
2410
};
25-
26-
&dmamux1 {
27-
status = "okay";
28-
};

boards/shields/st_b_cams_omv_mb1683/st_b_cams_omv_mb1683.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
};
1515

1616
&st_cam_i2c {
17+
status = "okay";
18+
1719
ov5640: ov5640@3c {
1820
compatible = "ovti,ov5640";
1921
reg = <0x3c>;

0 commit comments

Comments
 (0)