Re: [PATCH] media: i2c: imx412: Extend the power-on waiting time
From: Sakari Ailus
Date: Mon Dec 22 2025 - 04:11:05 EST
Hi Wenmeng,
Thanks for the patch.
On Mon, Dec 22, 2025 at 05:04:07PM +0800, Wenmeng Liu wrote:
> From: Wenmeng Liu <quic_wenmliu@xxxxxxxxxxx>
>
> The Arducam IMX577 module requires a longer reset time than the 1000µs
> configured in the current driver. Increase the wait time after power-on
> to ensure proper initialization.
Is this somehow specific to the Arducam module? If so, what's there in the
module that requires this?
>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
> ---
> Signed-off-by: Wenmeng <wenmeng.liu@xxxxxxxxxxxxxxxx>
> ---
Which one is the right one?
> drivers/media/i2c/imx412.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/i2c/imx412.c b/drivers/media/i2c/imx412.c
> index b3826f80354703b17b416dc233854da3f5736e38..e444c48c11b171b421c535beb23211bf0b600d3a 100644
> --- a/drivers/media/i2c/imx412.c
> +++ b/drivers/media/i2c/imx412.c
> @@ -1037,7 +1037,7 @@ static int imx412_power_on(struct device *dev)
> goto error_reset;
> }
>
> - usleep_range(1000, 1200);
> + usleep_range(10000, 12000);
>
> return 0;
>
>
--
Kind regards,
Sakari Ailus