mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add Reset GPIO to imx258
@ 2026-08-29 13:06 Muzaffer Kadir via B4 Relay
  2026-08-29 13:06 ` [PATCH v2 1/2] media: i2c: imx258: Add wait after enabling Muzaffer Kadir via B4 Relay
  2026-08-29 13:06 ` [PATCH v2 2/2] media: i2c: imx258: Add reset-gpio support Muzaffer Kadir via B4 Relay
  0 siblings, 2 replies; 5+ messages in thread
From: Muzaffer Kadir via B4 Relay @ 2026-08-29 13:06 UTC (permalink / raw)
  To: Sakari Ailus, Mauro Carvalho Chehab
  Cc: git, pavel, tomm.merciai, linux-media, linux-kernel, phone-devel,
	Muzaffer Kadir, Ondřej Jirman

I have a device that is not upstreamed yet (General Mobile Shamrock)
whose camera needs reset gpio to probe, it is documented in
dt-bindings but not implemented for some reason.
With adding it rear camera on the device probes correctly.

Signed-off-by: Muzaffer Kadir <muzafferkadir@mainlining.org>
---
Changes in v2:
- Moved error handling in power on to gotos as Sakari Ailus requested
- Use fsleep instead of usleep_range as Sakari Ailus requested
- Separated delay after enable and reset gpio patches as Sakari
  Ailus requested
- Link to v1: https://lore.kernel.org/r/20260828-imx258-add-reset-gpio-patch-v1-1-633972d2a700@mainlining.org

---
Muzaffer Kadir (2):
      media: i2c: imx258: Add wait after enabling
      media: i2c: imx258: Add reset-gpio support

 drivers/media/i2c/imx258.c | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)
---
base-commit: db2ddb87143519e20a95aa36c60b36107b736a58
change-id: 20260825-imx258-add-reset-gpio-patch-c438dd35f9cc

Best regards,
-- 
Muzaffer Kadir <muzafferkadir@mainlining.org>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-30  7:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-29 13:06 [PATCH v2 0/2] Add Reset GPIO to imx258 Muzaffer Kadir via B4 Relay
2026-08-29 13:06 ` [PATCH v2 1/2] media: i2c: imx258: Add wait after enabling Muzaffer Kadir via B4 Relay
2026-08-30  7:36   ` 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

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®