]> asedeno.scripts.mit.edu Git - linux.git/commit
media: v4l: fwnode: Support default CSI-2 lane mapping for drivers
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 20 Jul 2018 13:57:48 +0000 (09:57 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 4 Oct 2018 20:14:13 +0000 (16:14 -0400)
commitb4357d21d6744b76f8ab1dcaaa32d3bedb4ba565
tree1a6e20b5b743b5504b73d607d40e8ac5c96d9b40
parentc2475aeb12d6fab3c1f9987df0fe1708cf587bf2
media: v4l: fwnode: Support default CSI-2 lane mapping for drivers

Most hardware doesn't support re-mapping of the CSI-2 lanes. Especially
sensor drivers have a default number of lanes. Instead of requiring the
caller (the driver) to provide such a unit mapping, provide one if no
mapping is configured.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-fwnode.c