Skip to content

Commit e6d71f0

Browse files
committed
drivers: video: Add PxP m2m driver
The NXP's PxP is a 2D pixel engine which is capable to do some image transformation such as rotation, flipping, color conversion, etc. Make a driver for it in the video m2m category. Signed-off-by: Phi Bang Nguyen <[email protected]>
1 parent 3d61a2a commit e6d71f0

File tree

8 files changed

+570
-3
lines changed

8 files changed

+570
-3
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ zephyr_library_sources(video_device.c)
99

1010
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_CSI video_mcux_csi.c)
1111
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_MIPI_CSI2RX video_mcux_mipi_csi2rx.c)
12+
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_PXP video_mcux_pxp.c)
1213
zephyr_library_sources_ifdef(CONFIG_VIDEO_SHELL video_shell.c)
1314
zephyr_library_sources_ifdef(CONFIG_VIDEO_SW_GENERATOR video_sw_generator.c)
1415
zephyr_library_sources_ifdef(CONFIG_VIDEO_MT9M114 mt9m114.c)

drivers/video/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ source "drivers/video/Kconfig.mcux_csi"
7070

7171
source "drivers/video/Kconfig.mcux_mipi_csi2rx"
7272

73+
source "drivers/video/Kconfig.mcux_pxp"
74+
7375
source "drivers/video/Kconfig.shell"
7476

7577
source "drivers/video/Kconfig.sw_generator"

drivers/video/Kconfig.mcux_pxp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# NXP PxP driver configuration option
2+
3+
# Copyright 2025 NXP
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config VIDEO_MCUX_PXP
7+
bool "NXP MCUX PxP driver"
8+
default y
9+
depends on DT_HAS_NXP_PXP_ENABLED

0 commit comments

Comments
 (0)