Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2901832lqz; Wed, 3 Apr 2024 11:48:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUnm7WTsPkts5Sut4rVnRXPBP5006FeWDUfZGt63k3HUbjJNvX8vMir16nZP+TYbOILPt39wc0+/0qvHklwRqgeVJbIoKN2aRRfJS3Rwg== X-Google-Smtp-Source: AGHT+IFnk1BONWUnBxVn5onv9vl7Uf301eIKZmfk6mcVhcqRbx9/qApa9zE8bO82tsaWaYw/oEqx X-Received: by 2002:a05:6a20:9184:b0:1a6:f8cb:4abd with SMTP id v4-20020a056a20918400b001a6f8cb4abdmr569647pzd.43.1712170091994; Wed, 03 Apr 2024 11:48:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712170091; cv=pass; d=google.com; s=arc-20160816; b=vpjxAX3SIQjVv/ctNa79DF36JIrcBHH73bcui3sOLoGq32OfJzjcNQNiBXgUv6ABkH MeAzAN4quf1ashm1cjnuDXgV7PVUIO9ZhhgGfWY2QLnUmLW5aTj9L25frTmqJ8+U/ArM V+6yj4b2i1iD2OrGognnPJzmXx3qJeONkqphDVnVayqAiSb1xI7qnsishaYr1IvAHQ26 XQF5A14MPSYdnSXcug3PDnNijJpBKDo6lXYugod08WqPNe/Iqs47WUSZnCUjqYh73ot3 h/7RHnWJlOSIYdPC7KD0wtYO4NEWWIcjLB0RiPn5+5Z/TGYkYUmhYJ4UB0Bmto5ahntd J9MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/hZN/5kC7xYglgObZWX4StZtR45dR0BAh/VSufNqpTE=; fh=CYKjRwzHuXFVQ90W+Dsknol5m7Cf83kQGFHCqwoV5rQ=; b=pydVN72LdyzfF2ELVH7Fg8wqAkVG707RBV2qZyUn6tr7ZtaF0gKfztc7dtN+qY19a2 rJXIBrWPktDTNIsw7eZ/JoSDfQTaIDJRYF4fdHYPsORW/vP8ZEsfKYj7bxqI64JqJMWk 8QA1VAQBmtHZhBGD4BCypstR2f6rmc3Up2Efv7nFZ/oVgA1PfqErAVOtCf7PvqJ4m5Vr tzUdfEaWYCLmga1X7MiQHxT4p7wTaLNv//d4UgML2zxXrGxReLm1JqgBkLqtRqvdFris gQYr5c5MeXb6cvmRMJdZHm5wyeP1b69DDrE7dPH7lhfXb/02nViO44Zv4Dye8C25HxqU CUZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=PeZGyL48; arc=pass (i=1 spf=pass spfdomain=ucw.cz dkim=pass dkdomain=ucw.cz dmarc=pass fromdomain=ucw.cz); spf=pass (google.com: domain of linux-kernel+bounces-130466-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id le19-20020a056a004fd300b006ea6d65ec89si14047864pfb.168.2024.04.03.11.48.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 11:48:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130466-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=PeZGyL48; arc=pass (i=1 spf=pass spfdomain=ucw.cz dkim=pass dkdomain=ucw.cz dmarc=pass fromdomain=ucw.cz); spf=pass (google.com: domain of linux-kernel+bounces-130466-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz 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 EF06F28C721 for ; Wed, 3 Apr 2024 18:47:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 648A7154448; Wed, 3 Apr 2024 18:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ucw.cz header.i=@ucw.cz header.b="PeZGyL48" Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) (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 F04622F24; Wed, 3 Apr 2024 18:46:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.255.230.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712170017; cv=none; b=St/4NIQ352lpEswjHe7n9LtOPRYh/VbsmNLjKb7YFYrB8xTtF5SNWXqr3G4I+MyiKykHtW5AdAqvoQpR48bwVhHvWDM8v67jOw+iWCvLLo9XdRCvqwpQoMoyS2isitRjEeSexeUCBrulEfO2FHCmxOFfl+3BpasGyiOv0bb7eQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712170017; c=relaxed/simple; bh=1gV8AFeeIO9ri/OfnxKbGbD0lxU/bNXHBgHfb5vIwMM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=u3L3MSZRwFgxnlleJdD3NRxHs7JUEOAVOYKsoCK3eFWbXBn2JACdCiUslKRIddbcAScT6SfIFCHeNtedRuTCgMWz56GyhXzngUXE7TZBjvMD8eh1O7Ejd/UbjRs6AuActw8VuPD62GD6HStCsfZczBoyTW6brlaxdFAKmV6oZbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ucw.cz; spf=pass smtp.mailfrom=ucw.cz; dkim=pass (1024-bit key) header.d=ucw.cz header.i=@ucw.cz header.b=PeZGyL48; arc=none smtp.client-ip=46.255.230.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ucw.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ucw.cz Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 6CFEB1C0083; Wed, 3 Apr 2024 20:46:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1712170014; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/hZN/5kC7xYglgObZWX4StZtR45dR0BAh/VSufNqpTE=; b=PeZGyL48tOeuRFlfNMRutiKrdYTQRgzLd5nb6L6uZ7MqWHG4yw3oGyiXREn4BcqeccNcFs 30AuB9cG1EKIPA7SJ58g4+dSnhtBxlvcXmIfg5j2p5MC5Wg6EXEEpA5Q4Lo4aiHXguierI 3DNeB8drGRGzL32GfD+g15ZRdi24gts= Date: Wed, 3 Apr 2024 20:46:53 +0200 From: Pavel Machek To: git@luigi311.com Cc: linux-media@vger.kernel.org, dave.stevenson@raspberrypi.com, jacopo.mondi@ideasonboard.com, mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, sakari.ailus@linux.intel.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org Subject: Re: [PATCH v3 11/25] media: i2c: imx258: Add get_selection for pixel array information Message-ID: References: <20240403150355.189229-1-git@luigi311.com> <20240403150355.189229-12-git@luigi311.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dZ9OiAyi6i2ioQgi" Content-Disposition: inline In-Reply-To: <20240403150355.189229-12-git@luigi311.com> --dZ9OiAyi6i2ioQgi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Libcamera requires the cropping information for each mode, so > add this information to the driver. > @@ -116,6 +124,9 @@ struct imx258_mode { > u32 link_freq_index; > /* Default register values */ > struct imx258_reg_list reg_list; > + > + /* Analog crop rectangle. */ No need for "." at the end, as it is not above. > + struct v4l2_rect crop; > }; If the crop is same in all modes, should we have it in common place? Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --dZ9OiAyi6i2ioQgi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZg2kHQAKCRAw5/Bqldv6 8lbiAKCV+uugZ5uwqSNAAD9qilM5gC6koACfZDX/g99u7tA9+KJIRkBJjEycgD0= =0kGR -----END PGP SIGNATURE----- --dZ9OiAyi6i2ioQgi--