[media] v4l: fwnode: Support generic fwnode for parsing standardised properties
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 12 Aug 2016 11:05:51 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:25:16 +0000 (09:25 -0300)
commitca50c197bd9610ea984cfc0dc6855f183cbb46f8
tree289f43018781f88f6dfe878980c3738f857c3624
parent614d651e1abda005ec9df5accef4b02aafcdf1ed
[media] v4l: fwnode: Support generic fwnode for parsing standardised properties

The fwnode_handle is a more generic way than OF device_node to describe
firmware nodes. Instead of the OF API, use more generic fwnode API to
obtain the same information.

As the V4L2 fwnode support will be required by a small minority of e.g.
ACPI based systems (the same might actually go for OF), make this a module
instead of embedding it in the videodev module.

The origins of the V4L2 fwnode framework is in the V4L2 OF framework.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/Kconfig
drivers/media/v4l2-core/Makefile
drivers/media/v4l2-core/v4l2-fwnode.c [new file with mode: 0644]
include/media/v4l2-fwnode.h [new file with mode: 0644]