linux-sg2042/drivers/media/platform/sunxi
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
..
sun4i-csi media: sun4i-csi: Add support for A10 CSI1 camera sensor interface 2020-01-04 08:21:35 +01:00
sun6i-csi media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
sun8i-di media: sun8i: Remove redundant dev_err call in deinterlace_probe() 2019-12-16 10:20:10 +01:00
Kconfig media: sunxi: Add A10 CSI driver 2019-08-23 07:31:35 -03:00
Makefile media: sun4i: Add H3 deinterlace driver 2019-10-24 19:07:59 -03:00