Hello this small series introduces OF support for the ov5670 sensor and adds support for regulators and GPIOs. Last year I dropped the ball as I didn't have access to HW anymore. Luca (in cc) has reported he has a sensor and might give this new version a spin, thanks! Cheers j v3->v4: - Rework power enablement in power up sequence to support !CONFIG_OF - Minor changes as per Sakari's review v2->v3: - bindings: - Drop assigned-clock properties from schema (moved to example) - s/pwdn-gpios/powerdown-gpios/ - driver - Use is_of_node() to decide how to parse clocks - Fix: drivers/media/i2c/ov5670.c:1787:18: error: initializer element is not a compile-time constant .analog_crop = ov5670_analog_crop, ^~~~~~~~~~~~~~~~~~ reported by kernel test robot and Nathan Chancellor with clang15 and gcc < 8 v1->v2: - Address Krzysztof comments on bindings - 2/8: new patch to use the common clock framework - Address Lauren's comment on runtime_pm function names - 7/8: new patch to implement init_cfg as suggested by Laurent - Rework 8/8 which was incorrect as reported by Laurent Thanks j Thanks j Jacopo Mondi (8): media: dt-bindings: Add OV5670 media: i2c: ov5670: Allow probing with OF media: i2c: ov5670: Probe clocks with OF media: i2c: ov5670: Probe regulators media: i2c: ov5670: Probe GPIOs media: i2c: ov5670: Add runtime_pm operations media: i2c: ov5670: Implement init_cfg Jean-Michel Hautbois (1): media: i2c: ov5670: Add .get_selection() support .../bindings/media/i2c/ovti,ov5670.yaml | 92 ++++++ MAINTAINERS | 1 + drivers/media/i2c/ov5670.c | 284 +++++++++++++++--- 3 files changed, 338 insertions(+), 39 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov5670.yaml -- 2.39.0