Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7C4BC4332F for ; Tue, 4 Jan 2022 17:05:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235679AbiADRFC (ORCPT ); Tue, 4 Jan 2022 12:05:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235647AbiADRE4 (ORCPT ); Tue, 4 Jan 2022 12:04:56 -0500 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0913C061792 for ; Tue, 4 Jan 2022 09:04:55 -0800 (PST) Received: by mail-yb1-xb2b.google.com with SMTP id k69so94171064ybf.1 for ; Tue, 04 Jan 2022 09:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=IcS3PPWATTCjd9rgDl75lzPA9pkaRohb033QXt048AU=; b=MPUA+7Mw2XPPNkGpbBQWoXNHeCYJclhzo9RHOrsZX+fNK+jfX5teehLn+DAdAtGg6s 8LQk+MOoNBLnrnX2APEWqtfbIB2hwWJpy/wKyMWlwVZLylPRLs7LAYjDe2qUkxoYwzlc HSKGtk51kg7hN3wYHGKzVaD+f1+VM77swYybXDv6HS3BdvXYRUt9CzV2srKnBFap9JwV qeUisTF2dF4xo+lMP/DZhOl/oBzkQLkckQdTBQPV5XJko8OBWDPFXhT3k084VJmFXXFB lMMgF2X2PVb3/PllbcbIYb+K5214+/Ohx4JuJWuJ8hTvseCzMBDsi6GauZo/7iNYOn8D 9nkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=IcS3PPWATTCjd9rgDl75lzPA9pkaRohb033QXt048AU=; b=llsGCqmZiPUEIyq7EKqf6vbqWYdAF2GYEgiZQGBDt4S80JgPEmP5xGJcTf0UG69lj5 tZlH0siF1b6QL7EFe2RvIwdYcJveItXvQw4owhDwcXIOTMLIVW6nr+2OkqmoDijt1Pby ojL8M+6B2WRbJbhTmzi26Wzki8SyGrdY6LN6fNohDcs4qyT5yCDzqS3LhFi62sqcqyr0 kNC3J9gGC6JPVDO+RVA9wVKD38T9LKYYqpo5c+XIxtnK0SNeTBHBmpDcAaYQH9ihKPcG h0MRkJu13R//qm0EvglXY5prbYdxxiUPPCNPaHE/V+XcB0ujYyw6DJ14bRJcnJ3JVzLp y4yA== X-Gm-Message-State: AOAM5337SlIVPHaCoCRSXiir4iNFmcJKPPpcD7mxROCXPYQGidhhLe6F mnO6OocNex8ROFMOMct83GVGMZqUjV8ZAFi2tMA= X-Google-Smtp-Source: ABdhPJyb2yIKt9Su64itydfcDVMQ2aVqenkQam9E49RVmt3cECJt5TdERikTr8JfjK3uG6hk2ayHjUg7dffmaAnVwPs= X-Received: by 2002:a25:c8c3:: with SMTP id y186mr63651236ybf.20.1641315894859; Tue, 04 Jan 2022 09:04:54 -0800 (PST) MIME-Version: 1.0 References: <20211110220050.2854-1-jirivanek1@gmail.com> In-Reply-To: From: Vinay Simha B N Date: Tue, 4 Jan 2022 22:34:43 +0530 Message-ID: Subject: Re: [PATCH] drm/bridge/tc358775: Fix for dual-link LVDS To: =?UTF-8?B?SmnFmcOtIFZhbsSbaw==?= Cc: Robert Foss , Zheng Bin , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , "open list:DRM PANEL DRIVERS" , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jiri Vanek, Could you please share the part number or datasheet of the dual-link LVDS display used. On Tue, Jan 4, 2022 at 7:59 PM Ji=C5=99=C3=AD Van=C4=9Bk wrote: > > Actually, this patch is based on testing with a real HW with dual-link LV= DS display (full HD) and it also matches with a datasheet. Without this fix= it does not work at all. > > =C3=BAt 4. 1. 2022 v 14:51 odes=C3=ADlatel Robert Foss napsal: >> >> Jiri: Are you able to test this patch? >> >> Vinay: Could you supply a R-b tag, if you feel that it is warranted? >> >> On Tue, 14 Dec 2021 at 09:13, Vinay Simha B N wrote= : >> > >> > Robert, >> > I do not have the hardware to test this feature. Sorry for the late re= sponse. >> > >> > On Thu, Nov 18, 2021 at 8:20 PM Robert Foss w= rote: >> >> >> >> + Zhen & Vinay >> >> >> >> This patch looks good in itself, but I would like to see a tested by >> >> tag. At the very least testing for regression in single-link LVDS but >> >> ideally some third party verification of this patch. >> >> >> >> On Wed, 10 Nov 2021 at 23:01, Jiri Vanek wrote= : >> >> > >> >> > Fixed wrong register shift for single/dual link LVDS output. >> >> > >> >> > Signed-off-by: Jiri Vanek >> >> > --- >> >> > drivers/gpu/drm/bridge/tc358775.c | 2 +- >> >> > 1 file changed, 1 insertion(+), 1 deletion(-) >> >> > >> >> > diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/br= idge/tc358775.c >> >> > index 2272adcc5b4a..1d6ec1baeff2 100644 >> >> > --- a/drivers/gpu/drm/bridge/tc358775.c >> >> > +++ b/drivers/gpu/drm/bridge/tc358775.c >> >> > @@ -241,7 +241,7 @@ static inline u32 TC358775_LVCFG_PCLKDIV(uint32= _t val) >> >> > } >> >> > >> >> > #define TC358775_LVCFG_LVDLINK__MASK 0x000= 00002 >> >> > -#define TC358775_LVCFG_LVDLINK__SHIFT 0 >> >> > +#define TC358775_LVCFG_LVDLINK__SHIFT 1 >> >> > static inline u32 TC358775_LVCFG_LVDLINK(uint32_t val) >> >> > { >> >> > return ((val) << TC358775_LVCFG_LVDLINK__SHIFT) & >> >> > -- >> >> > 2.30.2 >> >> > >> > >> > >> > >> > -- >> > regards, >> > vinaysimha --=20 regards, vinaysimha