[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABkfQAFLAMtj2yV3tCrjcVN70K2F4y4R31mHqm49oeoPcs3KHQ@mail.gmail.com>
Date: Thu, 22 Sep 2022 20:25:54 +0200
From: Adrien Grassein <adrien.grassein@...il.com>
To: Philippe Schenker <dev@...henker.ch>
Cc: dri-devel <dri-devel@...ts.freedesktop.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Jonas Karlman <jonas@...boo.se>,
Robert Foss <robert.foss@...aro.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Daniel Vetter <daniel@...ll.ch>,
Neil Armstrong <neil.armstrong@...aro.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Andrzej Hajda <andrzej.hajda@...el.com>,
David Airlie <airlied@...ux.ie>,
Philippe Schenker <philippe.schenker@...adex.com>
Subject: Re: [PATCH 2/4] drm/bridge: lt8912b: set hdmi or dvi mode
Le jeu. 22 sept. 2022 à 14:43, Philippe Schenker <dev@...henker.ch> a écrit :
>
> From: Philippe Schenker <philippe.schenker@...adex.com>
>
> The Lontium LT8912 does have a setting for DVI or HDMI. This patch reads
> from EDID what the display needs and sets it accordingly.
>
> Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge")
> Signed-off-by: Philippe Schenker <philippe.schenker@...adex.com>
Acked-by: Adrien Grassein <adrien.grassein@...il.com>
> ---
>
> drivers/gpu/drm/bridge/lontium-lt8912b.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c
> index 0fd3472e767c..6a4bb7422176 100644
> --- a/drivers/gpu/drm/bridge/lontium-lt8912b.c
> +++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c
> @@ -323,6 +323,8 @@ static int lt8912_video_setup(struct lt8912 *lt)
> vsync_activehigh ? BIT(0) : 0);
> ret |= regmap_update_bits(lt->regmap[I2C_MAIN], 0xab, BIT(1),
> hsync_activehigh ? BIT(1) : 0);
> + ret |= regmap_update_bits(lt->regmap[I2C_MAIN], 0xb2, BIT(0),
> + lt->connector.display_info.is_hdmi ? BIT(0) : 0);
>
> return ret;
> }
> --
> 2.37.3
>
Powered by blists - more mailing lists