From patchwork Mon May 27 16:03:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 13675943 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 11D71C25B74 for ; Tue, 28 May 2024 00:08:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A6F2710E878; Tue, 28 May 2024 00:08:30 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=free.fr header.i=@free.fr header.b="sFx3rhDV"; dkim-atps=neutral Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by gabe.freedesktop.org (Postfix) with ESMTPS id 750D610E33E for ; Mon, 27 May 2024 16:04:19 +0000 (UTC) Received: from [192.168.108.81] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id D4E8A20039C; Mon, 27 May 2024 18:03:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1716825856; bh=rUEdGPdyXj5bA+ZaxgMI0r7HlEXBf1K3ZZoWPeKgMj8=; h=Date:From:Subject:To:Cc:From; b=sFx3rhDV3YFS8CB7d0xZsSCEJfAaDPzNLN23XhVrMJ8BN7Us3bVKtu/kohh45X9hZ 0BjkaAx72tQD84Z1IsnkJ/6O4U+wTk2Mkq3Ra565Q7PavEC3W03QbxBR9F+LnfeiRV 65UYHjZQZ3aR1pt0p/qNPsTSCC/J9QFMhS6kAPXGOHmsRgGABGA9TPq6HMBUq62vaU DNx/WonAn3leacwJ1OlOYh2nHRmibL5g3L77uu0slE+cKYeYUSaImu0r/bZ75gOdAZ 55KP0/8WV2VxlViBqVP7BCjRbg+mOJjFPYgmnal4QJN9vG3U82JGCpAsvo0HTolMtX 1HF7l+396pp5w== Message-ID: Date: Mon, 27 May 2024 18:03:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Marc Gonzalez Subject: [PATCH v1] drm/bridge: simple-bridge: Add support for TI TDP158 Content-Language: en-US To: Andrzej Hajda , Neil Armstrong , Robert Foss Cc: DRI , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Dmitry Baryshkov , Bryan O Donoghue , Konrad Dybcio , Pierre-Hugues Husson , Arnaud Vrac X-Mailman-Approved-At: Tue, 28 May 2024 00:08:26 +0000 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" From: Arnaud Vrac The TI TDP158 is an AC-Coupled HDMI signal to TMDS Redriver supporting DVI 1.0 and HDMI 1.4b and 2.0b output signals. Since it's an I2C-programmable bridge, it could have a proper driver, but the default settings work fine, thus simple bridge is sufficient. Signed-off-by: Arnaud Vrac Signed-off-by: Marc Gonzalez --- drivers/gpu/drm/bridge/simple-bridge.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/bridge/simple-bridge.c b/drivers/gpu/drm/bridge/simple-bridge.c index 5813a2c4fc5ee..b138279864750 100644 --- a/drivers/gpu/drm/bridge/simple-bridge.c +++ b/drivers/gpu/drm/bridge/simple-bridge.c @@ -292,6 +292,11 @@ static const struct of_device_id simple_bridge_match[] = { .timings = &ti_ths8134_bridge_timings, .connector_type = DRM_MODE_CONNECTOR_VGA, }, + }, { + .compatible = "ti,tdp158", + .data = &(const struct simple_bridge_info) { + .connector_type = DRM_MODE_CONNECTOR_HDMIA, + }, }, {}, };