Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp275118rdh; Thu, 23 Nov 2023 03:52:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGde5PWxMi8DGGZP8BL9GRJb/vodeoJLxFBLVoppEkKvUrIUuFSzGVndVfJ8vJIwLpc7poo X-Received: by 2002:a05:6830:314e:b0:6d7:fa8f:e729 with SMTP id c14-20020a056830314e00b006d7fa8fe729mr1665531ots.20.1700740374348; Thu, 23 Nov 2023 03:52:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700740374; cv=none; d=google.com; s=arc-20160816; b=0/KF++BUYxqKzlOJbKaWa6HaYxTyrPyBeN6lIfYJ+xnQ0jG8KdrJZZYllNFs03vkIk C11JXY7hpLXXaO22HawyIplIB8VhHgNdj1zybTGpPMKVfoEadV8doN30qZr8jwBkgT6j o++7sMtZKbbp/CK2qC+6dfsvsGLT8E0dlmp08FrloQQqUysmrsjBvpuxIowRfglX7ZPu DGkKR/+977KT9GE3/Bknv66Ovun/JUigZxPqCYcYUw1OM3aH4ScEKx8TX2acKj2LQoR6 PlEr7MSDS1uoJcOn/qqOdfS89qpru4s1qLfE3QnpXaOzU593LRkwjWowxztfjBo6cmdQ 3q6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=npo17YZ27fotVhhzuQeyCvo86ZlC56RHG3gTlq+INPQ=; fh=cjkE8hUY0iCbldEY7jsSmjTQ/R44KxGB4bKZMin/vkw=; b=JKWGQ6ICZIJvWtDSu8+zXTaqo7gMEblCVYhovU1c9ka8V/I3Is4hGafcqC1YzmlSSa 15QyH2ttvAL3ErUttztUAxASINfymRjINLRYwroRClZpGIHJM/wRHvHg9ByAiBVAE87v 1MDuTLtouFKbmmDEmkcG8xC1OrwsXnefqkG/F8nPwAGDDFY1GfabLg+Q/4JiS/whPnPy jsnrmYsKV3dJiIjldxNtc4LHN+fDD1UsFOXVPO+VBwrMrCCtBSO4z8aPM6yD6w9UY5D2 SegvULUHTKhXlyPJW5b1k+m6Wl6QzLwuyMhbSR9J+2TXSU9iuZqojgzgTxAaRwuLJRjX czGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=RdNpGN3c; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id d24-20020a63fd18000000b005c1b5a5213esi1152267pgh.768.2023.11.23.03.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 03:52:54 -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 header.i=@mediatek.com header.s=dk header.b=RdNpGN3c; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 39C7080843F1; Thu, 23 Nov 2023 03:52:46 -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 S1345131AbjKWLw3 (ORCPT + 99 others); Thu, 23 Nov 2023 06:52:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345118AbjKWLw1 (ORCPT ); Thu, 23 Nov 2023 06:52:27 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 969271A5; Thu, 23 Nov 2023 03:52:33 -0800 (PST) X-UUID: c783552689f611eea33bb35ae8d461a2-20231123 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=npo17YZ27fotVhhzuQeyCvo86ZlC56RHG3gTlq+INPQ=; b=RdNpGN3cVjL19hw91ecR3MEo7Lv99kDeLl4fIKLsU/3UL+CetE2fSTLrMJ3uqPRmWHxjBoCz2+hZj3riAqRztt9pVBqeLrBD3ri+Gh5kdXNx03MsvHUZ/Didk1etFTE3fe7wqiW+Kwrg41Wr6XerWnLYYKVo5porJAhT197qCiY=; X-CID-CACHE: Type:Local,Time:202311231905+08,HitQuantity:1 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:6d5b5887-137d-4edf-a6d0-887086b99519,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:364b77b,CLOUDID:a29dfd72-1bd3-4f48-b671-ada88705968c,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File: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_SNR,TF_CID_SPAM_ULN X-UUID: c783552689f611eea33bb35ae8d461a2-20231123 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1556815132; Thu, 23 Nov 2023 19:52:29 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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; Thu, 23 Nov 2023 19:52:28 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 23 Nov 2023 19:52:27 +0800 From: Zhi Mao To: , , CC: , , <10572168@qq.com>, , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH 1/2] media: dt-bindings: media: i2c: Document GC08A3 bindings Date: Thu, 23 Nov 2023 19:51:03 +0800 Message-ID: <20231123115104.32094-2-zhi.mao@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231123115104.32094-1-zhi.mao@mediatek.com> References: <20231123115104.32094-1-zhi.mao@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-MTK: N 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,UNPARSEABLE_RELAY 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, 23 Nov 2023 03:52:46 -0800 (PST) Add YAML device tree binding for GC08A3 CMOS image sensor, and the relevant MAINTAINERS entries. Signed-off-by: Zhi Mao --- .../bindings/media/i2c/galaxycore,gc08a3.yaml | 128 ++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 130 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..089ea321da91 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc08a3.yaml @@ -0,0 +1,128 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%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: + items: + - description: Reference to the mclk clock. + + assigned-clocks: + maxItems: 1 + + assigned-clock-rates: + maxItems: 1 + + enable-gpios: + description: Reference to the GPIO connected to the RESETB pin. Active low. + maxItems: 1 + + vddio-supply: + description: Definition of the regulator used for the VDDIO power supply. + + vdda-supply: + description: Definition of the regulator used for the VDDA power supply. + + vddd-supply: + description: Definition of the regulator used for the VDDD power supply. + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + + 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: + - compatible + - reg + - clocks + - assigned-clocks + - assigned-clock-rates + - vddio-supply + - vdda-supply + - vddd-supply + - port + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + sensor0@2 { + status = "okay"; + compatible = "GalaxyCore,gc08a3"; + reg = <0x31>; + + clocks = <&topckgen CLK_TOP_CAMTG>, + <&topckgen CLK_TOP_UNIVPLL_192M_D8>; + clock-names = "xvclk", "freq_mux"; + clock-frequency = <24000000>; + + assigned-clocks = <&topckgen CLK_TOP_CAMTG>, + <&topckgen CLK_TOP_UNIVPLL_192M_D8>; + assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_192M_D8>; + assigned-clock-rates = <0>, <24000000>; + + enable-gpios = <&pio 19 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <&camera_pins_cam0>; + + avdd-supply = <&mt6359_vfe28_ldo_reg>; + + port { + sensor0_out_2: endpoint { + data-lanes = <1 2 3 4>; + link-frequencies = /bits/ 64 <336000000 207000000>; + remote-endpoint = <&seninf_csi_port_0_in_2>; + }; + }; + }; + + }; + +... diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 309b94c328c8..a0bbec0bfee2 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -502,6 +502,8 @@ patternProperties: description: Fujitsu Ltd. "^fxtec,.*": description: FX Technology Ltd. + "^GalaxyCore,.*": + description: GalaxyCore Inc. "^gardena,.*": description: GARDENA GmbH "^gateway,.*": -- 2.25.1