media: ov5675: add device-tree support and support runtime PM
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Wed, 8 Jun 2022 13:44:18 +0000 (15:44 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 6 Feb 2023 07:44:04 +0000 (08:44 +0100)
commit49d9ad719e8934fcd0de4a8317fd1a735e587f47
treecf032e25318b2c76e227a18266d316b663030413
parentc9dd57143e70d9ad164d0047393a02c74bd0fa1f
media: ov5675: add device-tree support and support runtime PM

Until now, this driver only supported ACPI. This adds support for
Device Tree too while enabling clock and regulators in runtime PM.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5675.c