From nobody Tue Apr 7 17:16:31 2026 Received: from lx20.hoststar.hosting (lx20.hoststar.hosting [168.119.41.54]) (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 033A13A1D1A; Thu, 26 Feb 2026 09:23:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.41.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772097831; cv=none; b=Li7Y3dN5AyDoP08Ca2XupvhoecTQVFl21ygnySZfGVJJ5AMKhng+TaT7WClyGtP3bW9fqwpOc+J+MWFHNgVJ5z+7FsmJAdupCln5aL4OZiw3zTfE724NmA99PqKLKDxANl/Eqc8zJ33zu5N3w9l85bj0LroV6qNkiQP2nZ11u5g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772097831; c=relaxed/simple; bh=F19s119xvdQh8/E+EVW9S9ZycIrOjTyRinVz37c3ke4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YBpoGN/PdBvFYfLW3vCcfJDFMwr0V28Fij2jQFrkZi+K5+V+INQq9MTFWBq735VvHDIH/nUNjwOJgroFPnDRF8Q57WWwykY0TI6zrDkiGi+hTXk16/ciqVU+SUlIxCxYMHvX0vJNOhhZHLCNkOlRkxu40mS1aduohXh2tW01ZRE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emfend.at; spf=pass smtp.mailfrom=emfend.at; dkim=pass (1024-bit key) header.d=emfend.at header.i=@emfend.at header.b=fh1MayzZ; arc=none smtp.client-ip=168.119.41.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emfend.at Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=emfend.at Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=emfend.at header.i=@emfend.at header.b="fh1MayzZ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=emfend.at; s=mail; h=Cc:To:In-Reply-To:References:Message-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:Date:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=z4ztgiMdrhfkRWiimj9CwSQWB4TzkcUWfkyO0c44bvA=; b=fh1MayzZs9DsVODdUwkG9fPkmr GISyBYKrDBuBfLsj6vPxGGX3qr60VUvD+jo7NsSJDqFcpaaYly+puw6zxh+4lDozHmnfLX0liys8G dk088cAlMldEm14sAopeol85Hf+J51hmii/IP5yfQoe5EudK3KwJAMTM/LpasZNzGkqw=; Received: from 194-208-208-245.tele.net ([194.208.208.245]:64689 helo=[127.0.1.1]) by lx20.hoststar.hosting with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1vvXAw-0018Zt-41; Thu, 26 Feb 2026 09:56:50 +0100 From: Matthias Fend Date: Thu, 26 Feb 2026 09:56:05 +0100 Subject: [PATCH 5/8] media: i2c: ov08d10: fix image vertical start setting Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260226-ov08d10-v1-5-c3a916368123@emfend.at> References: <20260226-ov08d10-v1-0-c3a916368123@emfend.at> In-Reply-To: <20260226-ov08d10-v1-0-c3a916368123@emfend.at> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jimmy Su , Sakari Ailus , Philipp Zabel Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Fend , bsp-development.geo@leica-geosystems.com X-Mailer: b4 0.14.2 X-Spam-Score: 1.8 X-Spam-Bar: + X-Spam-Report: Spam detection software, running on the system "lx20.hoststar.hosting", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The sensor supports an input clock in the range of 6 to 27 MHz. Currently, the driver only supports a 19.2 MHz clock. Extend the driver so that at least 24 MHz, which is a typical frequency for this s [...] Content analysis details: (1.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address 2.8 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired language 0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict Alignment (older systems) 0.0 Local_hs_NotToHoststar Recipient is NOT hoststar.(ch|at|com) 0.0 Local_hs_NotFromHoststar Sender is NOT hoststar.(ch|at|com) The current settings for the "image vertical start" register appear to be incorrect. While this only results in an incorrect start line for native modes, this faulty setting causes actual problems in binning mode. At least on an i.MX8MP test system, only corrupted frames could be received. To correct this, the recommended settings from the reference register sets are used for all modes. Since this shifts the start by one line, the Bayer pattern also changes, which has also been corrected. Signed-off-by: Matthias Fend --- drivers/media/i2c/ov08d10.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/i2c/ov08d10.c b/drivers/media/i2c/ov08d10.c index 254ed22350e5ede021964d92e0fb350e7a397297..ee193ba44f17d5659b3e22329b5= e0ee421e3668f 100644 --- a/drivers/media/i2c/ov08d10.c +++ b/drivers/media/i2c/ov08d10.c @@ -246,7 +246,7 @@ static const struct ov08d10_reg lane_2_mode_3280x2460[]= =3D { {0x9a, 0x30}, {0xa8, 0x02}, {0xfd, 0x02}, - {0xa1, 0x01}, + {0xa1, 0x00}, {0xa2, 0x09}, {0xa3, 0x9c}, {0xa5, 0x00}, @@ -364,7 +364,7 @@ static const struct ov08d10_reg lane_2_mode_3264x2448[]= =3D { {0x9a, 0x30}, {0xa8, 0x02}, {0xfd, 0x02}, - {0xa1, 0x09}, + {0xa1, 0x08}, {0xa2, 0x09}, {0xa3, 0x90}, {0xa5, 0x08}, @@ -496,7 +496,7 @@ static const struct ov08d10_reg lane_2_mode_1632x1224[]= =3D { {0xaa, 0xd0}, {0xab, 0x06}, {0xac, 0x68}, - {0xa1, 0x09}, + {0xa1, 0x04}, {0xa2, 0x04}, {0xa3, 0xc8}, {0xa5, 0x04}, @@ -663,8 +663,8 @@ static const struct ov08d10_lane_cfg lane_cfg_2 =3D { static u32 ov08d10_get_format_code(struct ov08d10 *ov08d10) { static const u32 codes[2][2] =3D { - { MEDIA_BUS_FMT_SGRBG10_1X10, MEDIA_BUS_FMT_SRGGB10_1X10}, - { MEDIA_BUS_FMT_SBGGR10_1X10, MEDIA_BUS_FMT_SGBRG10_1X10}, + { MEDIA_BUS_FMT_SBGGR10_1X10, MEDIA_BUS_FMT_SGBRG10_1X10 }, + { MEDIA_BUS_FMT_SGRBG10_1X10, MEDIA_BUS_FMT_SRGGB10_1X10 }, }; =20 return codes[ov08d10->vflip->val][ov08d10->hflip->val]; --=20 2.34.1