kernel: add support for imx pxp

This adds support for the i.MX Pixel Pipeline IP block
which is available on some imx6 flavours [1]

This allows to use hardware offloading for operations like:
- Colour conversion
- Scaling
- Rotation

[1] https://en.wikipedia.org/wiki/I.MX#i.MX_6_series

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
This commit is contained in:
Koen Vandeputte 2023-06-26 17:23:07 +02:00
parent 7a726297a7
commit a9a872b9d4

View File

@ -1105,3 +1105,20 @@ define KernelPackage/video-coda/description
endef
$(eval $(call KernelPackage,video-coda))
define KernelPackage/video-pxp
TITLE:=i.MX PXP support
DEPENDS:=@TARGET_imx +kmod-video-mem2mem +kmod-video-dma
KCONFIG:= CONFIG_VIDEO_IMX_PXP
FILES:= $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/imx-pxp.ko
AUTOLOAD:=$(call AutoProbe,imx-pxp)
$(call AddDepends/video)
endef
define KernelPackage/video-pxp/description
The i.MX Pixel Pipeline (PXP) kernel module
This enables hardware accelerated support for image
Colour Conversion, Scaling and Rotation
endef
$(eval $(call KernelPackage,video-pxp))