Skip to contentSkip to conversation

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

PATCH New Sakari Ailus 1 participant 1 message Nov 1, 2023

Subsystems (2)
lore
Share & tools
lore

Sakari Ailus

author maintainer
#0 lore raw

PATCH 1/1 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.

is related to the MIPI DisCo for Imaging support patchset here:
<URL:https://lore.kernel.org/linux-acpi/CAJZ5v0jteOR-tY91qUsXUmWvxWYCavUBBxa=zc_a2hN+Udn7pQ@mail.gmail.com/T/#t> but does not depend on it.

 drivers/media/v4l2-core/v4l2-fwnode.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/media/v4l2-core/v4l2-fwnode.c +3 -1
index 7f181fbbb140..89c7192148df 100644
@@ -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;
 
Signature · 1 line
2.39.2