From patchwork Wed Aug 7 08:03:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 20810 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 9A6C4BE173 for ; Wed, 7 Aug 2024 08:03:44 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 82E4E6338D; Wed, 7 Aug 2024 10:03:43 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="UmaRG3xL"; dkim-atps=neutral Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3F9D461946 for ; Wed, 7 Aug 2024 10:03:41 +0200 (CEST) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-428fb103724so3239055e9.1 for ; Wed, 07 Aug 2024 01:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1723017820; x=1723622620; 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=IJm8pbJ0SY74XMKaqISltl2H02aq5BQfGmub3+5BLVM=; b=UmaRG3xLzbl6vGM4bayheMS0PGZKWTzsYMNqxUpLaLtFcnSFG9nUzXqIKxZm/QcChD yvs+sCeIe4ntG+X94eCgd46k0cIp4N7HYS0BKgv7lhDjPBJ1z6tIETka35Sh6UJppEBF vaz3w6uoQfbJsFvjMMeGosMQ6mvXqP+Uw1sazxw3AmvtPzid9eTrS/VR8o55cuzMGbWo QQaKjRQ+2Vu6ICe20GKbGmtYhWuedOhHPfqauTNJzCW7WqcdxlJA8o0EuBCx5LiGRC5H qcOF25R82F+aABtbf1l6Bgn+OMayFS3BbzIzbGG0hK7NcgoyVyoRcHac7H4H2DjMEDw5 MEBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723017820; x=1723622620; 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=IJm8pbJ0SY74XMKaqISltl2H02aq5BQfGmub3+5BLVM=; b=p0WDEtNzgAZH+1gHQqG0HZnXgqgkQSHqVMVeq8YvgSPH7OStY9gHJRFcw+5pNdcqNK GZIxvbUbSHhptcr4V46vnoG0gPuH7GvkFcjrwLQgMdTUnerUbXjpK5pE1piKBV2E3ZBs kjxFZAfBvWjmLzxLYi+IUEe/QhjGtX9syJDJAzONoa/ojsuRIDgM1fGhEuf88/kD96Yf fss6pQoiX42e6YtGsyKAOzWV/Jqoa+pKBOVwyY68yLVP5AvzZBCUUe3pAeQ5oQgvBSh4 Yf1F7HIRY3d498xowwNQdjyc1xIk02RC6bAezARDzgU/h+pLBEPhJTM3lm92iLIO5LNl nrOg== X-Gm-Message-State: AOJu0YxIkyyM00FolSqDlwy4+Ev/Vb/Nvf5h709g3NIqo7ufR2zvzvpj ywx5lDL52QKUZT3yMoO3jTLOR4rc1f4BelNqHCL6ife2KSnXEdOtIIa91F950CQ81yN31j1cjiZ k X-Google-Smtp-Source: AGHT+IFAuUoIwyo8FoHxTtx+OsVwmQbDE2dVvR06cvOl7sPrCxNx/V6sCpVO8vnnRlDKexmys5yiCQ== X-Received: by 2002:a05:6000:1545:b0:367:895f:619e with SMTP id ffacd0b85a97d-36bf0dad228mr1164013f8f.11.1723017820116; Wed, 07 Aug 2024 01:03:40 -0700 (PDT) Received: from naush-laptop.pitowers.org ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905961e9dsm16403005e9.8.2024.08.07.01.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 01:03:39 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck Subject: [PATCH v1 0/2] Raspberrypi: Add support for IMX585 Date: Wed, 7 Aug 2024 09:03:42 +0100 Message-Id: <20240807080344.12780-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 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, This patch series, authored by Will Wang at https://github.com/raspberrypi/libcamera/pull/161, adds support for the IMX585 sensor. I've made some minor formatting edits to the patches and commit messages, and added the relevant sensor properties on top of his original patches. The accompanying Pi 5 support for this sensor will be added to our downstream tree for now, and will be merged upstream together with the rest of the Pi 5 changes. Regards, Naush will whang (2): libcamera: formats: Adding Support for Y12P ipa: rpi: Adding IMX585 + IMX585-mono support src/ipa/rpi/cam_helper/cam_helper_imx585.cpp | 75 ++++ src/ipa/rpi/cam_helper/meson.build | 1 + src/ipa/rpi/vc4/data/imx585.json | 320 ++++++++++++++++++ src/ipa/rpi/vc4/data/imx585_mono.json | 180 ++++++++++ src/ipa/rpi/vc4/data/meson.build | 2 + src/libcamera/bayer_format.cpp | 2 + src/libcamera/formats.cpp | 10 + src/libcamera/formats.yaml | 3 + .../sensor/camera_sensor_properties.cpp | 4 + src/libcamera/v4l2_pixelformat.cpp | 2 + 10 files changed, 599 insertions(+) create mode 100644 src/ipa/rpi/cam_helper/cam_helper_imx585.cpp create mode 100644 src/ipa/rpi/vc4/data/imx585.json create mode 100644 src/ipa/rpi/vc4/data/imx585_mono.json