Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1584958rdb; Wed, 31 Jan 2024 03:16:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfEi8ZSMd2BdTigZhxOz3fK2suvEE4Dau5H26zThje+GYICd2lY4SifVKqGwzMxsZAaW1M X-Received: by 2002:a17:90b:192:b0:28d:1581:29e6 with SMTP id t18-20020a17090b019200b0028d158129e6mr1409272pjs.13.1706699767941; Wed, 31 Jan 2024 03:16:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706699767; cv=pass; d=google.com; s=arc-20160816; b=EI19rAA9GwDj4eUdr2H66zuJ8KTeIc7UnKMm4FM7I+O6uTlxlAhEwr+ig6r7JYVGWa C81OWJb7o4tmWPYURmqiOFdQwXv8d1i0ka2J2VP5oqDIOx2lMwkRPQqPClcMlZiJz3Qf WnJvw9H0OnG7Kg91j/2bYU9WfbdFf/I0eEwZ/zXGu8QfdOBLOXu70MxALn9RRM6+OMe0 1b3d0EnDOUo5GAwdj86bysjZKAQPR/FlF7bHiaFqwCE+qyBW7bNfDqgNwmXnFcguLB+4 7sbpeaX9Vjn88vQgBQwqvBbDihBGf2z1KLXCvEH1WRkya644qjqY6JKeQOnkRBA1/nCi KiFQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=n5YQ/Ki++xPpgaCaf3kRbjcoNi+Wkj8sI8UeDv77yKw=; fh=9wF+j9Xz7Ls4lGnqWmeU/OvXFJfVlv0a8YcgxEfrw/w=; b=Oa7/WVY0AmyfHPpfJWS/9J6WRnjF1UV9dOl93E2QmIl9T/rec5d2FD5OASisR4UCNp fc54ISBDGmZ7Hrtl8Ac1ZYpu5aHNNLJTUS7fhX7cLcst2dAoiUctpOhSTBW5Np/j+TOL ZSxk4NJzvf5hgHOdnX+5iIVARgFNSLi6vFJjpTALu8RAd5z6o1BQWIIw09HL4c+1FSzE Wx8iA/SMwQ+gl39U1EKE6UEYV4AiUaY03jesenXssYniLUEuYAn0m7Ql2SINL/TQhC9g m4icKAU4n234QlDh3eGV9O4ZcV5bCIbmBUEIvcagIsK8DupWZ41bWvywNgJ5Z0rBwZze I4jA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@emfend.at header.s=mail header.b=OWy2bbyt; arc=pass (i=1 spf=pass spfdomain=emfend.at dkim=pass dkdomain=emfend.at); spf=pass (google.com: domain of linux-kernel+bounces-46305-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46305-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXh0LpBO+N9qjYO0rK8j7RaYrCMpVZxu76IqvyeI65+VFgIrOcUFRlE5CoWRiZAha0ayYwnbS8YM0zG5fEtu19EKenoVcdcV/QMqaKoMQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f5-20020a17090a4a8500b00295f7801136si271143pjh.68.2024.01.31.03.16.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 03:16:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46305-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=fail (test mode) header.i=@emfend.at header.s=mail header.b=OWy2bbyt; arc=pass (i=1 spf=pass spfdomain=emfend.at dkim=pass dkdomain=emfend.at); spf=pass (google.com: domain of linux-kernel+bounces-46305-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46305-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 5462928FCB2 for ; Wed, 31 Jan 2024 11:06:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A86F78691; Wed, 31 Jan 2024 11:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=emfend.at header.i=@emfend.at header.b="OWy2bbyt" 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 83D3A78679; Wed, 31 Jan 2024 11:04:12 +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=1706699056; cv=none; b=MSrfOtasRYjG+wsH+dRS+rQUfC20OAt6NxQ1/t4wU9PQhj29BQD5YOVmTV5uTmHUdkkJqcsaJvTXPQx5X8QEyT1+XDuowzyZDO4fc++XhIeWR9d0JoKZDhEgucxbLV6cK0t4j4dBYJyrKhGUy0KX3PQSxmisaTCbhuqtavZyDPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706699056; c=relaxed/simple; bh=g4bNDFrpsoSNokjJPA4eIkfgG2JQLINcpNqZGcL3YUg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KrBzxOzN3j03eZAjfEO+h2/PaBiKMs1JA4cD2yS4tqfxFRivbQno3CpzsIhidpsvd7SxONu6paeUQ+bn/ZpNpycTwD+x5dsGffB5QmufLQmctf0nhMnGxhQoRtnZHmXYwMImOPcLXSUIn36ELXnlJ7pbBCP32RzwLh9xSzcnNX4= 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=OWy2bbyt; 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=emfend.at; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References :Cc:To:Subject:MIME-Version:Date:Message-ID: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=n5YQ/Ki++xPpgaCaf3kRbjcoNi+Wkj8sI8UeDv77yKw=; b=OWy2bbyt+jrhTzb8iYpvHatuNA rARt/7impr2pJtDopSlhS/cfPTTxhLxOtyYCebSabV8M16JcDc2BljdHsL8sXr1vmkv6287MfVXUi urx0SSbIFqShLypX09COaSvWOcyTSjUZH6iXYjSl+F98GBqdujHVyNhrsY3GLSdd9aII=; Received: from 194-208-208-245.tele.net ([194.208.208.245]:57732 helo=[192.168.0.218]) by lx20.hoststar.hosting with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.93) (envelope-from ) id 1rV7to-00ENGD-QX; Wed, 31 Jan 2024 11:32:57 +0100 Message-ID: Date: Wed, 31 Jan 2024 11:32:54 +0100 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 v2 1/5] media: i2c: imx335: Drop setting of 0x3a00 register Content-Language: de-DE To: Kieran Bingham , Umang Jain , linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , open list , Sakari Ailus References: <20240131055208.170934-1-umang.jain@ideasonboard.com> <20240131055208.170934-2-umang.jain@ideasonboard.com> <170669477439.1011926.18210850208916698098@ping.linuxembedded.co.uk> From: Matthias Fend In-Reply-To: <170669477439.1011926.18210850208916698098@ping.linuxembedded.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: X-Spam-Bar: X-Spam-Report: Hi Kieran, Am 31.01.2024 um 10:52 schrieb Kieran Bingham: > Hi Umang, > > + Cc: Matthias > > Quoting Umang Jain (2024-01-31 05:52:04) >> Register 0x3a00 is a reserved field as per the IMX335 datasheet, >> hence shouldn't be set by the driver. > > We still need to explain more about why we're dropping this register > write, and what effects it causes. > > Matthias - I believe this stemmed from the work you did, and I think I > recall that you stated this register write broke the CSI2 configuration? > > Can you clarify anything here for us please? yes, that's correct. Since this driver originally did not work in my setup, I came across this register while searching for differences to my working reference configuration. With the default value of this register (0x00), the driver works perfectly. With the value previously written to it by the driver (0x01), I cannot receive any frames. The problem may depend on the link frequency used. I can only use and test a frequency of 445.5MHz on my hardware. Since only link frequencies of 594MHz were supported so far, this may not have been a problem. Unfortunately I do not have a description of this register, so I can only speculate about the exact cause. ~Matthias > > -- > Kieran > > >> >> Signed-off-by: Umang Jain >> --- >> drivers/media/i2c/imx335.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/drivers/media/i2c/imx335.c b/drivers/media/i2c/imx335.c >> index 7a37eb327ff4..927b4806a5d7 100644 >> --- a/drivers/media/i2c/imx335.c >> +++ b/drivers/media/i2c/imx335.c >> @@ -249,7 +249,6 @@ static const struct imx335_reg mode_2592x1940_regs[] = { >> {0x3794, 0x7a}, >> {0x3796, 0xa1}, >> {0x37b0, 0x36}, >> - {0x3a00, 0x01}, >> }; >> >> static const struct imx335_reg raw10_framefmt_regs[] = { >> -- >> 2.41.0 >>