From patchwork Sat Jul 15 00:22:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suhrid Subramaniam X-Patchwork-Id: 18837 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 82506BDC71 for ; Sat, 15 Jul 2023 00:23:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 376B2628BC; Sat, 15 Jul 2023 02:23:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1689380594; bh=L8FObRu4L1KEzeA0HaYIyHm6bLFoVRJw+qGjSSuapFo=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=wheSQwDT0vXBGlMNqhygXvHibjmjnqzmy1I9Ynz/SAmKOSq/HOZZzLEuliQVZo8RM h1SKF+uNw9bSWNiaQlZKT9/n1vbDighFbrov+zmNYta+YBFTGy484QCVejrsc9nvgg EZiZivHGdUiDyq79R1ne8qpT0A1Cw42PuVaz411HRxgt5J7Kcs1oZQ05KazINUWSA0 K0Tey3MG+XGy2qHveyTBF67dvoHhjtY17rC0c3cdfNE/qy8m43iW7SkaNXHVxVWqWJ OQzHct2MLGXzGPS6V44yMsc8glZfpl8ZKpaOOwV/MUXxM9GpbeZHVxyQepH5ouC4fG r95+xUa8BHvVg== Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C4170628BD for ; Sat, 15 Jul 2023 02:23:12 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NsoPHJfB"; dkim-atps=neutral Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1b898cfa6a1so3715155ad.1 for ; Fri, 14 Jul 2023 17:23:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689380591; x=1689985391; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T0PsSmv9AnmBsZHpUh0Rji2c4aUga4h9L7BINtGNytI=; b=NsoPHJfBLsVyDVa5VwUxdGtxbd4BkoiUy+jryACsr9/zNwAHrQM5694/2iaWpGUois hg/yFacsuSUpVlIPnH3/OzAJ6em2HZ8aPh8YY/LeotVO37NA+Pa2mgsNlHV5OZP8K4yN VZOiRgq+CMG72xDsuFWZkEIOrtG2LXGpB44JpFMdl778Y8AL/TwD8/CW0DZTGW0bPqvC upcbyL3tlBe8b5vKSISShGwQJ77r0gEunTRUF1re7kKOfFS0xyiukbxQNRiEc+bosGVD BYmGzzgW1osIXZa5Ip7X37w0e2g8Ue+zFVxOhilHfzkr3ufF/qVDB3BEO99pRUZA/h/p OxSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689380591; x=1689985391; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T0PsSmv9AnmBsZHpUh0Rji2c4aUga4h9L7BINtGNytI=; b=hirdTrdqZdDe1GxQoMJipdWKfvCV32APr6hIOOwLQbmQsoOnuUhj9BXQGwyXFkCccD LHnHplyIF56R6zokm04owjbhRPsNmcJ8bzEkEhuotxZr4O2Bxzaxgp1iDXHu2eU+z4rv /KH4KcvDVfd+HS3zRccjauQh3JiI3TSpsBi5N3bMD4R2DTFVZ4fTphjh12sUOkJRBoYD LV68sctsyTWg4nzmCdB3lE1tO/0pTOBZkwW+Zbq63ltl3gmjHca1DpoJ3I6eEiXddhzq V57MvNfbdq0FwH4rfD4+FMO03lopSaK0Pmk7eLI38zYaxSNS7RePzxC8qxACi8FbqjX6 4EKw== X-Gm-Message-State: ABy/qLZ0Tazn+5Kgor2dbo9BI1NwchhubWX82mzw5LSFA89eLSQUuh5u xSzn8Ix1VbKqLX+2erHkWTOE9OKuOP7ecg== X-Google-Smtp-Source: APBJJlFg93Lw+e9bKhbIqOhINzJKOqUzQAmztOHIgveokrsEgE5//8+Wl/Ye/NGN6FVPB2HjVU2jvw== X-Received: by 2002:a17:902:da85:b0:1b8:9fc4:2733 with SMTP id j5-20020a170902da8500b001b89fc42733mr611750plx.3.1689380590883; Fri, 14 Jul 2023 17:23:10 -0700 (PDT) Received: from localhost.localdomain (sfosm0151r356001-v22.wiline.com. [67.207.106.98]) by smtp.gmail.com with ESMTPSA id w2-20020a170902904200b001b8013ed362sm8282436plz.96.2023.07.14.17.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 17:23:10 -0700 (PDT) X-Google-Original-From: Suhrid Subramaniam To: libcamera-devel@lists.libcamera.org Date: Fri, 14 Jul 2023 17:22:21 -0700 Message-ID: <20230715002221.215174-2-suhrid.subramaniam@mediatek.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230715002221.215174-1-suhrid.subramaniam@mediatek.com> References: <20230715002221.215174-1-suhrid.subramaniam@mediatek.com> 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 Reviewed-by: Kieran Bingham --- 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", {} },