Skip to content

Commit 3300de6

Browse files
author
Alain Volmat
committed
shields: st_b_cams_imx_mb1854: rename 22pins CSI into CSI
Following renaming of the raspberry csi connector nexus, rename all places when csi 22pins is mentioned to only keep csi instead. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 5c2abc8 commit 3300de6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

boards/shields/st_b_cams_imx_mb1854/st_b_cams_imx_mb1854.overlay

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
*
66
*/
77

8-
#include <zephyr/dt-bindings/gpio/raspberrypi-csi-22pins-connector.h>
8+
#include <zephyr/dt-bindings/gpio/raspberrypi-csi-connector.h>
99
#include <zephyr/dt-bindings/video/video-interfaces.h>
1010

1111
/ {
1212
chosen {
13-
zephyr,camera = &csi_22pins_capture_port;
13+
zephyr,camera = &csi_capture_port;
1414
};
1515

1616
imx335_input_clock: imx335-input-clock {
@@ -20,38 +20,38 @@
2020
};
2121
};
2222

23-
&csi_22pins_interface {
23+
&csi_interface {
2424
status = "okay";
2525
};
2626

27-
&csi_22pins_ep_in {
27+
&csi_ep_in {
2828
remote-endpoint-label = "imx335_ep_out";
2929
bus-type = <VIDEO_BUS_TYPE_CSI2_DPHY>;
3030
data-lanes = <1 2>;
3131
};
3232

33-
&csi_22pins_i2c {
33+
&csi_i2c {
3434
imx335: camera@1a {
3535
compatible = "sony,imx335";
3636
clocks = <&imx335_input_clock>;
3737
reg = <0x1a>;
38-
reset-gpios = <&csi_22pins_connector CSI_22PINS_IO0 GPIO_ACTIVE_LOW>;
38+
reset-gpios = <&csi_connector CSI_IO0 GPIO_ACTIVE_LOW>;
3939

4040
port {
4141
imx335_ep_out: endpoint {
42-
remote-endpoint-label = "csi_22pins_ep_in";
42+
remote-endpoint-label = "csi_ep_in";
4343
bus-type = <VIDEO_BUS_TYPE_CSI2_DPHY>;
4444
data-lanes = <1 2>;
4545
};
4646
};
4747
};
4848
};
4949

50-
&csi_22pins_connector {
50+
&csi_connector {
5151
/* Power the camera module */
5252
en-module-gpios {
5353
gpio-hog;
54-
gpios = <CSI_22PINS_IO1 GPIO_ACTIVE_HIGH>;
54+
gpios = <CSI_IO1 GPIO_ACTIVE_HIGH>;
5555
output-high;
5656
};
5757
};

0 commit comments

Comments
 (0)