public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add Sony IMX471 camera sensor driver
@ 2026-04-17  8:32 Kate Hsuan
  2026-04-17  8:32 ` [PATCH 1/2] media: ipu-bridge: Add DMI information of Lenovo X9 to the image upside-down list Kate Hsuan
  2026-04-17  8:32 ` [PATCH 2/2] media: i2c: imx471: Add Sony IMX471 image sensor driver Kate Hsuan
  0 siblings, 2 replies; 18+ messages in thread
From: Kate Hsuan @ 2026-04-17  8:32 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Hans de Goede, Hans Verkuil, Sakari Ailus,
	Serin Yeh
  Cc: linux-media, linux-kernel, Kate Hsuan

This patchset adds the Sony IMX471 camera sensor driver to the Linux
kernel and resolves the IPU7 camera can't work issueon Lenovo X9
laptops [1].

The patchset contains two patches:
1. Add DMI information of Lenovo X9 to the image upside-down list
2. Add Sony IMX471 image sensor driver

The IMX471 driver can be found in the Intel ipu6-drivers repository [2].
To comply with the sensor driver implementation, the clean-up work
includes:

1. Use CCI register helpers.

2. Enable and disable streams using enable_streams and disable_streams
   functions in struct v4l2_subdev_pad_ops. Invoke
   v4l2_subdev_s_stream_helper() to manage the streaming state.

3. Get rotation information from fwnode properties using
   v4l2_fwnode_device_parse().

4. Finalizes the initialization of the subdev, including allocation of
   the active state using v4l2_subdev_init_finalize().

5. Add the IMX471 driver to the Makefile and Kconfig file.

6. The mutex lock is managed by the V4l2 core.

7. Replace the supported link frequency with v4l2_link_freq_to_bitmap().

8. Drop unused codes.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2454119
[2] https://github.com/intel/ipu6-drivers/tree/master/drivers/media/i2c/imx471.c


Kate Hsuan (2):
  media: ipu-bridge: Add DMI information of Lenovo X9 to the image
    upside-down list
  media: i2c: imx471: Add Sony IMX471 image sensor driver

 MAINTAINERS                          |    7 +
 drivers/media/i2c/Kconfig            |   10 +
 drivers/media/i2c/Makefile           |    1 +
 drivers/media/i2c/imx471.c           | 1047 ++++++++++++++++++++++++++
 drivers/media/pci/intel/ipu-bridge.c |   32 +
 5 files changed, 1097 insertions(+)
 create mode 100644 drivers/media/i2c/imx471.c

-- 
2.53.0


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

end of thread, other threads:[~2026-04-28  8:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-17  8:32 [PATCH 0/2] Add Sony IMX471 camera sensor driver Kate Hsuan
2026-04-17  8:32 ` [PATCH 1/2] media: ipu-bridge: Add DMI information of Lenovo X9 to the image upside-down list Kate Hsuan
2026-04-17 10:37   ` Hans de Goede
2026-04-20  7:40     ` Kate Hsuan
2026-04-17  8:32 ` [PATCH 2/2] media: i2c: imx471: Add Sony IMX471 image sensor driver Kate Hsuan
2026-04-17 10:16   ` Hans de Goede
2026-04-20  4:05     ` Kate Hsuan
2026-04-20  6:48     ` Yeh, Serin
2026-04-20  7:23     ` Yeh, Serin
2026-04-20  8:59       ` Hans de Goede
2026-04-21  9:26       ` Sakari Ailus
2026-04-21  9:02     ` Sakari Ailus
2026-04-21  9:47       ` Hans de Goede
2026-04-21 20:05         ` Sakari Ailus
2026-04-28  3:08           ` Kate Hsuan
2026-04-28  8:49             ` Sakari Ailus
2026-04-21  9:23   ` Sakari Ailus
2026-04-28  4:05     ` Kate Hsuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox