Message ID | 20230926092825.819229-1-alain.volmat@foss.st.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1811512vqu; Tue, 26 Sep 2023 03:33:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWrpuiM5EJRP2Fpng2vYHMbXTmFuQQuF/AvLEKNdM6dFu7cX8Dr1qx24p8CcUm4eQDpNmD X-Received: by 2002:a05:6a20:9383:b0:138:2fb8:6a14 with SMTP id x3-20020a056a20938300b001382fb86a14mr10901518pzh.3.1695724437490; Tue, 26 Sep 2023 03:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695724437; cv=none; d=google.com; s=arc-20160816; b=vx+qrPEMWJUF+pDrvp+YeHbAtrekhRZeqzWoIniffB8NX2jQXdlXznE1zHmG0HlUFu 2HssFVtK0cXubrz81bPCQirdfrFagqsFD1RPHgqyk8MJS+0yLZgE3pf2COkRah01KHQC CaK4bdua77HVOPDLFXWnKBo04zTZTqR/S6CsBIuzOspbGWaTwhHdVvZFo8+0HGDt6UNQ e22hv4ZQ/3azbSM/mE0pfyJYd2IIpsAWOu3368j1J/F/t3t7wh/JyY6tb6olOJTX5m3+ 0DYIr8xV4Q9IChipqTUg302KP9Mtn+pfl/YSIXnmqod/rWZfegfaS9B3D2Wuds6wTK/E yg/Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=NP1x+5vZem9x6RaJxKfUdD6O0ZJxnxrd2tW8HRcyiMk=; fh=Zqm0lawtt9TqRUQHNSIC22PzrUFnyZjD7dqsaeH82F4=; b=YOIKGmCIyErUR5ZYPOT8U5sOX6RshopJllZX6w2+vCqbFbKabIPuuOYRiQ3kzv9DIb H0wNMNdT5WnOWKITKrzpYPzDfXUDnpK61fzuVee9hMiIsPMr6m7b3Vnruf7O17aW3Uiu mdasBTy4W9xFamwCYyqCN/4GibNfbDl6hyjpBnO3ww+/quXZr6Rv2b4QqtOtJ5eLViQW 3pz6yw31qu6vBX1mEIOjriQAduIZCReTt0eO2nQikuu00ngqR5ItkwlKZGgydMSRMElo h5R0/44vzQ6Qm1opgS0MFvCDpR7cvvyMltvlFItlO7wsNrtXSaT1SyBiT7JRg5zHcLrE 2a1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=SGyN+jb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id h6-20020a17090ac38600b002717acb93f1si12093918pjt.83.2023.09.26.03.33.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 03:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=SGyN+jb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CFDD48287886; Tue, 26 Sep 2023 02:29:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234110AbjIZJ3C (ORCPT <rfc822;ruipengqi7@gmail.com> + 27 others); Tue, 26 Sep 2023 05:29:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234116AbjIZJ3A (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 26 Sep 2023 05:29:00 -0400 Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A6D0CFE; Tue, 26 Sep 2023 02:28:42 -0700 (PDT) Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38Q6wueW015499; Tue, 26 Sep 2023 11:28:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=NP1x+5v Zem9x6RaJxKfUdD6O0ZJxnxrd2tW8HRcyiMk=; b=SGyN+jb+kJhJp64mZRw+081 QMAgnMI/djAaRCPOsEDzAQmE8IGFIu5bN0ftGt/H6TDzJzCw7HxYm0TcMNb+bjaC fIRtK1bSi6sueo7LQ0vx037nVqnuP/phdrf6AARypYST9Gcwu85OKuTSuyKeRcXs 1ZFyxmAyd25/Stdkqndpy9cYD9SKIn6I22zQJCiYTUbHqp62yQv0xiMUimd1VYQC dl6Le6m9jCtpbp9LgZK12Kmhwu8hnS5KI0lCaxuPVpIXhFNKRRCPDlxNBL/TBSAa vbOLftDxAg8GbZRV0bTH+q/lnzNlPA/dgxog0QvrUydGuWHhSs/YTjftlf8ah7g= = Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3taayhhtx9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Sep 2023 11:28:33 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E4EDB100059; Tue, 26 Sep 2023 11:28:32 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id DB7B422FA4D; Tue, 26 Sep 2023 11:28:32 +0200 (CEST) Received: from localhost (10.129.178.213) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 26 Sep 2023 11:28:32 +0200 From: Alain Volmat <alain.volmat@foss.st.com> To: Alain Volmat <alain.volmat@foss.st.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: Andrey Skvortsov <andrej.skvortzov@gmail.com>, Rob Herring <robh@kernel.org>, <linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH 0/2] media: i2c: gc2145: GC2145 sensor support Date: Tue, 26 Sep 2023 11:28:18 +0200 Message-ID: <20230926092825.819229-1-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.129.178.213] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-26_07,2023-09-25_01,2023-05-22_02 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 26 Sep 2023 02:29:32 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778095947372309165 X-GMAIL-MSGID: 1778095947372309165 |
Series |
media: i2c: gc2145: GC2145 sensor support
|
|
Message
Alain Volmat
Sept. 26, 2023, 9:28 a.m. UTC
This serie adds support for the GalaxyCore GC2145 sensor. Initialization is based on scripts provided by GalaxyCore, allowing 3 fixed configurations supported for the time being. Minimum controls have been added in order to allow it to be successfully used with libcamera and dcmipp driver (under review) on STM32MP13 platform. The sensor also supports Bayer formats however I removed them for the time being since they would require more controls to be exposed. They will be added again later on. Alain Volmat (2): dt-bindings: media: i2c: add galaxycore,gc2145 dt-bindings media: i2c: gc2145: Galaxy Core GC2145 sensor support .../bindings/media/i2c/galaxycore,gc2145.yaml | 108 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 8 + drivers/media/i2c/Kconfig | 12 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/gc2145.c | 1591 +++++++++++++++++ 6 files changed, 1722 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml create mode 100644 drivers/media/i2c/gc2145.c