Skip to content

Commit

Permalink
media: phytium-jpeg: Add a Phytium JPEG Engine driver
Browse files Browse the repository at this point in the history
Phytium JPEG Engine is used to capture video data from external
digital/analog sources and compress it to JPEG images. The
driver adopts the interfaces provided by V4L2 framework.

Signed-off-by: Li Guohui <[email protected]>
Signed-off-by: Wang Min <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
  • Loading branch information
hhhui-L authored and MingcongBai committed May 22, 2024
1 parent fd600e1 commit fb2314d
Show file tree
Hide file tree
Showing 7 changed files with 1,659 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/platform/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ source "drivers/media/platform/microchip/Kconfig"
source "drivers/media/platform/nuvoton/Kconfig"
source "drivers/media/platform/nvidia/Kconfig"
source "drivers/media/platform/nxp/Kconfig"
source "drivers/media/platform/phytium/Kconfig"
source "drivers/media/platform/qcom/Kconfig"
source "drivers/media/platform/renesas/Kconfig"
source "drivers/media/platform/rockchip/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/media/platform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ obj-y += microchip/
obj-y += nuvoton/
obj-y += nvidia/
obj-y += nxp/
obj-y += phytium/
obj-y += qcom/
obj-y += renesas/
obj-y += rockchip/
Expand Down
14 changes: 14 additions & 0 deletions drivers/media/platform/phytium/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-License-Identifier: GPL-2.0-only

comment "Phytium media platform drivers"

config VIDEO_PHYTIUM_JPEG
tristate "Phytium JPEG Encoder Engine driver"
depends on V4L_PLATFORM_DRIVERS
depends on VIDEO_DEV
select VIDEOBUF2_DMA_CONTIG
help
Support for the Phytium JPEG Encoder Engine embedded
in the Phytium SOCs. The engine can capture and
compress video data from digital or analog sources.

5 changes: 5 additions & 0 deletions drivers/media/platform/phytium/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
#
phytium_jpeg-objs := phytium_jpeg_core.o

obj-$(CONFIG_VIDEO_PHYTIUM_JPEG) += phytium_jpeg.o
Loading

0 comments on commit fb2314d

Please sign in to comment.