media: ov2740: Add camera orientation and sensor rotation controls
authorHans de Goede <hdegoede@redhat.com>
Thu, 28 Nov 2024 15:23:36 +0000 (16:23 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 19 Dec 2024 11:50:17 +0000 (12:50 +0100)
commit17898af922834cf2673896715d9495b34ab70677
treeda704f94402c600e2599c1f0ce27b607850eb1e5
parent47601552499d48a3c309545f857bd797baaf6aaf
media: ov2740: Add camera orientation and sensor rotation controls

Add camera orientation and sensor rotation controls using
the v4l2_fwnode_device_parse() and v4l2_ctrl_new_fwnode_properties()
helpers.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov2740.c