media: i2c: ov13858: add regulator, clock and reset GPIO handling
Simon Kruse
Tested-byHi Sergey,
Tested on a Microsoft Surface Pro 9 (Intel Alder Lake, IPU6, rear sensor OVTID858) on top of media-committers next at d7e7bca71, where the int3472 POWER1 support and the ipu-bridge OVTID858 entry are already present.
On this machine the INT3472 drives avdd (type 0x0b) and dvdd (type 0x08, POWER1) plus the reset line; dovdd falls back to a dummy regulator. With the patch:
- the sensor probes, v4l2-compliance on the subdev: 46/46
- libcamera captures at 30 fps with no CSI-2 errors
- runtime PM: suspended when idle, active while streaming, suspended again after the stream stops
Tested-by Simon Kruse <[email protected]>
Thanks,
Simon