[PATCH v2 0/2] Add Reset GPIO to imx258

From: Muzaffer Kadir via B4 Relay

Date: Sat Aug 29 2026 - 09:07:28 EST


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@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxx

---
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@xxxxxxxxxxxxxx>