]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: of: Read lane-polarities endpoint property
authorSakari Ailus <sakari.ailus@iki.fi>
Wed, 25 Mar 2015 22:57:37 +0000 (19:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 19:46:42 +0000 (16:46 -0300)
commit29dc8100f9e388ed1d8fcd0fe61c515f7861780e
tree9b4c792f2c4a1b7b4b57ee3a8b209f81bb681e5d
parent86a8cb781a4ec113988dfea8a6728a8f4a6a8883
[media] v4l: of: Read lane-polarities endpoint property

Add lane_polarities field to struct v4l2_of_bus_mipi_csi2 and write the
contents of the lane-polarities property to it. The field tells the polarity
of the physical lanes starting from the first one. Any unused lanes are
ignored, i.e. only the polarity of the used lanes is specified.

Also rework reading the "data-lanes" property a little.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-of.c
include/media/v4l2-of.h