Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 577bbf23 authored by Maxime Ripard's avatar Maxime Ripard Committed by Mauro Carvalho Chehab
Browse files

media: sunxi: Add A10 CSI driver



The older CSI drivers have camera capture interface different from the one
in the newer ones.

This IP is pretty simple. Some variants (one controller out of two
instances on some SoCs) have an ISP embedded, but there's no code that make
use of it, so we ignored that part for now.

[Sakari Ailus: Wrapped a few long lines, set mbus code using a macro.]

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 3f0e6df6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1425,6 +1425,7 @@ Allwinner A10 CSI driver
M:	Maxime Ripard <mripard@kernel.org>
L:	linux-media@vger.kernel.org
T:	git git://linuxtv.org/media_tree.git
F:	drivers/media/platform/sunxi/sun4i-csi/
F:	Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml
S:	Maintained

+1 −0
Original line number Diff line number Diff line
source "drivers/media/platform/sunxi/sun4i-csi/Kconfig"
source "drivers/media/platform/sunxi/sun6i-csi/Kconfig"
+1 −0
Original line number Diff line number Diff line
obj-y		+= sun4i-csi/
obj-y		+= sun6i-csi/
+11 −0
Original line number Diff line number Diff line
config VIDEO_SUN4I_CSI
	tristate "Allwinner A10 CMOS Sensor Interface Support"
	depends on VIDEO_V4L2 && COMMON_CLK && VIDEO_V4L2_SUBDEV_API && HAS_DMA
	depends on ARCH_SUNXI || COMPILE_TEST
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_FWNODE
	help
	  This is a V4L2 driver for the Allwinner A10 CSI

	  To compile this driver as a module, choose M here: the module
	  will be called sun4i_csi.
+5 −0
Original line number Diff line number Diff line
sun4i-csi-y += sun4i_csi.o
sun4i-csi-y += sun4i_dma.o
sun4i-csi-y += sun4i_v4l2.o

obj-$(CONFIG_VIDEO_SUN4I_CSI)	+= sun4i-csi.o
Loading