From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6685DC77B7C for ; Wed, 24 May 2023 06:49:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q685QHJyU7cmUikF+N1v+CWoQgln+vH6mZa5PKps5MY=; b=vUe9pjLa0ZlKhV wJSGQyTcnXQYZfvxQnN0RkP7qJyIqXHQQrs3m/gV7OeSx25r3hYcKSn7I6jbXPOvELu1xXkf4ZuA4 6jtyMsCW6gRUqd8mxv8wY+HUZySdfkzWiWv4Wb7vvh9mQo69dBwpM+Oaf76dZbZyME+/NosEzftKD AjByFnKSxEtwPHg2ocrYdZE1eCR+4ozrbUL5Eo1rfLgaPnvGgwtsNdaP5Rus14t9gdjdseIPrhAk0 A8m6LFHw3dvDhfXQK2ySOvOliYM2Tjwr3uEi+0p71lhdEHlq7q6+0jlqGgAml5tkXJRiF95NTnjB5 8+FM8r1mfK6b786JotYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1iJ6-00CWy9-1t; Wed, 24 May 2023 06:49:12 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q1iJ3-00CWx8-2c for linux-arm-kernel@lists.infradead.org; Wed, 24 May 2023 06:49:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1684910949; x=1716446949; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Hf+M+2xND4N+7Ro7WW3Q7owfeFT1BqB76HchdFp59fY=; b=q0AB2bsgcGgDJqD4kPczOd3Rxvq6YHDlVvsol0aGdn7sUzNijfJhPUaY G05WSMSA5KR5ZLX8srvEmIoYo7LxhOUudw4UcPzhj37Pyscupns1tgAks +B0HzCnWZZKaeBbPNCnbhkNyLvaTpoP87NJaJI/D4wpjPlT040SBp3HKY JsmW3sMwaoxUP/w2dlDUL940tjGcVY6MuB7L/AGDi2kGtdlrLPpvh8guu wgGhFGeox7D81eeub82mjTUkV7gi/Ia2vj+ixZCOmj8pPQIKS+KX4R7Ym GNi8wdR5uB0UOVR2SvyZ/gMRcX4PpYBOSyweB2bSa7T4sukM9HhdFZiKx w==; X-IronPort-AV: E=Sophos;i="6.00,188,1681164000"; d="scan'208";a="31061656" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 24 May 2023 08:49:05 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 24 May 2023 08:49:05 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 24 May 2023 08:49:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1684910945; x=1716446945; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Hf+M+2xND4N+7Ro7WW3Q7owfeFT1BqB76HchdFp59fY=; b=EAk7TPed8Y/lhSjYilQ/cRiAJYrkllnoD48SFcxmGnko5fkmpdhc7f9J Q8tEYmnWeeDE6rgW1i0plfddzqQ05z+xKrJ1TDxh8RWLhs7MqQsijiL0/ 1xl8GmfZLamtrOp0HqgmNUwR6WjaLNf1yyEcQ3X6WQz9z5tBVj0IK894c KkG/eIcMZ5D3EB5r5NfcbvxfNKs8EBLCvluTzdr+CIItYMPfxcWIVh0w7 rWQ1BWS6ilhf/dMFtnL3MPngqDw0EObHWIj4MS3OjBacXuuNo6jJWtgps l5yJhCQTnIXyfIFTq7et04Aau+rgtg1Kl6Aec2SlPfPu/HaDyk/pS6EX2 Q==; X-IronPort-AV: E=Sophos;i="6.00,188,1681164000"; d="scan'208";a="31061655" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 24 May 2023 08:49:05 +0200 Received: from steina-w.localnet (unknown [10.123.53.21]) (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 5D832280082; Wed, 24 May 2023 08:49:05 +0200 (CEST) From: Alexander Stein To: Marek Vasut Cc: linux-arm-kernel@lists.infradead.org, Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org Subject: Re: [PATCH] arm64: dts: imx8mp: Add TC9595 bridge on DH electronics i.MX8M Plus DHCOM Date: Wed, 24 May 2023 08:49:04 +0200 Message-ID: <3741758.kQq0lBPeGt@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <43cb9c13-7d65-064e-943c-a9d3e6c63f64@denx.de> References: <20230515162424.67597-1-marex@denx.de> <2684415.mvXUDI8C0e@steina-w> <43cb9c13-7d65-064e-943c-a9d3e6c63f64@denx.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_234910_231363_9AC82360 X-CRM114-Status: GOOD ( 19.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Marek, Am Dienstag, 23. Mai 2023, 15:10:05 CEST schrieb Marek Vasut: > On 5/23/23 13:17, Alexander Stein wrote: > > Hello Marek, > = > Hi, > = > > Am Montag, 15. Mai 2023, 18:24:24 CEST schrieb Marek Vasut: > >> Add TC9595 DSI-to-DPI and DSI-to-(e)DP bridge to > >> DH electronics i.MX8M Plus DHCOM SoM . The bridge > >> is populated on the SoM, but disabled by default > >> unless used for display output. > >> = > >> Signed-off-by: Marek Vasut > > = > > Were you actually able to access the display? E.g. reading DPCD via AUX > > channel? > = > I only tried the full display port (the one with large plug) on the TC > evaluation kit, there I could use the aux channel. Are you testing this > bridge and running into issues ? Details please ? Which SoC is this evaluation kit based on? Yes, I'm trying to test this bridge on imx8mp based board. = AFAICS I run into a timeout during drm connector .get_modes call, see kerne= l = log below. > samsung-dsim 32e60000.dsi: [drm:samsung_dsim_host_attach [samsung_dsim]] = Attached tc358767 device > tc358767 1-000f: failed to read DPCD: -110 > tc358767 1-000f: failed to read display props: -110 Looking at the AUX_CH+/- signals, I can see the native aux request and the = (presumable) correct answer (DP_DPCD_REV register) from the display. But fo= r = some reason the bridge runs into a aux timeout. I can see in the DP0_AUXSTATUS register the bus gets busy (0x1) after start= ing = transfer. But after the tc_aux_wait_busy() call DP0_AUXSTATUS his indicatin= g a = timeout and sync error (0x310002). When changing the "Aux Bit Period Calculator Threshold" to 5 (register = AUXCFG1), the sync error is gone, but the timeout still happens. The frequency used from the display is ~1MHz, which should be okay. So on t= he = electrical side all seems okay, but the native aux transfer don't work. Any ideas? Best regards, Alexander -- = 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/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel