[PATCH v6 00/16] media: Add Yoga Book camera support

Maurizio Casciano posted 16 patches 3 weeks, 3 days ago
There is a newer version of this series
MAINTAINERS                                   |   1 +
drivers/media/i2c/Kconfig                     |  11 +
drivers/media/i2c/Makefile                    |   1 +
drivers/media/i2c/ov2740.c                    | 114 +++++++---
drivers/media/i2c/ov8858.c                    | 166 ++++++++++++--
drivers/media/i2c/wv517s.c                    | 206 ++++++++++++++++++
drivers/media/pci/intel/ipu-bridge.c          |  19 +-
.../staging/media/atomisp/pci/atomisp_cmd.c   |  80 ++++---
.../staging/media/atomisp/pci/atomisp_cmd.h   |   6 +-
.../staging/media/atomisp/pci/atomisp_csi2.c  |  20 +-
.../media/atomisp/pci/atomisp_csi2_bridge.c   |  30 ++-
.../staging/media/atomisp/pci/atomisp_ioctl.c |  34 ++-
.../media/atomisp/pci/atomisp_subdev.c        |   4 +-
.../media/atomisp/pci/atomisp_subdev.h        |   3 +-
include/media/ipu-bridge.h                    |   3 +
15 files changed, 588 insertions(+), 110 deletions(-)
create mode 100644 drivers/media/i2c/wv517s.c
[PATCH v6 00/16] media: Add Yoga Book camera support
Posted by Maurizio Casciano 3 weeks, 3 days ago
Hi,

This series adds the sensor, bridge, AtomISP and lens-actuator support
needed by the front and rear cameras of the Lenovo Yoga Book YB1-X91.

It covers the OV8858 19.2 MHz clock and Cherry Trail gain programming,
OV2740 288 MHz link frequency and manual white balance, firmware IDs and
IPU bridge data, AtomISP raw capture and CSI-2 timing, and the WV517S lens
actuator.

Changes in v6:
- In patch 2, replace the arithmetic MHz expressions with direct Hz
  constants, as requested by Andy Shevchenko.
- Give the supported input clocks distinct names:
  OV8858_XVCLK_FREQ_24MHZ and OV8858_XVCLK_FREQ_19_2MHZ.
- No other code changes from v5.

Validation:
- Strict checkpatch over all 16 patches: no errors or warnings.
- W=1 object build of drivers/media/i2c/ov8858.o.
- Sparse C=2 check of drivers/media/i2c/ov8858.c.
- Front and rear cameras previously validated on the Yoga Book with real
  raw Bayer capture.

Maurizio Casciano (16):
  media: ov8858: Extract digital gain programming
  media: ov8858: support 19.2 MHz clock and CHT gain setup
  media: ov2740: Use C99 initializers for ACPI IDs
  media: ov2740: Add OVTI2740 ACPI ID
  media: ov8858: Add INT3477 ACPI ID
  media: intel: ipu-bridge: Add Yoga Book camera sensors
  media: atomisp: Add Yoga Book camera configuration
  media: ov2740: support 288 MHz link frequency
  media: intel: ipu-bridge: allow sensor-specific link frequencies
  media: atomisp: derive CSI-2 timing from sensor link frequency
  media: atomisp: provide Yoga Book OV2740 link frequency
  media: ov2740: release group hold after gain write errors
  media: ov2740: add manual white balance controls
  media: atomisp: Use struct v4l2_area for padding
  media: atomisp: allow raw Bayer capture
  media: i2c: Add WV517S lens actuator driver

 MAINTAINERS                                   |   1 +
 drivers/media/i2c/Kconfig                     |  11 +
 drivers/media/i2c/Makefile                    |   1 +
 drivers/media/i2c/ov2740.c                    | 114 +++++++---
 drivers/media/i2c/ov8858.c                    | 166 ++++++++++++--
 drivers/media/i2c/wv517s.c                    | 206 ++++++++++++++++++
 drivers/media/pci/intel/ipu-bridge.c          |  19 +-
 .../staging/media/atomisp/pci/atomisp_cmd.c   |  80 ++++---
 .../staging/media/atomisp/pci/atomisp_cmd.h   |   6 +-
 .../staging/media/atomisp/pci/atomisp_csi2.c  |  20 +-
 .../media/atomisp/pci/atomisp_csi2_bridge.c   |  30 ++-
 .../staging/media/atomisp/pci/atomisp_ioctl.c |  34 ++-
 .../media/atomisp/pci/atomisp_subdev.c        |   4 +-
 .../media/atomisp/pci/atomisp_subdev.h        |   3 +-
 include/media/ipu-bridge.h                    |   3 +
 15 files changed, 588 insertions(+), 110 deletions(-)
 create mode 100644 drivers/media/i2c/wv517s.c

With Best Regards,
Maurizio Casciano

-- 
2.53.0
Re: [PATCH v6 00/16] media: Add Yoga Book camera support
Posted by Andy Shevchenko 3 weeks, 2 days ago
On Tue, Sep 01, 2026 at 09:04:22PM +0200, Maurizio Casciano wrote:
> Hi,
> 
> This series adds the sensor, bridge, AtomISP and lens-actuator support
> needed by the front and rear cameras of the Lenovo Yoga Book YB1-X91.
> 
> It covers the OV8858 19.2 MHz clock and Cherry Trail gain programming,
> OV2740 288 MHz link frequency and manual white balance, firmware IDs and
> IPU bridge data, AtomISP raw capture and CSI-2 timing, and the WV517S lens
> actuator.
> 
> Changes in v6:
> - In patch 2, replace the arithmetic MHz expressions with direct Hz
>   constants, as requested by Andy Shevchenko.
> - Give the supported input clocks distinct names:
>   OV8858_XVCLK_FREQ_24MHZ and OV8858_XVCLK_FREQ_19_2MHZ.
> - No other code changes from v5.
> 
> Validation:
> - Strict checkpatch over all 16 patches: no errors or warnings.
> - W=1 object build of drivers/media/i2c/ov8858.o.
> - Sparse C=2 check of drivers/media/i2c/ov8858.c.

> - Front and rear cameras previously validated on the Yoga Book with real
>   raw Bayer capture.

Can you confirm it still works? Because word 'previously' makes me a bit
worrying. In v7 it might be even more changes, so please make sure it still
works as expected.

-- 
With Best Regards,
Andy Shevchenko