forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: starfive: Add Starfive Camera Subsystem driver
Add the driver for Starfive Camera Subsystem found on Starfive JH7110 SoC. It is used for handing image sensor data. Signed-off-by: Jack Zhu <jack.zhu@starfivetech.com>
- Loading branch information
1 parent
b3d80de
commit 99a31fd
Showing
16 changed files
with
6,930 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
comment "Starfive media platform drivers" | ||
|
||
config VIDEO_STARFIVE_CAMSS | ||
tristate "Starfive Camera Subsystem driver" | ||
depends on V4L_PLATFORM_DRIVERS | ||
depends on VIDEO_DEV && OF | ||
select MEDIA_CONTROLLER | ||
select VIDEO_V4L2_SUBDEV_API | ||
select VIDEOBUF2_DMA_CONTIG | ||
select V4L2_FWNODE | ||
help | ||
Enable this to support for the Starfive Camera subsystem | ||
found on Starfive JH7110 SoC. | ||
|
||
To compile this driver as a module, choose M here: the | ||
module will be called stf-camss. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Makefile for StarFive camera subsystem driver. | ||
# | ||
|
||
starfive-camss-objs += \ | ||
stf_camss.o \ | ||
stf_isp.o \ | ||
stf_isp_hw_ops.o \ | ||
stf_video.o \ | ||
stf_vin.o \ | ||
stf_vin_hw_ops.o | ||
|
||
obj-$(CONFIG_VIDEO_STARFIVE_CAMSS) += starfive-camss.o \ |
Oops, something went wrong.