Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1509257lql; Tue, 12 Mar 2024 22:44:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCJLZgQg8hzFpHl7kCHcrxEAPMmtNZlQ1ynUYML9SuvArPpFXdBj9+4ZSIS6kM2E3lAbYg2WbKpKe5q53VesG+un9GTcxQe1eFHcQvPw== X-Google-Smtp-Source: AGHT+IFwD04u7+ibpXFxq6M7Q9If4PcC8y0zAJCVgbqcBtx7nEiuZkZ5Hoa2942EziSO6328z8QV X-Received: by 2002:a50:871e:0:b0:567:2870:1f1c with SMTP id i30-20020a50871e000000b0056728701f1cmr3499839edb.19.1710308682630; Tue, 12 Mar 2024 22:44:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710308682; cv=pass; d=google.com; s=arc-20160816; b=k6LnW7ws149WAAuRgQnngilrgWcCYnKvg6t9oZQstmKmvbmDIRpxzSGtsIaRsiiCyP 9ns/wCU3XpUTSeuvMUQr15dB/w6dulIw8uUoA6IIhipgZmWejuJ9Xntfx+kDTBgFVcXS 8vmDWKa69RhBze32tdFgycj2sSrMCGK1YiNVD+2xJ+fvDDayNohk60ooZvnbpenCv160 sCC6k+2p8EZTWyFOZvgzQQXKnRMDrKzShJytN1EC5eLnEknLJHoIsFVX9BcB34llAbU4 oZWKBf8TrHCdUoIKcy1JegTIVFZkBC8kKbhNbsLF08HW3mOtayUiV0OS1Whd/ytJjoXd szkg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=GlYVVpTEX60HSlvFhX9PdtlLCFZyH18RDFoJDw6Zob0=; fh=aF7GZBWogMl1vYtQGrcZfmiuISEGZ7/2aY6MjnO4VqE=; b=wurnXkA4bPDxMo0zPQp9+NnzdFsldSp+N5hY6Rkx7qwJb4eR7m15AESIBFmJGOoa2s 7zEr67bormcxZvDQYv7hAKP0WZzTpFesIcfYXNuc+b6Jjiv6J7pakTX9ATE9HkrdjiVe md4migh8LnoJFxwM1VUzfxO/X/NsXEn/7rMdoqviPX1PbBu4NkwRaBsUeFezPG5Me4rq GLD79igwyBGviGNcnRvRe2BrlhjNEujqlc+Y5xM6IQdNPjLwC0U0TTCRkAYZMU02kC/y rA2RF0DgkbzBytYxUlB+A5x6rs7PUcMQJRBsoNwvoRgKxlk5UkOssRBEPH9iGtNB6e0I jvYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CZSnrEsh; 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-101125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cy21-20020a0564021c9500b0056715a786ffsi4060190edb.544.2024.03.12.22.44.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 22:44:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101125-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 header.i=@mediatek.com header.s=dk header.b=CZSnrEsh; 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-101125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101125-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 566981F22674 for ; Wed, 13 Mar 2024 05:44:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 460A3134BE; Wed, 13 Mar 2024 05:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="CZSnrEsh" 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 ADCAD8495; Wed, 13 Mar 2024 05:44:27 +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=1710308670; cv=none; b=MvBc4q8XEODauRUCqUJI/WyG2H7kBDULnlahZhjkR85SCiiQoR2C2n+5D/+By+cK/d88zbcTh/KNI9cGztNLo71Nou3McrJXDRH6s4/uEYJrgeH6TkEHHE9SC1efeWeSiNVrMkwuiz4dFnzt/89hAeQL2mADCtIIvMXFr2jp2Gg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710308670; c=relaxed/simple; bh=VvPHDqLLpC8LFZI3SJ/kylxCfbttkPc48ru0yzUUwTo=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=RZ30UmVfMJotkFFTzManGY2KqqtWl2nhqswYUt9hLvv3I+U9RkF7L21gIVHfxbUCQPKDM+yCHF6LlEMJm696hrQGY95Ha0Sb7J+x+T3KlzcTAPngW7Frlcz0ONfQpY8VCVCiGJFFW6ZMxqQYqPlEGatg/iRAtMus9Piwvw397o4= 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=CZSnrEsh; 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: bb69f4b8e0fc11ee935d6952f98a51a9-20240313 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:Message-ID:Date:Subject:CC:To:From; bh=GlYVVpTEX60HSlvFhX9PdtlLCFZyH18RDFoJDw6Zob0=; b=CZSnrEshWO3lKSY0O2xd0pN/rJEpJygmJoAL14UDt8s8GAPz2zywU4kPmEV07XxCVWPyMWId0RF58fw76N2bTkSn0aeCuQcjoqD1enmb7qHhSv2AneOLLqw3Gx1ZjFfvTMWGg20YPEK/FpHYDMkFwFFTQd+gK3mnd9cG0F+ualY=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:8f1e1c91-5659-47a7-aa18-d80f4c515a89,IP:0,U RL:0,TC:0,Content:-25,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-25 X-CID-META: VersionHash:6f543d0,CLOUDID:53917081-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,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_SNR X-UUID: bb69f4b8e0fc11ee935d6952f98a51a9-20240313 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2058357756; Wed, 13 Mar 2024 13:44:17 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 13 Mar 2024 13:44:16 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 13 Mar 2024 13:44:14 +0800 From: Zhi Mao To: , , , CC: , , , , , , , , , , <10572168@qq.com>, , , , , , , , , , , , , , , , Subject: [PATCH 0/2] media: i2c: Add support for GC05A2 sensor Date: Wed, 13 Mar 2024 13:44:07 +0800 Message-ID: <20240313054409.8073-1-zhi.mao@mediatek.com> X-Mailer: git-send-email 2.25.1 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 This series adds YAML DT binding and V4L2 sub-device driver for Galaxycore's GC05A2 5-megapixel 10-bit RAW CMOS 1/5" 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: 2592x1944@30fps, 1280x720@60fps This series is based on linux-next, tag: next-20240312 Thanks Zhi Mao (2): media: dt-bindings: i2c: add GalaxyCore GC05A2 image sensor media: i2c: Add GC05A2 image sensor driver .../bindings/media/i2c/galaxycore,gc05a2.yaml | 112 ++ drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/gc05a2.c | 1377 +++++++++++++++++ 4 files changed, 1500 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/galaxycore,gc05a2.yaml create mode 100644 drivers/media/i2c/gc05a2.c -- 2.25.1