linux/drivers/media/platform/sunxi/sun4i-csi
Chen-Yu Tsai 51e40a0dbe media: sun4i-csi: Add support for A10 CSI1 camera sensor interface
The A10/A20 Allwinner SoCs have two camera sensor interface blocks,
named CSI0 and CSI1. The two have the same register layouts with
slightly different features:

  - CSI0 has an image signal processor (ISP); CSI1 doesn't

  - CSI0 can support up to four separate channels under CCIR656;
    CSI1 can only support one

  - CSI0 can support up to 16-bit wide bus with YUV422;
    CSI1 can support up to 24-bit wide bus with YUV444

For now the driver doesn't support wide busses, nor CCIR656. So the
only relevant difference is whether a clock needs to be taken and
enabled for the ISP.

Add structs to record the differences, tie them to the compatible
strings, and deal with the ISP clock. Support for the new CSI1
hardware block is added as well.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-01-04 08:21:35 +01:00
..
Kconfig
Makefile
sun4i_csi.c media: sun4i-csi: Add support for A10 CSI1 camera sensor interface 2020-01-04 08:21:35 +01:00
sun4i_csi.h media: sun4i-csi: Add support for A10 CSI1 camera sensor interface 2020-01-04 08:21:35 +01:00
sun4i_dma.c media: sun4i-csi: Fix [HV]sync polarity handling 2020-01-04 08:17:57 +01:00
sun4i_v4l2.c