Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1921780lqz; Tue, 2 Apr 2024 01:32:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuI3Kqb3c9HqNIIIQLa0u0aU5orpx5Nr2QQ7ZJn2GJRftDI+FtrsGGSM2lSD+wzl0yKCWLUNm/aADSg7D46Kfo113I1BOo0dQ9DFChMA== X-Google-Smtp-Source: AGHT+IFrn5lqvjShhbUV/iGq4uw3w3aG61kysBjSSrA8TJBA1VbAGkmaf4r9o4ENYj1AZbRuTzhk X-Received: by 2002:a05:6870:c1d3:b0:222:570a:72c7 with SMTP id i19-20020a056870c1d300b00222570a72c7mr12372116oad.45.1712046744523; Tue, 02 Apr 2024 01:32:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712046744; cv=pass; d=google.com; s=arc-20160816; b=u4HxUvIOxN3szOcKB/Ok9sts2Y8XX/GPc4hH48r3FMGN4q4EO9mMNKzT8WX0II7rY7 1rEvZ1X8uB2JFLWmGKDQMUuv/eD+gpj7eYw+tQM1wq/qLVytdJWln1d030NvuqoE1CMD cdfc3XEA9376eCrAfc0j1Y32WbnhfrgSMD0w7qeHS0BNDvJWfDEURXdbgdnTG5pU7IO2 wQBy01jEpPMY1xe/gTZdWh3YTBiXUKeNsmbJUxt7rc6fOZGun4UI5xoVDubbiex3cwA2 3xdnBjN862p2wfWu4SUCo6Lua3wJmOtfvrD1l/31dm1dA9kTuUtlfYMHfXKqwwQpFLjy kGAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=uOZH3JQqbGygXXQjzv/MoVDaHIFr/QXkpuPxtOR16f0=; fh=ouWrIirB+WIHxkdYeThW+eSiA4NaXNQj8V1Eg3PKHqc=; b=jDcC5Ot9Ga4K17UndhLaWyzJscHBuK8zbDqP55veyosnazrqv2B2M9p+4lQxVpcmXB Rt4ih5Q8+N118XOX5S+vtXNYwaYr/eX/GXAsHTZY1kt8eJ0jHliAeHggunyfq6sq31OW 4MZJ//xo7uZbrdjHBNiPSLJNK2+LP86oJtKWBiXA8SVTZ2Z3gVsG0I9TSxbKKMRLr1l6 2FtJyczQ+JiPzS56/WD+J7Gx37DUt418gS2DB6V/Xg/CrXBsSih5KBfiLEg0tNfC8ZKr LA7GUUCXS+OV3ilP72WbOypy6OEmyhANxK65+sPgZl22TeKxCmTogENczkeABNt3ifI5 Qp3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="Hh/PhP4d"; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-127551-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127551-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ea22-20020a056a004c1600b006eabe301352si11216277pfb.206.2024.04.02.01.32.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 01:32:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127551-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 (test mode) header.i=@ideasonboard.com header.s=mail header.b="Hh/PhP4d"; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-127551-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127551-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 206C0282CFA for ; Tue, 2 Apr 2024 08:32:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 594B657889; Tue, 2 Apr 2024 08:31:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Hh/PhP4d" 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 919F11772D; Tue, 2 Apr 2024 08:31:30 +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=1712046692; cv=none; b=kf3b0Q0fRce4RFGP6fJRDOMmiZNSq2a2CO9Vq9kRslEmNqObAN/BVOdx7fe0m2LCX1GRzusneTcNL+Do9defooR02zNYaDPNGjkJlxbGfDQCBkz8FE7ZtGlaRTB0wzNN6LJRYbIxdd+a36pLKRkQ9PL8DW/vRSLuMwrlHzqfqT8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712046692; c=relaxed/simple; bh=JY4ED/+4PB+ORvPhQlRpW0Q8Y/u6TEuHgOSWHoB9PyU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MZV74kLTmqQMHeKc7t4d5+Z3SMqsv+dDa2g60412u/mcs54gXSlHsWVoEI2aouhghMD7yo5i2ibkzU7YR46LL4WrwHjsHmHX+kYKsRSWkH33IN2Ace9vf5viObWfU2z7P4sa5JriVU1ckfwsKZVJQNpV6AOMHZn1mQfp/XmJ1tU= 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=Hh/PhP4d; 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 [192.168.1.105] (unknown [103.86.18.232]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7E76F3A2; Tue, 2 Apr 2024 10:30:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1712046652; bh=JY4ED/+4PB+ORvPhQlRpW0Q8Y/u6TEuHgOSWHoB9PyU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Hh/PhP4d4ueDNpTQV+YLPys/QUg62YZlGeyWuDc92InrrZp31Bj76VZ32egn/IqOL 8FW7vfPHswmCUhzEaG0UJknBC2uRKxpc/UEW4VPAOiqKJpycD4m49z+bGbCn4aR2oi jVEd8pAT/deK0ulsos7TG6lrqnNXpt32tFtIuhec= Message-ID: Date: Tue, 2 Apr 2024 14:01:19 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] media: i2c: Add imx283 camera sensor driver To: Kieran Bingham , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sakari Ailus Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Laurent Pinchart References: <20240402-kernel-name-extraversion-v1-0-57bb38de841b@ideasonboard.com> Content-Language: en-US From: Umang Jain In-Reply-To: <20240402-kernel-name-extraversion-v1-0-57bb38de841b@ideasonboard.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi all, PLease ignore the series, I was testing/learning the b4 tool. I did pass --offline-mode but it has sent the patches anyway :-// On 02/04/24 1:59 pm, Umang Jain wrote: > Add a v4l2 subdevice driver for the Sony IMX283 image sensor. > > The IMX283 is a 20MP Diagonal 15.86 mm (Type 1) CMOS Image Sensor with > Square Pixel for Color Cameras. > > The following features are supported: > - Manual exposure an gain control support > - vblank/hblank/link freq control support > - Test pattern support control > - Arbitrary horizontal and vertical cropping > - Supported resolution: > - 5472x3648 @ 20fps (SRGGB12) > - 5472x3648 @ 25fps (SRGGB10) > - 2736x1824 @ 50fps (SRGGB12) > > The driver is tested on mainline branch v6.8-rc2 on IMX8MP Debix-SOM-A. > Additional testing has been done on RPi5 with the downstream BSP. > > Changes in v4: > - fix 32-bit build error around u64 divisions (use do_div) > - Fix hmax default and minimum values > > Changes in v3: > - fix headers includes > - Improve #define(s) readability > - Drop __func__ from error logs > - Use HZ_PER_MHZ instead of MEGA > - mdsel* variables should be u8 > - Use container_of_const() instead of container_of() > - Use clamp() used of clamp_t variant > - Use streams API imx283_{enable|disable}_streams (**NOTE**) > - Properly fix PM runtime handling > (pm_ptr(), DEFINE_RUNTIME_DEV_PM_OPS, > imx283_runtime_suspend, imx283_runtime_resume) > - Fix format modifiers, signed-ness at various places > > changes in v2 (summary): > - Use u32 wherever possible > - Use MEGA macro instead of self defined MHZ() macro > - Properly refine regs using CCI > - Drop tracking of current mode. Shifted to infer from active state directly. > (Laurent's review) > - Cont. from above: Pass the struct imx283_mode to functions whereever required. > - Remove unused comments > - Remove custom mutex. Use control handler one instead. > - Drop imx283_reset_colorspace() and inline > - Set colorspace field properly (drop _DEFAULTS) > - Use __maybe_unused for imx283_power_on() and imx283_power_off() > - Store controls v4l2_ctrl handles for those required, not all. > - Drop imx283_free_controls(). Use v4l2_ctrl_handler_free > - fix reset-gpios handling and add it to DT schema > - fix data-lanes property in DT schema > - fix IMX283 Kconfig > - Remove unused macros > - Alphabetical case consistency > > Signed-off-by: Umang Jain > --- > Kieran Bingham (1): > media: i2c: Add imx283 camera sensor driver > > Umang Jain (2): > media: dt-bindings: media: Add bindings for IMX283 > fixups > > .../devicetree/bindings/media/i2c/sony,imx283.yaml | 107 ++ > MAINTAINERS | 9 + > drivers/media/i2c/Kconfig | 10 + > drivers/media/i2c/Makefile | 1 + > drivers/media/i2c/imx283.c | 1605 ++++++++++++++++++++ > 5 files changed, 1732 insertions(+) > --- > base-commit: 54ee11761885407056f4ca60309739e2db6b02dc > change-id: 20240402-kernel-name-extraversion-2b08d441e08c > > Best regards,