Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1591048rdb; Thu, 7 Dec 2023 03:46:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1Paf38YSwLsaGQmuLyjl1K4kGLeh0ZOYG57rb5i03l0aerk1m+BmI/z346uVFiQNmaIQp X-Received: by 2002:a17:902:b198:b0:1cf:c901:5451 with SMTP id s24-20020a170902b19800b001cfc9015451mr2172982plr.14.1701949566935; Thu, 07 Dec 2023 03:46:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701949566; cv=none; d=google.com; s=arc-20160816; b=mva9qKkdtI3zo4SJdpJ7yP9Z701NBAPH/D+EuKrcI3XEpmsWr2YuiUx0wKPPAQMZKf ER6PgKTmnb0zv7bRNt1iG+pdfAcVcSOYLDAQoZIjgeSuKhkV3uW83tHkXXTHq2nmrZZz MPm9P7OqrGbnZD5thDD402f4eAo6Eo1rYj8XCJKoikCDsX3Annf6ZeINbhZsGoVdfllg BHZ/Q4DTo6MJgsbZWA9fdKdQpvicDZBSpFd4TJEWiMguACe57yPY79LPzVx3m5h/UH33 RlMpFa5KpX9Sl125hFgMrVc5T2zcG5/fU2/AmjzKnqjtDoVRshB5M677GQWn5s8+FkYm KYcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZeL1F+NyfKIHyM9j+QHFJMImwRrHYGbT1S3aj/asmYo=; fh=m7C8+SPTNFFq+fSkm5zhL6auNuazU02+PUYploADZ3s=; b=ZRL9Xb2nrvlmWqkjuJjzl4/7s49XIpYWW+dr0dDxxsMbdRNkZ4cPMVWfI2DEjQoIEi uDpLl8fP6QDbfBUbbdv7dEdWHT6ZDJdu5E8Dr36B1QhLtLML7zMWMTMQvw+WakTIxPVg 8P91l3TNrUOA5j9Y9UeI81Pe3ByrcUGN6gZyl9p4DjzA9V+mxFTTaHjjUHF6cfN1vP8x gxaXL850CGGFPIYtQa2gVF8CavgJD3guu7hIDk6p48fi4vJeyXZqG5YSaMnaXlnHEjcN 6B/Ue8+b/RuqQbM/zkUogR+j4oQnVbMn2XuJXFatUkjpsVbeOb3t6pr5qfJpA5FFKAHA v+yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=TsClYi8H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id t5-20020a170902bc4500b001cfb834d371si1013993plz.113.2023.12.07.03.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 03:46:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=TsClYi8H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6F7408079AFC; Thu, 7 Dec 2023 03:45:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232467AbjLGLpD (ORCPT + 99 others); Thu, 7 Dec 2023 06:45:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231439AbjLGLpB (ORCPT ); Thu, 7 Dec 2023 06:45:01 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B58D19A; Thu, 7 Dec 2023 03:45:08 -0800 (PST) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A3C61552; Thu, 7 Dec 2023 12:44:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701949465; bh=NACyl09AvpTrdZ3tNyR3vmOK5XRdr6IgtkAqVWbjgtw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TsClYi8HjV965xFtDpO6Jo40j59Fkg4dPlOdu1vHFICbtYuHYx2unsL6Yra6y8vuQ zl5D9A+a1lMkGLwQ7fXCK4gnJXFlFQ9xnyz99OVGEN2/Vm1NHZ7nMTbemPeivSKvc/ KbLxucFyLWA0PcbG9eSjH6+xN4Ahlg1xK90Q7zRo= Date: Thu, 7 Dec 2023 13:45:13 +0200 From: Laurent Pinchart To: Zhi Mao Cc: mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shengnan.wang@mediatek.com, yaya.chang@mediatek.com, 10572168@qq.com, Project_Global_Chrome_Upstream_Group@mediatek.com, yunkec@chromium.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jacopo.mondi@ideasonboard.com, sakari.ailus@linux.intel.com, hverkuil-cisco@xs4all.nl, heiko@sntech.de, jernej.skrabec@gmail.com, macromorgan@hotmail.com, linus.walleij@linaro.org, hdegoede@redhat.com, tomi.valkeinen@ideasonboard.com, gerald.loacker@wolfvision.net, andy.shevchenko@gmail.com, bingbu.cao@intel.com, dan.scally@ideasonboard.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v2 0/2] media: i2c: Add support for GC08A3 sensor Message-ID: <20231207114513.GB6104@pendragon.ideasonboard.com> References: <20231207052016.25954-1-zhi.mao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231207052016.25954-1-zhi.mao@mediatek.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 03:45:18 -0800 (PST) Hi Zhi Mao, I have reviewed your v1 before noticing the v2, sorry about that. Most of the comments I made on v1 are still applicable, so I'll skip v2 and review v3. On Thu, Dec 07, 2023 at 01:20:14PM +0800, Zhi Mao wrote: > This series adds YAML DT binding and V4L2 sub-device driver for Galaxycore's > GC08A3 8-megapixel 10-bit RAW CMOS 1/4" sensor, with an MIPI CSI-2 image data > interface and the I2C control bus. > > The driver is implemented with V4L2 framework. > - Async registered as a V4L2 sub-device. > - As the first component of camera system including Seninf, ISP pipeline. > - A media entity that provides one source pad in common. > - Used in camera features on ChromeOS application. > > Also this driver supports following features: > - manual exposure and analog gain control support > - vertical blanking control support > - test pattern support > - media controller support > - runtime PM support > - support resolution: 3264x2448@30fps, 1920x1080@60fps > > Previous versions of this patch-set can be found here: > v1: https://lore.kernel.org/linux-media/20231123115104.32094-1-zhi.mao@mediatek.com/ > > Changes of v2 mainly address comments from Krzysztof/Rob Herring&Conor Dooley. > Compared to v1: > - Fix some review comments > - Add reviewed-by for sensor driver > - Fix some build-error and warning message > > Thanks > > > Zhi Mao (2): > media: i2c: Add GC08A3 image sensor driver > media: dt-bindings: media: i2c: Document GC08A3 bindings > > .../bindings/media/i2c/galaxycore,gc08a3.yaml | 127 ++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > drivers/media/i2c/Kconfig | 14 + > drivers/media/i2c/Makefile | 1 + > drivers/media/i2c/gc08a3.c | 1888 +++++++++++++++++ > 5 files changed, 2032 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml > create mode 100644 drivers/media/i2c/gc08a3.c -- Regards, Laurent Pinchart