Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp905149lqj; Mon, 3 Jun 2024 04:47:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVGbHbw+zsv9Aaso9dWI7YDPBzxBtOkGuAxjscvNf9aONTPoTHvuOh7OOF4CgXV3MguitbswL0bO5mWr9yJzwMfre8LMm1HT5f5Zvr2g== X-Google-Smtp-Source: AGHT+IHS7/9H4bNxXnRPF+k4hW/jJL7xbdgl0HTwrXV8IojKLDINPhBjv8Tue1xfAegm5u7+y6GM X-Received: by 2002:a17:906:3f8c:b0:a67:8f68:73e4 with SMTP id a640c23a62f3a-a6820be8df6mr622351266b.44.1717415261253; Mon, 03 Jun 2024 04:47:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717415261; cv=pass; d=google.com; s=arc-20160816; b=wE7o4YvEZKuLSK4EXbeIqNwE5gJ1eAPaXE3EimBzwU+D3SwSmFK3P28CesB6od9R1E aTLlel77tA1yB6+KLfhHDJiPp7xeeEf+Zh/E4Cb4ZJsj22Dofn37Xk+6tHn1qIz3qVvJ ikY4ImNNdLm15haAS5KmlMkU8dQS023bJNoitCt6/729wgx70BE4VaoqdFcvFfpEa8rL aJBC+SGERx9JSikLngqhKhQBv2EwBs8q/nSXZq0PlN80jri0rlL86VEeGy8NKKZ3V5AP 0kLaMLQx/BoFLk5RXvWNDyrrotqY4acbpNwSN0Vybun60rSZMNyLQrDIL3boJm5e12pJ P6fg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to :references:subject:to:from:cc:message-id:date:dkim-signature; bh=ru5P8lRF/gNAmlLJ0Tfh9QHUrh22PROtEzMg29undro=; fh=Ul+HyDILfkZ/zE3zEY+78Ou2xDC/NRQOXwTMHtWzCiw=; b=tAcVtSPUIp33OysNpZOHjdLv4iEpncUQQ/soZLwKphZm5fPg8nYByJp7dlBctrKgGf jQgAFjAtjj5qgPpIIONbJrZj24ck1cB9k+NXK5Uj9Ffk9cL6ZyYaZ74BJ9+0jLZB/kp7 5WH/LZlAHYV4RrsS3Yc6oFOmhBC0H2mE9/TwM/Qt2rlq6ZbXYPLIS+K0mnZnXMA9WMxp 114CLLP1u0hqFrBDNwrhYzqcpWhuRgxJ82lVHtTtQz5idAiFttjfnimEnXKIH9Qcctcg oVTTXtRtHhkhSa7IV2nI9O9dCWZ38/qazzA3eXb5l674YBfPSM4GD+1N/13YCsIKixq1 yh1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tSlPDIH/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199063-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199063-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a68b52adb76si267512366b.613.2024.06.03.04.47.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 04:47:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199063-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tSlPDIH/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199063-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199063-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EDBBC1F25CFA for ; Mon, 3 Jun 2024 11:47:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF3A685653; Mon, 3 Jun 2024 11:47:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tSlPDIH/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D960D85291 for ; Mon, 3 Jun 2024 11:47:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717415244; cv=none; b=PRFBqAnQaLDAa1El/kwSCMBgztUuNXN2dx+cCJWXR8wSxOs9jrblZEBMhfB+pJpjsTgfwEjnh42SoYSXZPg+mOrB97spopQbsKn7WzkOsGiFh1U75R/KzEtF/FdlmN0X7coCdG7Szm0xKXC+KoDT3S1YxsHgcpZBHOw2CUjVuPo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717415244; c=relaxed/simple; bh=3Im1QpDdWkDh0sb6TFhqrVvzJ24+046kZtmwGLRL/Jk=; h=Content-Type:Date:Message-Id:Cc:From:To:Subject:References: In-Reply-To; b=bDAAdxf+otRCn2StO724Uly5wLB2zZI6YpGEQGyZ85hDTrKUoYdgb6U8YjARotJq9ipBTOgyjKS4q7NSnE01YRkPeKPRXIQ/QkHpB01sCwYII16ha7RCQA6IAnMwopi8OTOFqSNoxhDAQDmIPCNcYEsuHooBcQV9hFMgZQI9qQw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tSlPDIH/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 419B4C4AF09; Mon, 3 Jun 2024 11:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717415244; bh=3Im1QpDdWkDh0sb6TFhqrVvzJ24+046kZtmwGLRL/Jk=; h=Date:Cc:From:To:Subject:References:In-Reply-To:From; b=tSlPDIH/gvTaPGlTgTDQUmrEB6CAdfgyZ/5kDLkDs7vbBlI/Pymu4Om48sGbmFPCA 6+CD1r/ZA4L81E/q6P6S+Gjq8DOZ2aHj9JaX1aXHiE2SuUADHKMCiYxTL+ScKsC/8Q Yt9q3mq7nVNVyYlWYCjxk4m9jWeVym667qQr0rKxw3FvC+EhhsA9N0M10phRAR6tP1 uHp/pSygLH1l6mqFqTsbE69SC9gN9OS1b+L4uNN3DBE7oTYvPh7m8zS/IBkR4sgOc4 KF+4Rn+j5gueKjR1/4oCmeX0acmRsUUFVxPBFmogw46N+kd6KbppQf1fAnzf3dQ3cq 5QZbui0BORiVQ== Content-Type: multipart/signed; boundary=65f0fc295269b97015ccf49f95fa8248b459b679f76c7412027362baf4cb; micalg=pgp-sha384; protocol="application/pgp-signature" Date: Mon, 03 Jun 2024 13:47:20 +0200 Message-Id: Cc: "Daniel Semkowicz" , , , , From: "Michael Walle" To: "Michael Walle" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Laurent Pinchart" , "Jonas Karlman" , "Jernej Skrabec" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Daniel Vetter" , "Chun-Kuang Hu" , "Philipp Zabel" , "Matthias Brugger" , "AngeloGioacchino Del Regno" , "Sam Ravnborg" , "Vinay Simha BN" , "Tony Lindgren" Subject: Re: [PATCH 00/20] drm/bridge: tc358775: proper bridge bringup and code cleanup X-Mailer: aerc 0.16.0 References: <20240506-tc358775-fix-powerup-v1-0-545dcf00b8dd@kernel.org> In-Reply-To: <20240506-tc358775-fix-powerup-v1-0-545dcf00b8dd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --65f0fc295269b97015ccf49f95fa8248b459b679f76c7412027362baf4cb Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Mon May 6, 2024 at 3:34 PM CEST, Michael Walle wrote: > This patchset fixes the bridge initialization according to the > datasheet. Not sure how that even worked before. Maybe because the > initialization was done prior to linux (?). > > The bridge has some peculiarities: > (1) The reset has to be deasserted in LP-11 mode > (2) For I2C access the bridge needs the DSI clock > (3) The bridge has to be configured while the video stream is > disabled. > (4) The bridge has limitations on the display timings. In particular, > the horizontal pulse width has to be at least 8 pixels wide and > both the horizontal pulse width as well as the back porch has to > be even. According to the datasheet the horizontal front porch as > well but in line sync mode, this is ignored. Also line sync is the > only supported mode for this bridge, therefore, the front porch > is always ignored. > > The most controversial patch is probably "drm/bridge: add > dsi_lp11_notify mechanism" which is needed for (1) above. Some time ago > there was a series [1] to add a manual power-up, which was abandoned and > which didn't suite the needs for this bridge anyway. > > Also, this will gradually change the tc_ prefix to tc358775_ while the > functions are refactored. > > The bridge was successfully tested on a Mediatek MT8195 SoC with the > following panels: > - Innolux G101ICE > - AUO G121EAN01.0 > - Innolux G156HCE (dual-link LVDS) > > [1] https://lore.kernel.org/r/20231016165355.1327217-1-dmitry.baryshkov@l= inaro.org/ Any comments on this series, besides the discussion on how to do the reset during LP11? Most of the other patches should be more or less self contained. -michael --65f0fc295269b97015ccf49f95fa8248b459b679f76c7412027362baf4cb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCZl2tSBIcbXdhbGxlQGtl cm5lbC5vcmcACgkQEic87j4CH/gPqAGAvrp3hTLYUbjIYBOpNYq9pcLyYAkX0L1M pnxRMxFhmPLqiUGqptlFhUG/89N83cXRAYDf5X6gn9jZ6lVGmpOmSM8iYxeTgaBT q/FJmhXj6+H0qREQl40LYeF7XWWiPR5wO9c= =K1xu -----END PGP SIGNATURE----- --65f0fc295269b97015ccf49f95fa8248b459b679f76c7412027362baf4cb--