From patchwork Sun Feb 11 09:51:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 13552405 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 E3830C4829B for ; Sun, 11 Feb 2024 09:53:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A6F8D10E546; Sun, 11 Feb 2024 09:53:12 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=atomide.com header.i=@atomide.com header.b="iEmVN+6y"; dkim-atps=neutral Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7FD7B10E546 for ; Sun, 11 Feb 2024 09:53:05 +0000 (UTC) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id E340D6049B; Sun, 11 Feb 2024 09:52:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1707645172; bh=2tmLXp+7aThXLcoyLP6d9CCh9eBdQKl2YmMBFlXEZss=; h=From:To:Cc:Subject:Date:From; b=iEmVN+6yiec3LzZrePcBZPFMwwbM1NKh5kwy499Ah5Kr3/ZxdB+hDxBvP9fDl036N GkarL7eaFYMNHfvkPnJYpXY8hj020vn4GosEvk16ZmPHQIz22WWjwIh/7CZSufcN8i Skh9uI/Sk65GYk27XufuvtGw5gOjCLIgiUwd/Lcdw1YBDz+QQ+nuUQjCFah86omZNo US9FkLq2Es+Fd84dEWPSnkLUs1JtzvxyS0Fx3thkHrafeOlcZXqHAdSfh5/LA68zRf kYkNvpnUv9VG6kd9oNww2cWV2YagnjB2gVYLfTldtW26WOIpvLQTBk6YTxWIxI+QZq bFsobr552at3A== From: Tony Lindgren To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Simha BN , Sam Ravnborg Cc: Dmitry Baryshkov , Michael Walle , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v3 00/10] Improvments for tc358775 with support for tc358765 Date: Sun, 11 Feb 2024 11:51:05 +0200 Message-ID: <20240211095144.2589-1-tony@atomide.com> X-Mailer: git-send-email 2.43.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi all, Here are v3 patches to improve tc358775 driver and add support for tc358765. Regards, Tony Changes since v2: - Only make stby-gpios optional for tc358775, and disallow them for tc358765 as noted by Krzysztof - Added additionalProperties: false for port-base as noted by Krzysztof - Updated patch description for why there can be a data-lanes property for both the DSI host and the bridge as noted by Dmitry - Improved the old dtb data-lanes warning as suggested by Michael - Fix warning on casting of_device_get_match_data() as noted by the kernel test robot Changes since v1: - After a brief offline discussion with Michael, merge series with Michael's patch series to make stby gpio and supplies optional as they may be hardwired - Use Michael's better patch for the jeida timings change - Parse lanes on the bridge side like other bridge devices do, and if not found, also parse on the DSI host side and warn Michael Walle (3): dt-bindings: display: bridge: tc358775: make stby gpio optional drm/bridge: tc358775: fix support for jeida-18 and jeida-24 drm/bridge: tc358775: make standby GPIO optional Tony Lindgren (7): dt-bindings: display: bridge: tc358775: Add data-lanes dt-bindings: display: bridge: tc358775: Add support for tc358765 drm/bridge: tc358775: Get bridge data lanes instead of the DSI host lanes drm/bridge: tc358775: Add burst and low-power modes drm/bridge: tc358775: Enable pre_enable_prev_first flag drm/bridge: tc358775: Add support for tc358765 drm/bridge: tc358775: Configure hs_rate and lp_rate .../display/bridge/toshiba,tc358775.yaml | 38 +++++-- drivers/gpu/drm/bridge/tc358775.c | 98 ++++++++++++------- 2 files changed, 93 insertions(+), 43 deletions(-)