diff options
author | Suhrid Subramaniam <suhrid.subramaniam@mediatek.com> | 2023-07-17 16:23:28 -0700 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-02-28 16:57:35 +0000 |
commit | c64446c226d4e629884d2f5b148a01969e8ee84a (patch) | |
tree | 41d4dc6990c5f0df926df3dc6bd7c34bb12199eb | |
parent | 4d122bfbb7018dfd1ffe8fca5f6d0a716d7a5fa6 (diff) |
pipeline: simple: Add support for MediaTek MT8365 platforms
The camera pipeline for MediaTek MT8365 consists of the following:
Raw sensor (+ external ISP) --> SENINF --> CAMSV30 --> DRAM
SENINF (SENsor INterFace) is a CSI-2 receiver.
CAMSV30 (Camera Simple Version) is a DMA Engine which bypasses
ISP3.0 and writes directly to DRAM.
Both SENINF and CAMSV30 are supported by V4L2 drivers.
MT8365 platform consists of a hardware converter called MDP which
supports up to three streams.
Signed-off-by: Suhrid Subramaniam <suhrid.subramaniam@mediatek.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r-- | src/libcamera/converter/converter_v4l2_m2m.cpp | 1 | ||||
-rw-r--r-- | src/libcamera/pipeline/simple/simple.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libcamera/converter/converter_v4l2_m2m.cpp b/src/libcamera/converter/converter_v4l2_m2m.cpp index 2a4d1d99..a5fc979b 100644 --- a/src/libcamera/converter/converter_v4l2_m2m.cpp +++ b/src/libcamera/converter/converter_v4l2_m2m.cpp @@ -445,6 +445,7 @@ int V4L2M2MConverter::queueBuffers(FrameBuffer *input, } static std::initializer_list<std::string> compatibles = { + "mtk-mdp", "pxp", }; diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index 911051b2..e37b0d1c 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -193,6 +193,7 @@ static const SimplePipelineInfo supportedDevices[] = { { "dcmipp", {} }, { "imx7-csi", { { "pxp", 1 } } }, { "j721e-csi2rx", {} }, + { "mtk-seninf", { { "mtk-mdp", 3 } } }, { "mxc-isi", {} }, { "qcom-camss", {} }, { "sun6i-csi", {} }, |