[media] media: imx: Add CSI subdev driver
commit4a34ec8e470cb126b85f737d73a879726c66259e
authorSteve Longerbeam <slongerbeam@gmail.com>
Wed, 7 Jun 2017 18:34:01 +0000 (7 15:34 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 10:37:53 +0000 (20 07:37 -0300)
tree64c164c65e1bdf59fa41bd4f5643cf5d7d22150c
parent64b5a49df486bd457f0be6d7a09f65c006d36f24
[media] media: imx: Add CSI subdev driver

This is a media entity subdevice for the i.MX Camera
Sensor Interface module.

- Added support for negotiation of frame intervals.
- Fixed cropping rectangle negotiation at input and output pads.
- Added support for /2 downscaling, if the output pad dimension(s)
  are 1/2 the crop dimension(s) at csi_setup() time.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
[hans.verkuil@cisco.com: add linux/pinctrl/consumer.h include]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/Kconfig
drivers/staging/media/imx/Makefile
drivers/staging/media/imx/imx-media-csi.c [new file with mode: 0644]