From patchwork Sat Jul 15 00:23:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suhrid Subramaniam X-Patchwork-Id: 18838 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id EF35EBEFBE for ; Sat, 15 Jul 2023 00:24:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id AF6A9628BC; Sat, 15 Jul 2023 02:24:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1689380640; bh=L8FObRu4L1KEzeA0HaYIyHm6bLFoVRJw+qGjSSuapFo=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=AULCFSHNbApG+CzzkInawg5E9h51ec2lM2s9kxnIubfoyUHvv7HiXNPRICOp4Rpyu Nhy5s/Py7IBxR6MEbQ3J30zIX3QHYrkTfk+rO8Sslpk0ywEmtRWvqkRp60w6QXmWYX /gj0wyxyPhzqBWQrXd4hnzxTsR7BS677ZPU7hZoUSYT4f1DD4RLgotMooKiY2qL7cA 1tBAcoyG9bPHkezAMfJmIhkvqGzaFJNOcRT4qi2s//lwDt8pBapL5v4QQGoipUxeAQ wtpC2pTEw5a3o5t3JyaK1EXk8zx76e/1UcyOXbvTFvYqsb4ydnZNV9FwOVL2ZF3/tW JSY3c/HtE3z5A== Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A4B5C628BC for ; Sat, 15 Jul 2023 02:23:59 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="s37JXtHX"; dkim-atps=neutral Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1b7dfb95761so4407465ad.1 for ; Fri, 14 Jul 2023 17:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689380638; x=1691972638; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=T0PsSmv9AnmBsZHpUh0Rji2c4aUga4h9L7BINtGNytI=; b=s37JXtHX5mjk4bbAbamG3vOjuQWjISeqNO92Pm2SxhQnYTq/HbRoWtsbIkpt0v0Du2 /akfP6xTa5HJQxFmyAjU44bHig8LG2SoQOc/yZGnvWy8+kjoMjX1tM5+2eeCpqGE6/l0 1FAaa6RkuEy1hFRMD6HKupvxdL0Vr/FrU7O8nTLe5P/NXe1zOx8761bEzSZj3dR6CkYW W7UvzqUytX0KrxiCififSJiUwBtIbWH2VCPAewaJlO9+Bh5qqMtxahrJUXBcQXiIA4hS l/Rsd8Z0lPyS+YPuSqk5SwcsCNI/2CojnLB8VekP0qqpkB6VMIlQynNw5KzzQw6gRtYD nnVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689380638; x=1691972638; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T0PsSmv9AnmBsZHpUh0Rji2c4aUga4h9L7BINtGNytI=; b=ggQ//1UcYz/SBIlUXxlo5TEqFcVK5UDEPXefJpzvODySOtmA26FY/DT7PIc6kbyBUj KIF7vv2kWyEa3aLsjtfPVZ3SHG2ip6cWWbWLlee6LbHVmNlCBYzDqIJrHKk13jIFx7/q w8l1UBitbr0AdKiiPlyzxlBfdZide0L1EejXGl2K/ozZ5mGAxii8F5z2Sv+f+hKGY7yY HmGIDoUibP0c1Mk7w4nezsXoGiLOup21XOXSngptslsDMoPVXKAjNg7lNudaq3EIc5gn 9UrAJeSHnZKFbN4zYuLeTMtMu+RFmlcYrkqGi7uuubJl5hWhtuZWSJqHVddePh1v5CoP 1zUQ== X-Gm-Message-State: ABy/qLbB1hr4MTSHDlSLfbqvDDYdqlUz4ezinf8ytmPIPwUYbOpTkBPf V+wOHTEwDhprXTme/TqN5+c24oI1YeeTFQ== X-Google-Smtp-Source: APBJJlGlZHi/SepdNElUqnNyRRjGXSLkk5U+3s7KJiIBkyNmwf8W6ZlyFtCLNzabQUofskP9tGaM3A== X-Received: by 2002:a17:902:e807:b0:1b8:17e8:5472 with SMTP id u7-20020a170902e80700b001b817e85472mr556830plg.1.1689380637634; Fri, 14 Jul 2023 17:23:57 -0700 (PDT) Received: from localhost.localdomain (sfosm0151r356001-v22.wiline.com. [67.207.106.98]) by smtp.gmail.com with ESMTPSA id p18-20020a170902ead200b001a98f844e60sm8232478pld.263.2023.07.14.17.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 17:23:57 -0700 (PDT) X-Google-Original-From: Suhrid Subramaniam To: libcamera-devel@lists.libcamera.org Date: Fri, 14 Jul 2023 17:23:22 -0700 Message-ID: <20230715002323.215830-2-suhrid.subramaniam@mediatek.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Subject: [libcamera-devel] [libcamera-devel, v1, 1/1] pipeline: simple: Add support for MediaTek MT8365 platforms X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Suhrid Subramaniam via libcamera-devel From: Suhrid Subramaniam Reply-To: Suhrid Subramaniam Cc: Suhrid Subramaniam Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 --- src/libcamera/pipeline/simple/simple.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index 05ba76bc..24835d50 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", {} },