Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3817394rdb; Mon, 11 Dec 2023 00:08:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEHLPtOHiQSEw6Lql50/Eum9nElMGSFj/i80QKIyEapxv7o/QHhFjxeD/WhJMYKzPbtek/ X-Received: by 2002:a17:902:ecce:b0:1d0:8f0d:b6e4 with SMTP id a14-20020a170902ecce00b001d08f0db6e4mr1508943plh.111.1702282080950; Mon, 11 Dec 2023 00:08:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702282080; cv=none; d=google.com; s=arc-20160816; b=Ft/6Dt9E8hk1MvPysF2Y97n/Wp+6UyyHeNaprbO7NU+ecIBMqiMP5nNWOX7x5AOljt BF087MsRYEkkFxIZvMg4jhQQmfkeR4hnSoXukX2+eKS6NplnTdTKiDZc2XvkocaoXzHA /O8RJitS7GcrN3MJgHj1+GNUx9FmFHL+1Zt66ICI0ZVSl8lSawyCPsV+bf4PGOUURII9 jdO8dYe8lrEGu6RJIStL+udxhAGn28Szp8KP2pd2R89ZLMPM/AAj1KacpPo2iB63YYD4 AijeNercW8X2s0av9SHwNjHjrWir+ddGcBgNlCvrG/NYMGTaG8MFf7k0lYXktkMyZQ0h r68A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nQh0szUKn1fiUjn2eBJrcs5FIE908EQzylNliKwbDHc=; fh=hIFKP3t8UrpASjuHcFv8eyBraUU8P+3La+9URCBLeO8=; b=XgP0YRHXV0D65S7fprsPM5hIzdi6EfRYlkcwFvklwqchySqmcY1lT/6Z0q0r+H7Lpc MaqPCcGgA2tyACIPrHv20ye36irS3xFxjw6qOBp4DTZfbl4NcTJ6eqqLEsb5EgMcK+Fh BRR9RzbvduLmkuWEoTPRqbrpX1w7pVP5x39DBARKwIbwf9nVQ/TTZXJjHMlnSwLRNFmQ DPcDu1Plu7FbRR5SiW0t9AOdQ+bA20tC6FsAEJIU3di2jgOswZAifgAK4cBKOBN21HaZ A1++OYj1pCIh6IpLNnutBmqdPPd2/p1rzp7ndle7R2bVocYv8GNiTuv3ZyBHBfi1b0FE WQVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Z1RSwQy3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id h2-20020a170902f54200b001cfa70f3a2asi5843649plf.245.2023.12.11.00.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:08:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Z1RSwQy3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 383D5805F4AE; Mon, 11 Dec 2023 00:07:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233915AbjLKIHn (ORCPT + 99 others); Mon, 11 Dec 2023 03:07:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233904AbjLKIHm (ORCPT ); Mon, 11 Dec 2023 03:07:42 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36DABED for ; Mon, 11 Dec 2023 00:07:46 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BB877gp041704; Mon, 11 Dec 2023 02:07:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702282027; bh=nQh0szUKn1fiUjn2eBJrcs5FIE908EQzylNliKwbDHc=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=Z1RSwQy3EJtECrlifpYfXVA13frkJ+cxKdh8d0QPx9GDYqAKIO7CDGgG3+bCmG+r7 qSuoM0i7UvwN9H+stxX/2iCMcrKoGwVpSvjDZKS3uP8cWwOZxtYlqXhP73P6vCrPCK +FJr9qrkxOoJHI4pHhAxcygAmtiyX/jSWaxTpSbM= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BB877hF073914 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 11 Dec 2023 02:07:07 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 11 Dec 2023 02:07:07 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 11 Dec 2023 02:07:06 -0600 Received: from [172.24.227.25] (uda0496377.dhcp.ti.com [172.24.227.25]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BB871nQ074015; Mon, 11 Dec 2023 02:07:02 -0600 Message-ID: Date: Mon, 11 Dec 2023 13:37:00 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/2] drm/bridge: tc358767: Fix DRM_BRIDGE_ATTACH_NO_CONNECTOR case To: Tomi Valkeinen , Alexander Stein , Jan Kiszka , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sam Ravnborg , , CC: References: <20231108-tc358767-v2-0-25c5f70a2159@ideasonboard.com> <3537389.iIbC2pHGDl@steina-w> <511f437b-89b5-4963-ae7d-dd66ab6db4fc@ideasonboard.com> Content-Language: en-US From: Aradhya Bhatia In-Reply-To: <511f437b-89b5-4963-ae7d-dd66ab6db4fc@ideasonboard.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 11 Dec 2023 00:07:58 -0800 (PST) On 06/12/23 17:41, Tomi Valkeinen wrote: > Hi, > > On 08/11/2023 14:45, Alexander Stein wrote: >> Hi Tomi, >> >> Am Mittwoch, 8. November 2023, 12:27:21 CET schrieb Tomi Valkeinen: >>> These two patches are needed to make tc358767 work in the >>> DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. >>> >>> I have tested this with TI AM654 EVM with a tc358767 add-on card >>> connected to a DP monitor. >> >> Just a question regarding the usage of this DSI-DP bridge. >> What is the state of the DSI lanes after the DSI host has been >> initialized, >> but before calling atomic_pre_enable? AFAIK this bridge requires LP-11 >> on DSI >> at any time for accessing the AUX channel. + Marek Marek, Alexander, A quick grep tells me that you have added devicetree for tc358767 in DSI to (e)DP mode on other platforms. Could you please test these patches and report if you find any issue? Regards Aradhya > > We haven't received any test reports for the DSI-DP case... I was > looking at the datasheet, and I wonder, why do you say the bridge > requires DSI to be up for the AUX transactions? > >  Tomi > >> Best regards, >> Alexander >> >>> Signed-off-by: Tomi Valkeinen >>> --- >>> Changes in v2: >>> - Update the format negotiation patch as discussed in >>> https://lore.kernel.org/all/7ddf0edb-2925-4b7c-ad07-27c030dd0232@ti.com/ - >>> Link to v1: >>> https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonboard. >>> com >>> >>> --- >>> Aradhya Bhatia (1): >>>        drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to >>> (e)DP >>> >>> Tomi Valkeinen (1): >>>        drm/bridge: tc358767: Fix link properties discovery >>> >>>   drivers/gpu/drm/bridge/tc358767.c | 32 >>> ++++++++++++++++++++++++++++++++ >>>   1 file changed, 32 insertions(+) >>> --- >>> base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451 >>> change-id: 20231031-tc358767-58e3ebdf95f0 >>> >>> Best regards, >> >> >