From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 2/2] media: i2c: imx412: Extend the power-on waiting time
Date: Thu, 22 Jan 2026 14:37:18 +0200 [thread overview]
Message-ID: <aXIZ_lxi1OeuXbV7@kekkonen.localdomain> (raw)
In-Reply-To: <20260122-imx412-v6-2-2c0b54594c2a@oss.qualcomm.com>
Hi Wenmeng,
On Thu, Jan 22, 2026 at 05:31:19PM +0800, Wenmeng Liu wrote:
> 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.
>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> ---
> drivers/media/i2c/imx412.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/media/i2c/imx412.c b/drivers/media/i2c/imx412.c
> index aa63dfc349181bf9c180ffd566b0317d05b410c1..9154c238949e4308755e757bd9c71f0b44f433ee 100644
> --- a/drivers/media/i2c/imx412.c
> +++ b/drivers/media/i2c/imx412.c
> @@ -1037,7 +1037,11 @@ static int imx412_power_on(struct device *dev)
> goto error_reset;
> }
>
> - usleep_range(1000, 1200);
> + /*
> + * Some IMX577 modules require a longer reset settle time.
> + * Increasing the delay from 1ms to 10ms ensures reliable startup.
> + */
This still doesn't mention the Arducam module. :-(
> + usleep_range(10000, 12000);
>
> return 0;
>
>
--
Regards,
Sakari Ailus
next prev parent reply other threads:[~2026-01-22 12:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 9:31 [PATCH v6 0/2] media: i2c: imx412: power on timing adjust Wenmeng Liu
2026-01-22 9:31 ` [PATCH v6 1/2] media: i2c: imx412: Assert reset GPIO during probe Wenmeng Liu
2026-01-22 9:31 ` [PATCH v6 2/2] media: i2c: imx412: Extend the power-on waiting time Wenmeng Liu
2026-01-22 12:37 ` Sakari Ailus [this message]
2026-01-23 2:06 ` Wenmeng Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXIZ_lxi1OeuXbV7@kekkonen.localdomain \
--to=sakari.ailus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=wenmeng.liu@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®