mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
media: platform: Add C3 MIPI CSI-2 driver
Add a driver for the CSI-2 receiver unit found on the Amlogic C3 SoC. Create a drivers/media/platform/amlogic/c3/ directory to host the driver and the forthcoming support for the Amlogic C3 MIPI adapter and C3 ISP. This driver is used to receive the MIPI data from image sensor. Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Keke Li <keke.li@amlogic.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> [hverkuil: fix typo: uinit -> unit]
This commit is contained in:
@@ -1259,6 +1259,7 @@ M: Keke Li <keke.li@amlogic.com>
|
||||
L: linux-media@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/media/amlogic,c3-mipi-csi2.yaml
|
||||
F: drivers/media/platform/amlogic/c3/mipi-csi2/
|
||||
|
||||
AMLOGIC PINCTRL DRIVER
|
||||
M: Xianwei Zhao <xianwei.zhao@amlogic.com>
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
|
||||
comment "Amlogic media platform drivers"
|
||||
|
||||
source "drivers/media/platform/amlogic/c3/Kconfig"
|
||||
source "drivers/media/platform/amlogic/meson-ge2d/Kconfig"
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
obj-y += c3/
|
||||
obj-y += meson-ge2d/
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
source "drivers/media/platform/amlogic/c3/mipi-csi2/Kconfig"
|
||||
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
obj-y += mipi-csi2/
|
||||
@@ -0,0 +1,16 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
config VIDEO_C3_MIPI_CSI2
|
||||
tristate "Amlogic C3 MIPI CSI-2 receiver"
|
||||
depends on ARCH_MESON || COMPILE_TEST
|
||||
depends on VIDEO_DEV
|
||||
depends on OF
|
||||
select MEDIA_CONTROLLER
|
||||
select V4L2_FWNODE
|
||||
select VIDEO_V4L2_SUBDEV_API
|
||||
help
|
||||
Video4Linux2 driver for Amlogic C3 MIPI CSI-2 receiver.
|
||||
C3 MIPI CSI-2 receiver is used to receive MIPI data from
|
||||
image sensor.
|
||||
|
||||
To compile this driver as a module choose m here.
|
||||
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
obj-$(CONFIG_VIDEO_C3_MIPI_CSI2) += c3-mipi-csi2.o
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user