Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1890090rdb; Sun, 4 Feb 2024 05:51:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/SO4u1RnuI5CWMKzrN/DWzSsNgqiLZLwBv935nlRftp3+bI0yHBYeR0UXak9BJIpAcqPk X-Received: by 2002:a17:906:bcf7:b0:a2f:46c7:4658 with SMTP id op23-20020a170906bcf700b00a2f46c74658mr9989779ejb.28.1707054685257; Sun, 04 Feb 2024 05:51:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707054685; cv=pass; d=google.com; s=arc-20160816; b=BASjHthgJ0pG8I4nEZWBsc8LVEBUxhZCadjL0R4w4TdmPhWibrsg0+SJqEJ/1ITNgo wbcidbwBYW7G3GAfrLN7OPiqHcfU1lrkOqlhYbLdQZRtv3rDdvdcL36CN8T0RHH5gKqY KUoQtmCVaZ0KBbyBO4tnfPJ1ZC21bXc5QXPCyxh3MghtJY/GRSAJcxJKLK+LWbDdmLnt 5w8Vs4YyRzkIjraiYAkElSRvLg3Eg7bI7xZ+cJKuG4oNhHYyNe4DvCFswDSU9Korjhi1 HfAERNsjFTjVZG+kgGYQroWgbjScpeGS5rYrdFtqlPCkbzh4lFTWWC+YIuDBLGJ7bDZ9 oUzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3WPGYWENLz/sIakGt75SCkmHKLe09AJ2u1vWvmY+Csg=; fh=IEujvdyrKGBkQcRvYt44NJLpiSKplrYhXP7aQn0StPI=; b=IgcpM60dH2wK/WPT1nV8eXKf2DenJRTNKU5qJ2mllA+4bbArDVWUsmLZB0RCaCQ2GS /q5vNFtj93zA5cg9fjWuq8AQN5e5CWktxFdeUo7JA4YWjSXtsQga1AByDJsUmHWjqJsC DrK89Eebl5RhfSPIwoBJVvKTmb5vG3+LoOWUBthm7WCYLvQxX3qCTXTrBXPzPtSkhqjs zJFIDOShfZLcYDyUTImBrt01q0PkAq60K6WtrmusOCm/ywDWRxj3lOX3Uk2PTmMrQmQ1 NdGoXBWQ8HTvsaNRDw5CDXgSOipI8ZdgYMRx/Q8+7IOLGWJM5n/H6KR7IbicjV8JyiNs GDJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=WFXe4dUJ; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-51683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51683-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXaG/HHOXFRzw8HmZUdcBBnNKNarhluHfuiTCJCL0aA16JNI6m42uBV3QbeVSwYC9+PkS1TUoTjlXFL0Gmb183GaJwSaDy8CGw9+YqwYA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q4-20020a1709060e4400b00a376273c204si1387244eji.168.2024.02.04.05.51.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 05:51:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=WFXe4dUJ; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-51683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51683-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 770341F21804 for ; Sun, 4 Feb 2024 13:51:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93451225CB; Sun, 4 Feb 2024 13:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="WFXe4dUJ" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D54F224EA; Sun, 4 Feb 2024 13:50:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707054662; cv=none; b=snWAN0UIx3mjdmNWBFrKgOo2Wr3Y2ucKT+c5+NqhZV9ensNTUWCkKL89JkIlactwajnjvUjv9AIjCzUrEdKsCx93oxuSSxJsQ3bNGV3HG4Y7eDP+yXBDvAXsZOTofi1a7YOjHQUobSJpd7fMYO3sH+x/9keB/m2/zI5d+wqm3oA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707054662; c=relaxed/simple; bh=4/u6c8A7HPqivSqSRYin51hS3p0zUCCOPF4PXCVBzYY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uLiyQBk7ybijItT0mXRFi1Gs0bUI/v7w42qp3BZOwY/U5OMYiyQdEUi2Lwb62fX+PCkF7s6TLw6NAkPeDx0BzMZxsErpyfL+CEDBkQwY6LjMQ3qy1UyybC85y1I81VkUj1OyaRkehKu8m+mtl7YQHQOpnsxmsK0X2nTqhHTzMAg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=WFXe4dUJ; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (unknown [151.216.142.210]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E9F6C720; Sun, 4 Feb 2024 14:49:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1707054574; bh=4/u6c8A7HPqivSqSRYin51hS3p0zUCCOPF4PXCVBzYY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WFXe4dUJuMzaOEeLaWAsJL0smy/yif2Tw2PnsZJwJZ0fYQAKJsFHBBLkxOO8SOxAJ FLUVjjt/qc56Z5GGKRLMPL2MEeq/6pHs41aZU6UJx1idAkEaqURxI8C8Nweik+Ssb4 3N2pN5Ch1jqlWKbR+g87QY5aTUTVAvPlY2I3AvMA= Date: Sun, 4 Feb 2024 15:50:56 +0200 From: Laurent Pinchart To: Zhi Mao Cc: mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sakari.ailus@linux.intel.com, 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, 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, Krzysztof Kozlowski Subject: Re: [PATCH v4 1/2] media: dt-bindings: i2c: add GalaxyCore GC08A3 image sensor Message-ID: <20240204135056.GA6804@pendragon.ideasonboard.com> References: <20240204061538.2105-1-zhi.mao@mediatek.com> <20240204061538.2105-2-zhi.mao@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240204061538.2105-2-zhi.mao@mediatek.com> Hi Zhi, Thank you for the patch. On Sun, Feb 04, 2024 at 02:15:37PM +0800, Zhi Mao wrote: > Add YAML device tree binding for GC08A3 CMOS image sensor, > and the relevant MAINTAINERS entries. > > Reviewed-by: Krzysztof Kozlowski > Signed-off-by: Zhi Mao Reviewed-by: Laurent Pinchart > --- > .../bindings/media/i2c/galaxycore,gc08a3.yaml | 112 ++++++++++++++++++ > 1 file changed, 112 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml > > diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml > new file mode 100644 > index 000000000000..8c09e8c121e5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml > @@ -0,0 +1,112 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright (c) 2023 MediaTek Inc. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/i2c/galaxycore,gc08a3.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: GalaxyCore gc08a3 1/4" 8M Pixel MIPI CSI-2 sensor > + > +maintainers: > + - Zhi Mao > + > +description: > + The gc08a3 is a raw image sensor with an MIPI CSI-2 image data > + interface and CCI (I2C compatible) control bus. The output format > + is raw Bayer. > + > +properties: > + compatible: > + const: galaxycore,gc08a3 > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + dovdd-supply: true > + > + avdd-supply: true > + > + dvdd-supply: true > + > + reset-gpios: > + description: Reference to the GPIO connected to the RESETB pin. > + maxItems: 1 > + > + port: > + $ref: /schemas/graph.yaml#/$defs/port-base > + additionalProperties: false > + description: > + Output port node, single endpoint describing the CSI-2 transmitter. > + > + properties: > + endpoint: > + $ref: /schemas/media/video-interfaces.yaml# > + unevaluatedProperties: false > + > + properties: > + data-lanes: > + oneOf: > + - items: > + - const: 1 > + - const: 2 > + - const: 3 > + - const: 4 > + - items: > + - const: 1 > + - const: 2 > + > + link-frequencies: true > + > + required: > + - data-lanes > + - link-frequencies > + > + required: > + - endpoint > + > +required: > + - compatible > + - reg > + - clocks > + - dovdd-supply > + - avdd-supply > + - dvdd-supply > + - reset-gpios > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + sensor@31 { > + compatible = "galaxycore,gc08a3"; > + reg = <0x31>; > + > + clocks = <&gc08a3_clk>; > + > + reset-gpios = <&pio 19 GPIO_ACTIVE_HIGH>; > + > + avdd-supply = <&gc08a3_avdd>; > + dovdd-supply = <&gc08a3_dovdd>; > + dvdd-supply = <&gc08a3_dvdd>; > + > + port { > + sensor_out: endpoint { > + data-lanes = <1 2 3 4>; > + link-frequencies = /bits/ 64 <336000000 207000000>; > + remote-endpoint = <&seninf_csi_port_0_in>; > + }; > + }; > + }; > + }; > + > +... -- Regards, Laurent Pinchart