[Buildroot] [PATCH 9/9] package/libcamera: add support for PiSP pipeline
Quentin Schulz
foss+buildroot at 0leil.net
Fri Apr 4 16:47:40 UTC 2025
From: Quentin Schulz <quentin.schulz at cherry.de>
v0.5.0 brought support for the ISP found on the Raspberry Pi 5, named
PiSP.
Let's add knobs for it. Note that it has a hard dependency on librt.
Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
package/libcamera/Config.in | 9 +++++++++
package/libcamera/libcamera.mk | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in
index 92361bbade9bb6f1cf1d152aa27d861470dd9115..9f5427e0e22e8df2d9d921397bb72e274616b5ec 100644
--- a/package/libcamera/Config.in
+++ b/package/libcamera/Config.in
@@ -67,6 +67,15 @@ config BR2_PACKAGE_LIBCAMERA_PIPELINE_MALI_C55
help
Pipeline for Arm Mali-C55 ISP.
+config BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI_PISP
+ bool "rpi/pisp pipeline"
+ depends on BR2_arm || BR2_aarch64
+ select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
+ select BR2_PACKAGE_LIBPISP
+ help
+ Pipeline for Raspberry Pi devices with PiSP (Raspberry Pi 5).
+ Requires librt.
+
config BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI_VC4
bool "rpi/vc4 pipeline"
depends on BR2_arm || BR2_aarch64
diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk
index d7324240154944e60ec546bf1968e9723b79c041..6877662bdf02df1c7f8ff37039b3096e96e52481 100644
--- a/package/libcamera/libcamera.mk
+++ b/package/libcamera/libcamera.mk
@@ -58,6 +58,10 @@ LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IMX8_ISI) += imx8-isi
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3) += ipu3
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_MALI_C55) += mali-c55
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1) += rkisp1
+ifeq ($(BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI_PISP),y)
+LIBCAMERA_PIPELINES-y += rpi/pisp
+LIBCAMERA_DEPENDENCIES += libpisp
+endif
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI_VC4) += rpi/vc4
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE) += simple
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO) += uvcvideo
--
2.49.0
More information about the buildroot
mailing list