From: Muzaffer Kadir via B4 Relay <devnull+muzafferkadir.mainlining.org@kernel.org>
To: Sakari Ailus <sakari.ailus@linux.intel.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: git@luigi311.com, pavel@ucw.cz, tomm.merciai@gmail.com,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
phone-devel@vger.kernel.org,
"Muzaffer Kadir" <muzafferkadir@mainlining.org>,
"Ondřej Jirman" <megi@xff.cz>
Subject: [PATCH v2 1/2] media: i2c: imx258: Add wait after enabling
Date: Sat, 29 Aug 2026 16:06:33 +0300 [thread overview]
Message-ID: <20260829-imx258-add-reset-gpio-patch-v2-1-bfd27891e225@mainlining.org> (raw)
In-Reply-To: <20260829-imx258-add-reset-gpio-patch-v2-0-bfd27891e225@mainlining.org>
From: Muzaffer Kadir <muzafferkadir@mainlining.org>
After enabling the device, a delay is required before the sensor is
ready for CCI access. 0.4ms delay needed between enabling and
reading the ID register over CCI.
Link: https://lore.kernel.org/phone-devel/apF5oxsCf7MJt1lk@kekkonen.localdomain/T/#md6a0411e81a2e3a563c935348f2fb4f3d52df64f
Signed-off-by: Muzaffer Kadir <muzafferkadir@mainlining.org>
---
drivers/media/i2c/imx258.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/i2c/imx258.c b/drivers/media/i2c/imx258.c
index bc9ee449a87c..9c3a6579df0d 100644
--- a/drivers/media/i2c/imx258.c
+++ b/drivers/media/i2c/imx258.c
@@ -1129,6 +1129,7 @@ static int imx258_power_on(struct device *dev)
dev_err(dev, "failed to enable clock\n");
regulator_bulk_disable(IMX258_NUM_SUPPLIES, imx258->supplies);
}
+ fsleep(400);
return ret;
}
--
2.54.0
next prev parent reply other threads:[~2026-08-29 13:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-29 13:06 [PATCH v2 0/2] Add Reset GPIO to imx258 Muzaffer Kadir via B4 Relay
2026-08-29 13:06 ` Muzaffer Kadir via B4 Relay [this message]
2026-08-30 7:36 ` [PATCH v2 1/2] media: i2c: imx258: Add wait after enabling Rudraksha Gupta
2026-08-29 13:06 ` [PATCH v2 2/2] media: i2c: imx258: Add reset-gpio support Muzaffer Kadir via B4 Relay
2026-08-30 7:37 ` Rudraksha Gupta
2026-09-16 13:06 ` [PATCH v2 0/2] Add Reset GPIO to imx258 Muzaffer Kadir
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=20260829-imx258-add-reset-gpio-patch-v2-1-bfd27891e225@mainlining.org \
--to=devnull+muzafferkadir.mainlining.org@kernel.org \
--cc=git@luigi311.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=megi@xff.cz \
--cc=muzafferkadir@mainlining.org \
--cc=pavel@ucw.cz \
--cc=phone-devel@vger.kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tomm.merciai@gmail.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®