Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1460917rdb; Mon, 19 Feb 2024 17:26:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWVP3bFJskB8bwNkOWZneQfbi1J8dX+P9eIHiRmlnjhM8r2ytCf6rYpwkgODrrf4qLJ8giPamolB2FBbvZgRqXHkmi1KfoojHUCdX640Q== X-Google-Smtp-Source: AGHT+IFHab6PKv+WkUu6mUppsW1pXtjfbIbiA8t0697uO/TnZuLRSkm9ol2qgOezxY59gA0/8CGp X-Received: by 2002:a17:90a:9c06:b0:299:d672:ba0d with SMTP id h6-20020a17090a9c0600b00299d672ba0dmr1079548pjp.3.1708392402794; Mon, 19 Feb 2024 17:26:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708392402; cv=pass; d=google.com; s=arc-20160816; b=J7Ggrz1d20lcf+dm+VgJmDUY96NXJsMA1VqtUS8fDqIuHUSonZZpVDBNG0nZjj1obo ORDfckhse1f41ZcEtF50LbTEhiFwu9XiKEAY471JRynSOvGWGZGyyhbM1qf0mWK9AwkZ EcwXOAfG3y7jXhWgna9rUkIlk6dWdfVmG5pybhe7OyOeEtmdQKEtRW1wbyenXTt+e6Mu Fk0rF1yFEmWPtUtBGlYgbaerUNbGK4K7zNSSWK9nynIewUu8GIYNmp4lCR9x6nWgKu7m tbur9amQayiO6VCH9GYo91KIvOcilb0Qe0V0mIc0i9bFnFc6IM5oK2BRrzeH4d3snQZG 9gcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0bRDwS7PBvuQdYZ5dgFryXT71V4ywxCPzpwNBZamc5g=; fh=XoHnCzXXj5ayDSwWAKAre8pp6vsiDVBNIRcMKMdSys8=; b=iIr3W3IOvDCIB8sXPd2HPm62LBoLhferROLDlJlWJhzTSOW8Bb+AC2ud8ZmHglHo8/ ZwvOVZ2rx5WldOIWgXkgoqu5zMxBb5/xTqh+KQG1FII5JFij/w0gWuPJa5uEfuT966mQ HyaJw7d/vun/WUh9GaBG4NEYlhjzRzF/xaoO7LR4/CM7xRzlbfses8MPXfoZFEmLx+S+ 1TxhthErNxOkBXV22osgSiwdW4/DiWCb9Q1ywH43zT/01DHnfi2mWBZQ0mj9Ow8JUI4q jlRfZRdBTShj6HPhFMqBCHRAIfkn98zg4HlIi3Y9i9YGawLH8Q/Le5lfiF5fVHy635yE tkTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Okc34UvM; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-72180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id pg1-20020a17090b1e0100b002992cb89a76si5371743pjb.25.2024.02.19.17.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 17:26:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Okc34UvM; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-72180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7D216283BA7 for ; Tue, 20 Feb 2024 01:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 058A725770; Tue, 20 Feb 2024 01:26:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Okc34UvM" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 D2E1A210E2; Tue, 20 Feb 2024 01:26:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.61.82.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708392375; cv=none; b=VFX3ZjY6NkSQGCGaN++1JjAV4LV2EcBESXUM/JmYvqn2XYNBFWrbHXGivaD0Nazn09XN0igGVJXUgy9nFJP266pQ74RcXi1MVoWA2vyjUnAOHeKfFwszJ6CqiGpcMo9+juZ6UxkgkQJzFn9TlSn8EBBEaUhxy2COUQX+VgCv0mc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708392375; c=relaxed/simple; bh=HVDBBL/3JWqvC0r68ICiHb3lyWXf2L4NhzUal3snxks=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZxKJRf8aqfg5hJN1DW2Be1S3PJBBgJgClRrGILe4LksKsWxiE5mrSru6c3ZHsxOj5Z7enx3UWCD/ZH0GUjfSid8oXxvLBFRVjNHIoeQfab4pV7LPrOtFy4MBvWTMCpKkXRGDI2uj6f5LQjEAeIBPLZW48rxzj7dStmG57Nv/RMA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=Okc34UvM; arc=none smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 054e6066cf8f11eea2298b7352fd921d-20240220 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=0bRDwS7PBvuQdYZ5dgFryXT71V4ywxCPzpwNBZamc5g=; b=Okc34UvMSQz5maXz0BE9vvOXxKAth1bF5tiir/Z+wszghZJcgaLwYXmvELpTB7w2gh8wHHDPPzNI2Hwlmxr3rEwX0fWV0wodTOwxhcyF4OM5VxEqpo2Y86hflev7NxEM6XSq/IwqwC/ZihGJUWYaqrgxtqL7Gp1TEo1Rtltd3i4=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:86337aa4-04b9-47c8-8ed3-337c2fdc323e,IP:0,U RL:25,TC:0,Content:-25,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:6f543d0,CLOUDID:42aa9380-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES :1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_ULN,TF_CID_SPAM_SNR X-UUID: 054e6066cf8f11eea2298b7352fd921d-20240220 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1959251277; Tue, 20 Feb 2024 09:26:07 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 20 Feb 2024 09:26:05 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 20 Feb 2024 09:26:04 +0800 From: Zhi Mao To: , , , CC: , , , <10572168@qq.com>, , , , , , , , , , , , , , , , , , , , , , , , Krzysztof Kozlowski Subject: [PATCH v5 1/2] media: dt-bindings: i2c: add GalaxyCore GC08A3 image sensor Date: Tue, 20 Feb 2024 09:25:39 +0800 Message-ID: <20240220012540.10607-2-zhi.mao@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240220012540.10607-1-zhi.mao@mediatek.com> References: <20240220012540.10607-1-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-Transfer-Encoding: 8bit Content-Type: text/plain X-MTK: N Add YAML device tree binding for GC08A3 CMOS image sensor, and the relevant MAINTAINERS entries. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Laurent Pinchart Signed-off-by: Zhi Mao --- .../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>; + }; + }; + }; + }; + +... -- 2.25.1