From patchwork Tue Sep 24 08:26:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 21339 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 50BD5C3257 for ; Tue, 24 Sep 2024 09:01:01 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 26C326350B; Tue, 24 Sep 2024 11:01:00 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="nJpQSuUQ"; dkim-atps=neutral Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C350D634F9 for ; Tue, 24 Sep 2024 11:00:57 +0200 (CEST) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-206b9455460so40066275ad.0 for ; Tue, 24 Sep 2024 02:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727168455; x=1727773255; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2ToLULhlKVZvc06FLm435/0+xfzodo1R7/CUFQBoheg=; b=nJpQSuUQAnEveeiu/8qz2qV42EUktVXEMj2O7RKDzboWZw30zNIfnbjeytZCFK9Tks 7KZhXlVAHcygHknRGif+sITztpUYuhkEBG0lvvRvNcQfMFC+o1FdrZ5X152IY3fTt6zw XlH/ger3zmQy5u2bBuI2jYzP+QsEusgJcPtTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727168455; x=1727773255; 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=2ToLULhlKVZvc06FLm435/0+xfzodo1R7/CUFQBoheg=; b=ZFUHCNlIMHfOL0PaHo438rvYqIkdRzOdHk6BeReDaw0GZ1G55ADzJ7VfELcYMz1kYB a1Zb+22JvbsNnkH8AVXCc1Tl0iphSCwZwcYkkCuz/av12Pfjzms2Sk9dDFIKoYKO2kro Yy8UfvnGJm7aQTXE7OtpPdG+PSwT4s08OQWZavE9VtGpTQ+bKK/weAQGpmlo/hdLDfPC Cxb11DXnCI4lYmP4UojraHN1XySS4xuPsTsnazALSdIXpzvXEOhMQaiY/6AlkoW+iYdz wrldT0uu4l35WGLnvO6rZNDfs3zGcitgFqknV+gKovgD4odvnuoQlsPaBaGKhzzMh3lC ur4w== X-Gm-Message-State: AOJu0YzT9SWl3yRVp87MeKoZizJTWy321DKzBrfjBrUBa6f1D93PN8/K 0ukZ7NLeb0FHsVSQFXpf/ldJXlv9eTjBdWSaiRKFx4our0DE9OIz2ZxaCcHFk2U5LLZY6NwN8eA = X-Google-Smtp-Source: AGHT+IEw7oSej0+x1vK/CyCL2LNXAUDQ7l6yU8ZgMTpIkDCUrC4m7JFGUiXIU83PNGM270nbg9vS4Q== X-Received: by 2002:a17:902:ce8c:b0:207:6d2:1aa5 with SMTP id d9443c01a7336-20aed0b299cmr32633695ad.13.1727168455277; Tue, 24 Sep 2024 02:00:55 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (0.223.81.34.bc.googleusercontent.com. [34.81.223.0]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20af185853dsm6803885ad.265.2024.09.24.02.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2024 02:00:54 -0700 (PDT) From: Harvey Yang X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Cc: Harvey Yang Subject: [PATCH v2 0/2] Add camera sensor properties for ciri Date: Tue, 24 Sep 2024 08:26:09 +0000 Message-ID: <20240924090051.1617040-1-chenghaoyang@google.com> X-Mailer: git-send-email 2.46.0.792.g87dc391469-goog MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi folks, This patch adds camera sensor properties for sensors on ciri. It's required to produce correct color bars test pattern instead of random pattern. Tested on mtkisp7 branch with ChromeOS tast test `camera.HAL3Frame`. This patch passed gitlab pipeline: https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1276930 The source file includes quite some legacy code that has linter warnings. This patch follows the same legacy format, so there are some lint warnings as well. v2: - Removed hi1339 that was not upstreamed and deprecated. - Added CameraSensorHelper implementations, while might not end up using. - Split into two patches for two sensors. BR, Harvey Harvey Yang (2): libcamera: Add gc05a2 camera sensor proprietary for ciri libcamera: Add gc08a3 camera sensor proprietary for ciri src/ipa/libipa/camera_sensor_helper.cpp | 34 +++++++++++++++++++ .../sensor/camera_sensor_properties.cpp | 14 ++++++++ 2 files changed, 48 insertions(+)