Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp262963pxu; Tue, 6 Oct 2020 06:00:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIIVEj4n3I1dSP15p5m1uOnanG8j0CjqyYDquTz4xjwGD62mvE2sQWuYpBhJUPPqx+c0Qd X-Received: by 2002:a05:6402:1151:: with SMTP id g17mr5268054edw.312.1601989247361; Tue, 06 Oct 2020 06:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601989247; cv=none; d=google.com; s=arc-20160816; b=TrfS82Ivs77+mTJumfUNn8ThbjS+1v+ubXToP2DyArCk/wgAvCxWd8P2eWwUbfd34z 4cJWfkhB3ffwwojxp2MuqcnfB1joGUox/SJ3ENn1IsKUg3mu4OJk+v4Nl6eDpbJ25lAT JHPbrI+XXlL+u6Xv1G783iIB2JthZAsNf3UaTR4k8BudEbRZZLRdHwz0aOjk6O3EBuyI xewYqaXwGfYLae+A/wpd3uvPiy8mkorDq/pWvFNb+vZT8o1G1/n278N837n37+f3YLDN DXf+IZd4jjcoFB+wg3JpI9ET/78pHBf6Rr/qMR9gSJBCleDwHe+KrfrwUxmy4trPnkFv 6GoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=diq3XvXTmYU0L/3u+usOk7SwYEJVXgAkI8y/9WrGLxE=; b=r5rf297tfTejfQmlHIhSIgk8Q3WDf2yPZpw9ZhD3hkLGefRNCKzF53UaLrPHwTdHd0 FSoT2RgovU2XbwTCt+OCulzJ6Tip4l28UFZAtMqD+bxSUBpW77cNe/H4HRYIB1yvRV0Y Aza82+AZLMGNAj+Tj7PDptN9Gdu1odwXgFfXqR7CIIUSv6+H+7cbgRIWvl2VDlNfRVEm upXxX74LyvbOroYhc3iV/1jMnu7Iy6IKqn8WFcwZRd5C0qSRDh50Qy4doX8rXuWYSOD9 7433To4LtUwcX+agbr1xVLrlESRiooJzmCeakrG+OdySPgTqbeyKYJZpZom9qq4BwXz5 z4Gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si2357856edh.71.2020.10.06.06.00.19; Tue, 06 Oct 2020 06:00:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725973AbgJFM7L (ORCPT + 99 others); Tue, 6 Oct 2020 08:59:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725906AbgJFM7L (ORCPT ); Tue, 6 Oct 2020 08:59:11 -0400 Received: from hillosipuli.retiisi.eu (hillosipuli.retiisi.org.uk [IPv6:2a01:4f9:c010:4572::81:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2A1CC061755; Tue, 6 Oct 2020 05:59:10 -0700 (PDT) Received: from valkosipuli.localdomain (valkosipuli.retiisi.org.uk [IPv6:2a01:4f9:c010:4572::80:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.eu (Postfix) with ESMTPS id BAF62634C87; Tue, 6 Oct 2020 15:58:30 +0300 (EEST) Received: from sailus by valkosipuli.localdomain with local (Exim 4.92) (envelope-from ) id 1kPmY2-0001ec-Cf; Tue, 06 Oct 2020 15:58:30 +0300 Date: Tue, 6 Oct 2020 15:58:30 +0300 From: Sakari Ailus To: David Lu Cc: Dongchun Zhu , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: ov8856: decrease hs_trail time Message-ID: <20201006125830.GD5682@valkosipuli.retiisi.org.uk> References: <20200727030748.3791-1-david.lu@bitland.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200727030748.3791-1-david.lu@bitland.com.cn> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, On Mon, Jul 27, 2020 at 11:07:48AM +0800, David Lu wrote: > To meet mipi hi speed transmission, decrease hs_trail time to pass mipi > test. > > Signed-off-by: David Lu > --- > drivers/media/i2c/ov8856.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/i2c/ov8856.c b/drivers/media/i2c/ov8856.c > index 4ca27675cc5a..1f1835b14a24 100644 > --- a/drivers/media/i2c/ov8856.c > +++ b/drivers/media/i2c/ov8856.c > @@ -284,7 +284,7 @@ static const struct ov8856_reg mode_3280x2464_regs[] = { > {0x4601, 0x80}, > {0x4800, 0x44}, > {0x4816, 0x53}, > - {0x481b, 0x58}, > + {0x481b, 0x42}, Could you elaborate a little more in the commit message what does the register do and exactly what is changed? Is it the raw ths_trail value or something else? The nature of the change is such that it is very likely board specific somehow. If you change this value for your system, does the change have adverse effects elsewhere? > {0x481f, 0x27}, > {0x4837, 0x16}, > {0x483c, 0x0f}, > @@ -474,7 +474,7 @@ static const struct ov8856_reg mode_1640x1232_regs[] = { > {0x4601, 0x80}, > {0x4800, 0x44}, > {0x4816, 0x53}, > - {0x481b, 0x58}, > + {0x481b, 0x42}, > {0x481f, 0x27}, > {0x4837, 0x16}, > {0x483c, 0x0f}, -- Kind regards, Sakari Ailus