mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: i2c: imx290: check for availability in probe()
@ 2024-08-28 18:13 Benjamin Bara
  2024-08-28 18:13 ` [PATCH v2 1/2] media: i2c: imx290: Check " Benjamin Bara
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Benjamin Bara @ 2024-08-28 18:13 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Manivannan Sadhasivam, Sakari Ailus
  Cc: Hans de Goede, Laurent Pinchart, Alexander Stein, linux-media,
	linux-kernel, Benjamin Bara

Hi!

This series introduces i2c communication with the imx290 sensor during
probe s.t. the v4l2 subdev is not initialized when the chip is not
reachable.

The datasheets show that INCKSEL* registers have a different default
value after reset on imx290[1] and imx327[2], however I am not sure if
this is a sufficient identification option - therefore I just removed
the current CHIP_ID register for now.

thanks & regards
Benjamin

[1] https://static6.arrow.com/aropdfconversion/c0c7efde6571c768020a72f59b226308b9669e45/sony_imx290lqr-c_datasheet.pdf
[2] https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/138/IMX327LQR_2D00_C_5F00_TechnicalDatasheet_5F00_E_5F00_Rev0.2.pdf

---
Changes in v2:
- dropped 1/2 to ignore the read value in cci_read() (old 2/2 -> new 1/2)
- 1/2: read-back standby mode instead and ensure that it is really in standby
- new 2/2: drop chip_id register definition which seems to be incorrect
- Link to v1: https://lore.kernel.org/r/20240807-imx290-avail-v1-0-666c130c7601@skidata.com

---
Benjamin Bara (2):
      media: i2c: imx290: Check for availability in probe()
      media: i2c: imx290: Remove CHIP_ID reg definition

 drivers/media/i2c/imx290.c | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
---
base-commit: eec5d86d5bac6b3e972eb9c1898af3c08303c52d
change-id: 20240807-imx290-avail-85795c27d988

Best regards,
-- 
Benjamin Bara <benjamin.bara@skidata.com>


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

end of thread, other threads:[~2024-08-31  0:54 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-28 18:13 [PATCH v2 0/2] media: i2c: imx290: check for availability in probe() Benjamin Bara
2024-08-28 18:13 ` [PATCH v2 1/2] media: i2c: imx290: Check " Benjamin Bara
2024-08-29  7:05   ` Sakari Ailus
2024-08-29  7:32     ` Benjamin Bara
2024-08-29 12:39     ` Sakari Ailus
2024-08-29 12:41       ` Sakari Ailus
2024-08-29 12:42   ` Sakari Ailus
2024-08-29 13:19   ` Laurent Pinchart
2024-08-29 15:36     ` Benjamin Bara
2024-08-29 17:00       ` Laurent Pinchart
2024-08-29 16:32     ` Manivannan Sadhasivam
2024-08-29 16:48       ` Laurent Pinchart
2024-08-30  8:31         ` Manivannan Sadhasivam
2024-08-30  9:25           ` Laurent Pinchart
2024-08-30 12:25             ` Manivannan Sadhasivam
2024-08-31  0:53               ` Laurent Pinchart
2024-08-28 18:13 ` [PATCH v2 2/2] media: i2c: imx290: Remove CHIP_ID reg definition Benjamin Bara
2024-08-29 12:39   ` Laurent Pinchart
2024-08-29 13:06 ` [PATCH v2 0/2] media: i2c: imx290: check for availability in probe() Sakari Ailus

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®