]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ov08x40: Add OF probe support
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 10 Oct 2024 12:33:20 +0000 (13:33 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 7 Nov 2024 08:05:58 +0000 (09:05 +0100)
commitdf1ae2251a5044d145bda02c6eb5bc6b2ce4ff9a
tree6fe762ff56e044b147bf1e8b192488453abe907f
parentf46cf0cfd6139ea4a21b3de85cd620441beeeb9f
media: ov08x40: Add OF probe support

The ACPI version of this driver "just works" on dts based systems with a
few extensions to facilitate.

- Add support for DT based probing
- Add support for taking the part out of reset via a GPIO reset pin
- Add in regulator bulk on/off logic for the power rails.

Once done this sensor works nicely on a Qualcomm X1E80100 CRD.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # x1e80100-crd
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/ov08x40.c