]> asedeno.scripts.mit.edu Git - linux.git/commit
media: rcar-csi2: Handle per-SoC number of channels
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 6 Nov 2018 10:54:27 +0000 (05:54 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 10:41:51 +0000 (05:41 -0500)
commit87c6f1b57f61e83392dcb6b2e4398d444e83c7c8
tree30e8d1df4e751ddbbc05f0265021305e31cca593
parent10c08812fe60ddfd480730a58bb78616262d659a
media: rcar-csi2: Handle per-SoC number of channels

The R-Car CSI-2 interface has a number of selectable 'channels' that
provides pixel data to the VINs during image acquisition.

Each channel can be used to match a CSI-2 data type and a CSI-2 virtual
channel to be routed to output path.

Different SoCs have different number of channels, with R-Car E3 being the
notable exception supporting only 2 of them.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-csi2.c