From patchwork Thu Feb 15 12:31:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 13558322 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 96174C4829E for ; Thu, 15 Feb 2024 12:33:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C979810E79A; Thu, 15 Feb 2024 12:33:40 +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="ajA99syd"; dkim-atps=neutral Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 330EA10E5D9 for ; Thu, 15 Feb 2024 12:33:35 +0000 (UTC) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 80E8C603EF; Thu, 15 Feb 2024 12:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1708000401; bh=W1D68tbk/9FnPlVY0/4Y0KKtjdfDkkx2PvBEpVoe4XY=; h=From:To:Cc:Subject:Date:From; b=ajA99sydUstqpYQbZ9LjyriMwdBfgaNfOlZevcmnwh1XdZMIqBP3J9qcEh0AOYYgO ucrCDbceeJcBIkKHv5kEWESQO91KFd0yHMYhTpZW6AqDP5CdKFb+1H854z1OlTk/NP PktR0gh2Z5+nDQBj4X0dXQHsNaB0Qr3lJf2M2WM0TbVtOzA30+Cb7rWFBBe7RvKoAa soXsSv0hFLq1KQ3JCkQ5FlsHgRkJTdx3IWL0gK+NcJ+ayxw56+tlYHBGxzeBpYO8wp JU9MQ2GK+7LK1+A/iZ8pA6xsYS1XT+AR1GfXNq7468OW8a1Objr1hoa9YLDWrUw9Dd n9NSeRxEk08MA== 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 , Krzysztof Kozlowski , Michael Walle , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v4 00/10] Improvments for tc358775 with support for tc358765 Date: Thu, 15 Feb 2024 14:31:43 +0200 Message-ID: <20240215123222.42609-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 v4 patches to improve tc358775 driver and add support for tc358765. Regards, Tony Changes since v3: - Fixed dts binding warnings 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 | 39 ++++++-- drivers/gpu/drm/bridge/tc358775.c | 98 ++++++++++++------- 2 files changed, 94 insertions(+), 43 deletions(-)