[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <85673db7-d311-47cc-be52-291d94e136e4@foss.st.com>
Date: Fri, 25 Jul 2025 13:08:58 +0200
From: Clement LE GOFFIC <clement.legoffic@...s.st.com>
To: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>,
Yannick Fertre
<yannick.fertre@...s.st.com>,
Philippe Cornu <philippe.cornu@...s.st.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard
<mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie
<airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Rob Herring
<robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre
Torgue <alexandre.torgue@...s.st.com>,
Catalin Marinas
<catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Christophe Roullier
<christophe.roullier@...s.st.com>
CC: <linux-arm-kernel@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [Linux-stm32] [PATCH 09/12] arm64: dts: st: add lvds support on
stm32mp255
Hi Raphael,
On 7/25/25 12:04, Raphael Gallais-Pou wrote:
> The LVDS is used on STM32MP2 as a display interface.
>
> Add the LVDS node.
>
> Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
> ---
> arch/arm64/boot/dts/st/stm32mp255.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/st/stm32mp255.dtsi b/arch/arm64/boot/dts/st/stm32mp255.dtsi
> index f689b47c5010033120146cf1954d6624c0270045..a4d965f785fa42c4597494010855aec7e1b9fdd1 100644
> --- a/arch/arm64/boot/dts/st/stm32mp255.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp255.dtsi
> @@ -6,6 +6,18 @@
> #include "stm32mp253.dtsi"
>
> &rifsc {
> + lvds: lvds@...60000 {
> + compatible = "st,stm32mp25-lvds";
For the compatible you now need one comaptible per SoC.
It means your compatible should look like : "st,stm32mp251-lvds".
This way, if on the 253 or 255 there is an issue you are able to easily
add match data in the driver with compatible "st,stm32mp253-lvds" or
"st,stm32mp255-lvds".
A prior discussion on this subject has been raised on my V1 of HDP
involving Krzysztof and Alexandre :
https://lore.kernel.org/all/418a80a9-8c08-4dd1-bf49-1bd7378321aa@kernel.org/
> + #clock-cells = <0>;
> + reg = <0x48060000 0x2000>;
> + clocks = <&rcc CK_BUS_LVDS>, <&rcc CK_KER_LVDSPHY>;
> + clock-names = "pclk", "ref";
> + resets = <&rcc LVDS_R>;
> + access-controllers = <&rifsc 84>;
> + power-domains = <&CLUSTER_PD>;
> + status = "disabled";
> + };
> +
> vdec: vdec@...d0000 {
> compatible = "st,stm32mp25-vdec";
> reg = <0x480d0000 0x3c8>;
>
Best regards,
Clément
Powered by blists - more mailing lists