This series adds support for some important features, like controls for
H/VFLIP, horizontal blanking, link frequency and regulator support that
is present in the downstream kernel to support the Raspberry Pi v1 camera
module.
Additionally, it also fixes some known issues with streaming lockups and
wrong pixel array size.
Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
---
Changes in v3:
- Match the default register value in all mode tables with the default
value for the horizontal flip control (i.e. 0x3281[1] = 1)
- Update pixel rate for VGA mode as discussed in [PATCH v1 13/13]
- Set default link frequency value using the default mode as Jacopo
suggested in v2
- Add review/ack tags from Dave, Jacopo and Krzysztof
- Link to v2: https://lore.kernel.org/r/20251118-b4-rpi-ov5647-v2-0-5e78e7cb7f9b@ideasonboard.com
Changes in v2:
- Drop [PATCH 4/13] as it is already present in mainline
- Add a fix for a potential segfault by reordering ov5647_init_controls
after v4l2_i2c_subdev_init in the probe
- Add 2 new patches updating dt-bindings for regulators and
rotation/orientation
- Add a patch for cleaning up the PIXEL_RATE control
- Reorder the patches in the series, moving all fixes at the start
- Fix review comments from Jacopo, Stefan, Kieran and Dave, picking
Jacopo's R-by tag on a few patches
- Link to v1: https://lore.kernel.org/r/20251028-b4-rpi-ov5647-v1-0-098413454f5e@ideasonboard.com
---
Dave Stevenson (7):
media: i2c: ov5647: Add support for regulator control
media: i2c: ov5647: Use v4l2_async_register_subdev_sensor for lens binding
media: i2c: ov5647: Add control of V4L2_CID_HBLANK
media: i2c: ov5647: Tidy up mode registers to make the order common
media: i2c: ov5647: Separate out the common registers.
media: i2c: ov5647: Use the same PLL config for full, 1080p, and binned modes
media: i2c: ov5647: Add V4L2_CID_LINK_FREQUENCY control
David Plowman (4):
media: i2c: ov5647: Correct pixel array offset
media: i2c: ov5647: Correct minimum VBLANK value
media: i2c: ov5647: Sensor should report RAW color space
media: i2c: ov5647: Support HFLIP and VFLIP
Jai Luthra (4):
media: i2c: ov5647: Initialize subdev before controls
dt-bindings: media: ov5647: Add optional regulators
dt-bindings: media: ov5647: Allow props from video-interface-devices
media: i2c: ov5647: Tidy up PIXEL_RATE control
Laurent Pinchart (1):
media: i2c: ov5647: Parse and register properties
.../devicetree/bindings/media/i2c/ovti,ov5647.yaml | 14 +-
drivers/media/i2c/ov5647.c | 465 ++++++++++-----------
2 files changed, 235 insertions(+), 244 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251024-b4-rpi-ov5647-05b600758762
Best regards,
--
Jai Luthra <jai.luthra@ideasonboard.com>