media: rkisp1: Split CSI handling to separate file
authorPaul Elder <paul.elder@ideasonboard.com>
Tue, 14 Jun 2022 19:10:50 +0000 (20:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 11:08:36 +0000 (12:08 +0100)
commit8082e2f4994d2ce1ac0ac8d6182e10f3835207c4
tree7913db51a8ab2fc5f049c3192c773c0da3e5395c
parentb0b8ab684d7dfbfe33e0c92fb71ebf2912f2f091
media: rkisp1: Split CSI handling to separate file

Not all ISP instances include a MIPI CSI-2 receiver. To prepare for
making it optional, move code related to the CSI-2 receiver to a
separate file.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/rockchip/rkisp1/Makefile
drivers/media/platform/rockchip/rkisp1/rkisp1-common.h
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c [new file with mode: 0644]
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.h [new file with mode: 0644]
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c