media: v4l: fwnode: Parse MIPI DisCo for Imaging properties

Parse MIPI DisCo for Imaging properties "mipi-img-lens-focus" and
"mipi-img-flash-leds" for VCMs and flash LEDs.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Sakari Ailus 2023-10-31 20:22:37 +02:00 committed by Hans Verkuil
parent 5755be5f15
commit c9e3e84963

View File

@ -1179,7 +1179,9 @@ v4l2_async_nf_parse_fwnode_sensor(struct device *dev,
static const char * const led_props[] = { "led" };
static const struct v4l2_fwnode_int_props props[] = {
{ "flash-leds", led_props, ARRAY_SIZE(led_props) },
{ "lens-focus", NULL, 0 },
{ "mipi-img-flash-leds", },
{ "lens-focus", },
{ "mipi-img-lens-focus", },
};
unsigned int i;