[PATCH v11 00/14] media: Add Lenovo Yoga Book camera support

From: Maurizio Casciano

Date: Sat Nov 21 2026 - 08:32:53 EST


Add front and rear camera support for the Lenovo Yoga Book X91L.
The front sensor is OV2740 and the rear sensor is OV8858 with a
WV517S focus actuator. AtomISP ISP2401 can capture RAW Bayer from
both cameras.

This review series is based on media-next. Apply David Heidelberg's
posted V4L2 subdevice release fix first. The prerequisite patch ID
below identifies that patch. WV517S needs it before the V4L2 core
can release the actuator's final reference.

Changes since v10:

- Drop the upstream ACPI initializer and INT3477 ID changes. Reuse
the existing rear IPU bridge entry and shared Cherry Trail PCI ID.
- Limit OV8858 19.2 MHz support to four-lane R2A. Carry the 2014
Intel OV8858 notice and record the sources of the register table.
- Drop the per-component white-balance controls from both sensors.
- Use div64_s64() for CSI-2 timing and make AtomISP RAW negotiation
and enumeration follow the sensor's advertised formats.
- Defer WV517S I/O until use and hold its state through final release.
Preserve existing camera nodes if registration of a new node fails.
- Keep the OV2740 probe retry as a separate diagnostic patch. The
cold-boot logs did not show a natural I2C failure or recovery.

The revised sources built the full x86-64 image and modules. The
focused Sparse checks, i386 AtomISP object link and WV517S build
with CONFIG_PM disabled also passed.
The mocked registration test reproduced the previous rollback and
verified that existing nodes survive each simulated failure. The
format and notifier fixtures also passed.

On the X91L, the exact revised 7.4 image bound both sensors and
WV517S at boot. Each camera delivered 30 distinct RAW and 20
distinct Preview YU12 frames before and after lens rebind. The
capture and sensor nodes survived rebind, focus controls worked,
and the actuator returned to runtime suspend. Physical focus
travel, 24 MHz OV8858 hardware and X91F lane configuration remain
open.

Codex drafted the rollback fix and cover text and consolidated the
previously tested follow-ups. Individual commits describe its role.

v10: https://lore.kernel.org/linux-media/20261002-submission-media-yogabook-v10-b4-final-v10-0-817ec765b257@xxxxxxxxx/T/
V4L2 prerequisite: https://lore.kernel.org/r/20260917-v4l2-release-fix-v1-1-acbac7f9b78e@xxxxxxx/

With Best Regards,
Maurizio Casciano

Maurizio Casciano (14):
media: v4l2-core: Preserve existing subdevice nodes on rollback
media: ov8858: Extract digital gain programming
media: ov8858: Support a 19.2 MHz input clock on four-lane R2A
media: ov2740: Add OVTI2740 ACPI ID
media: intel: ipu-bridge: Add the Yoga Book OVTI2740 entry
media: atomisp: Add Yoga Book camera configuration
media: ov2740: support 288 MHz link frequency
media: intel: ipu-bridge: select OV2740 frequency by IPU ID
media: atomisp: Derive CSI-2 timing from the sensor link frequency
media: ov2740: release group hold after gain write errors
media: atomisp: Use struct v4l2_area for padding
media: atomisp: Allow raw Bayer capture
media: i2c: Add WV517S lens actuator driver
media: atomisp: Preserve the capture graph when a lens rebinds

MAINTAINERS | 1 +
drivers/media/i2c/Kconfig | 11 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/ov2740.c | 65 +++-
drivers/media/i2c/ov8858.c | 172 +++++++---
drivers/media/i2c/wv517s.c | 320 ++++++++++++++++++
drivers/media/pci/intel/ipu-bridge.c | 9 +
drivers/media/v4l2-core/v4l2-device.c | 26 +-
.../staging/media/atomisp/pci/atomisp_cmd.c | 103 +++---
.../staging/media/atomisp/pci/atomisp_cmd.h | 6 +-
.../staging/media/atomisp/pci/atomisp_csi2.c | 24 +-
.../media/atomisp/pci/atomisp_csi2_bridge.c | 36 +-
.../staging/media/atomisp/pci/atomisp_ioctl.c | 117 +++++--
.../media/atomisp/pci/atomisp_subdev.c | 4 +-
.../media/atomisp/pci/atomisp_subdev.h | 3 +-
include/media/v4l2-device.h | 3 +
16 files changed, 748 insertions(+), 153 deletions(-)
create mode 100644 drivers/media/i2c/wv517s.c


base-commit: ccf78740d63813c452c035b57d17a650492562fa
prerequisite-patch-id: def08de8e36aa31f6d2360428b29f6b0f4c8e1c8
--
2.53.0