[PATCH v5 0/4] media: i2c: Add OmniVision OG0VA1B camera sensor driver
Wenmeng Liu <[email protected]> Fri, 31 Jul 2026 14:44:53 +0800
| Newsgroups | org.kernel.vger.linux-media,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Add OmniVision OG0VA1B driver support. The OmniVision OG0VA1B is a 1/10-inch monochrome CMOS VGA image sensor. It outputs 10-bit raw (Y10) frames at up to 640x480 resolution over a single-lane MIPI CSI-2 interface and is controlled via an I2C-compatible SCCB bus. This driver has been verified(include tpg) on the Purwa EVK. Signed-off-by: Wenmeng Liu <[email protected]> --- Changes in v5: - Use div_u64() for pixel rate calculation to avoid 64-bit division helpers on 32-bit architectures. -- sashiko-bot, kernel test robot - Link to v4: https://lore.kernel.org/r/[email protected] Changes in v4: - Rename the OG0VA1B and OG0VE1B test pattern menu entries to make them more accurate. -- Vladimir - Link to v3: https://lore.kernel.org/r/[email protected] Changes in v3: - Generalise the binding title and description for both sensors. -- Vladimir - Keep the cached pre_isp read so the OG0VE1B test pattern still works, select it via a per-sensor callback. -- Bryan, Vladimir - Rename the "sensor" field to "data", drop bpp (derive from code) and add og0ve1b_pixel_rate(). -- Vladimir - Sort defines, rename the shared CHIP_ID reg to OG0V_ and order og0va1b_data first. -- Vladimir - Expose all four OG0VA1B test patterns instead of one. - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Integrate OG0VA1B into the existing og0ve1b driver and binding instead. -- Vladimir - Link to v1: https://lore.kernel.org/r/[email protected] --- Wenmeng Liu (4): dt-bindings: media: i2c: og0ve1b: Add OmniVision OG0VA1B camera sensor media: i2c: og0ve1b: Use monochrome-appropriate test pattern name media: i2c: og0ve1b: Introduce per-sensor data structure media: i2c: og0ve1b: Add support for OmniVision OG0VA1B .../bindings/media/i2c/ovti,og0ve1b.yaml | 15 +- drivers/media/i2c/og0ve1b.c | 378 ++++++++++++++++++--- 2 files changed, 346 insertions(+), 47 deletions(-) --- base-commit: 95d6a9ccef99117115e41e9adb271243bd5e985b change-id: 20260618-og0va1b-55bbf3cabb0e Best regards, -- Wenmeng Liu <[email protected]>