Commit ead6561b authored by Liu Ying's avatar Liu Ying

ENGR00182061-3 MX6 SabreSD:Correct camera pwdn function

This patch adds 2ms sleep after camera power down signal
is set to high or to low to ensure power down or up
is successful. OV5640/OV5642 camera specs say that they
require this condtion to be true - for PWDN to go low,
power must first become stable(DVDD to PWDN>=1ms), so
this patch simply use 2ms which should be enough.
Signed-off-by: default avatarLiu Ying <>
parent 7b7c5eea
......@@ -477,6 +477,8 @@ static void mx6q_csi0_cam_powerdown(int powerdown)
gpio_set_value(SABRESD_CSI0_PWN, 1);
gpio_set_value(SABRESD_CSI0_PWN, 0);
static void mx6q_csi0_io_init(void)
......@@ -542,6 +544,8 @@ static void mx6q_mipi_powerdown(int powerdown)
gpio_set_value(SABRESD_MIPICSI_PWN, 1);
gpio_set_value(SABRESD_MIPICSI_PWN, 0);
static void mx6q_mipi_sensor_io_init(void)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment