Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3829942rdb; Mon, 11 Dec 2023 00:42:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEca7ViQPIECWASSwvPUxcIRdkHVoBftOnOqihwVfbkGDuGfZPyRLmetldsXpyH+7eGN4o X-Received: by 2002:a17:902:eb85:b0:1d0:56bf:f804 with SMTP id q5-20020a170902eb8500b001d056bff804mr1646475plg.14.1702284171877; Mon, 11 Dec 2023 00:42:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702284171; cv=none; d=google.com; s=arc-20160816; b=EOFDQGqgluIPCiJoM7uohGtJ/W1Te7ld+CpE7vtyvPMap3ufRdejvEJL4UuUSKKkzn QH2L5WrJ9GYsKqsXWiFIPNJq9O44xY4B/hvbCHdNq5D8oBf+GLXDaCzimEz+VYSIApq/ zM3JC+p4RHOAjvJ8l4irqIvBrp84wUvIU9lTashls8r2gYVzpEAejejjfY1LPL+Scb38 LwUYPD+jagsZqFV8L4ulIXw+K4likS8gysVpoFY+hzekzmWM2xMdfPnCmL8lWgosak+k CooRt8wqZ7tXKFOtfXMCGL+I2/9iMKuzUAPLVoSVuZbm4OGTZhEow6JC7CIcF805tbDt YFGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=LcTEGYipYtNYuhq4JAQa9EjrkKVT8t/tenAGI2lHM9M=; fh=KfSzQissSKJLYI9dGask0c4QGs3xXZteQWbpoBAunxw=; b=iyDTseLhR0xbbWIRHTQW5fpu1mxCOimjqVpzxSX9ck+KCEiGvFSMaN5OJXfbmtrzid jbVRpiizasBDDwkyPJlr7cCSrYnPMF3LCo7UfDg6IB6JDb25eUPLwQ/dawte5MrrbyVM sORdF7JhhkEDUlBRZvpIHmU0ghyJwkKCMN6+yfyj9SMDiibr8cZjv1qcaxjRrEhxsnbn o56G4F6HhVN9W8s/0AUpYkCZIoImhmHSNPdB/2BVJufWaYouU1U2qG5YZaAl6659JX+5 aYVb54GGDf7/E2eq8u9mX8tf9L4rKWu/6Srqy0A5FtKPjgplAoCWAz+vjWBvM3GUHNhT mDbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b="YH/icvc7"; 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=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id o15-20020a170902d4cf00b001d082f25836si5765835plg.333.2023.12.11.00.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:42:51 -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=@tq-group.com header.s=key1 header.b="YH/icvc7"; 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=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 1E55E8059175; Mon, 11 Dec 2023 00:42:49 -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 S233970AbjLKIme (ORCPT + 99 others); Mon, 11 Dec 2023 03:42:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjLKImd (ORCPT ); Mon, 11 Dec 2023 03:42:33 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21D5AA0 for ; Mon, 11 Dec 2023 00:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702284158; x=1733820158; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LcTEGYipYtNYuhq4JAQa9EjrkKVT8t/tenAGI2lHM9M=; b=YH/icvc7z68XBPTToM58hJZJLs9fYzZJMGZFAPIRV8a53Q5rtu+nk1WO 5mvw9Pp+T1CIwUMjMG3hXQGMARlPVPXxFbSz4XdkjRJn51rrKHnbjLK0s v2fuOXkr0skEuiPI3l0O2SawdVjN1Xi+RqH3OVaeYjAQHXT2GJxK8ckf5 j8nue4rCJgS7HtrR8kqs88IyRIJAe94/i2YHDRnBmpwD89j0nOQh4pu8e tvDEmWeWkaLsL28fAWyzMGa7PrLZRFtJ6Pu4O4OVyPEeFIEGom0xt68/i NN0ObGGYZBVgTELOdEJNJLmEpCVS+h3GVtiu3ACHSYvTTSaaVNIdPheud Q==; X-IronPort-AV: E=Sophos;i="6.04,267,1695679200"; d="scan'208";a="34426043" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 11 Dec 2023 09:42:36 +0100 Received: from steina-w.localnet (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id B19F9280075; Mon, 11 Dec 2023 09:42:35 +0100 (CET) From: Alexander Stein To: Aradhya Bhatia , 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 , dri-devel@lists.freedesktop.org, Tomi Valkeinen Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] drm/bridge: tc358767: Fix DRM_BRIDGE_ATTACH_NO_CONNECTOR case Date: Mon, 11 Dec 2023 09:42:37 +0100 Message-ID: <4854369.GXAFRqVoOG@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <511f437b-89b5-4963-ae7d-dd66ab6db4fc@ideasonboard.com> References: <20231108-tc358767-v2-0-25c5f70a2159@ideasonboard.com> <3537389.iIbC2pHGDl@steina-w> <511f437b-89b5-4963-ae7d-dd66ab6db4fc@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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:42:49 -0800 (PST) Hi Tomi, Am Mittwoch, 6. Dezember 2023, 13:11:59 CET schrieb Tomi Valkeinen: > Hi, >=20 > On 08/11/2023 14:45, Alexander Stein wrote: > > Hi Tomi, > >=20 > > 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 connecto= r. > >>=20 > >> I have tested this with TI AM654 EVM with a tc358767 add-on card > >> connected to a DP monitor. > >=20 > > 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. >=20 > 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? Looking at Figure 4.20 (Power On Sequence) in the datasheet TC9595XBG (Rev = 1.1=20 2021-06-23) you can see that RESX can be released (only) after DSI lanes we= nt=20 to LP-11 state. I got information, down from the support, that LP-11 must b= e=20 up in order to use AUX channel. This also matches our observations, DSI hos= ts=20 often enable LP-11 only in atomic_prepare. That's too late so we used some= =20 hacks to enable LP-11 right from the beginning just to get access to AUX=20 channel. Best regards Alexander >=20 > Tomi >=20 > > Best regards, > > Alexander > >=20 > >> 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.co= m/ > >> - > >> Link to v1: > >> https://lore.kernel.org/r/20231031-tc358767-v1-0-392081ad9f4b@ideasonb= oar > >> d. > >> com > >>=20 > >> --- > >>=20 > >> Aradhya Bhatia (1): > >> drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI = to > >>=20 > >> (e)DP > >>=20 > >> Tomi Valkeinen (1): > >> drm/bridge: tc358767: Fix link properties discovery > >> =20 > >> drivers/gpu/drm/bridge/tc358767.c | 32 +++++++++++++++++++++++++++++= +++ > >> 1 file changed, 32 insertions(+) > >>=20 > >> --- > >> base-commit: 9d7c8c066916f231ca0ed4e4fce6c4b58ca3e451 > >> change-id: 20231031-tc358767-58e3ebdf95f0 > >>=20 > >> Best regards, =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/