From mboxrd@z Thu Jan 1 00:00:00 1970 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 65A75C87FCA for ; Fri, 25 Jul 2025 11:16:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 99A2210E1F1; Fri, 25 Jul 2025 11:16:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="KwR+EWxB"; dkim-atps=neutral Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C9CB10E1F1 for ; Fri, 25 Jul 2025 11:16:09 +0000 (UTC) Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56PAXQj6003648; Fri, 25 Jul 2025 13:15:58 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= bvHvjwd6XOG8gaFWJcVrEpn5/3TbrGK3z3uZ5mkkCQ4=; b=KwR+EWxBDubt5KZK KwTbP7hwmwQB918hKeREw1OoQlG78H3x+rh43s42Cjq4rbrZC2aVqeQ3H6cm2UAE opBjmNl9Lz/uXptDv6+oPJy5zUhCAoQzU3hMzAvDRyi8BwfSV7K7tPsZAbPaSWaC jc23JYGcJppcXjF4an+x9dqZ5eqShkjxIbB4sof2tZiqIgaNjv7PfkOz1afK8d5W iRCoF6bzj6SWpGnHhnXe/zpXEmaFMlbf3aOumMNiUjT8XCntqQXgHkuaonTeqOhS Rlq0blQ71ejJWutjyN9F5RvgR+qPbxDdXS0kJqCFBXqRgOGIiCNt9+ITfOSLKCOB Y/8O1g== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 483w3m2trd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Jul 2025 13:15:58 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id DB8284004B; Fri, 25 Jul 2025 13:14:29 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1D0D137A632; Fri, 25 Jul 2025 13:13:24 +0200 (CEST) Received: from [10.48.86.185] (10.48.86.185) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 25 Jul 2025 13:13:23 +0200 Message-ID: Date: Fri, 25 Jul 2025 13:13:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Linux-stm32] [PATCH 09/12] arm64: dts: st: add lvds support on stm32mp255 From: Clement LE GOFFIC To: Raphael Gallais-Pou , Yannick Fertre , Philippe Cornu , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Catalin Marinas , Will Deacon , Christophe Roullier CC: , , , , References: <20250725-drm-misc-next-v1-0-a59848e62cf9@foss.st.com> <20250725-drm-misc-next-v1-9-a59848e62cf9@foss.st.com> <85673db7-d311-47cc-be52-291d94e136e4@foss.st.com> Content-Language: en-US In-Reply-To: <85673db7-d311-47cc-be52-291d94e136e4@foss.st.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.48.86.185] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-07-25_03,2025-07-24_01,2025-03-28_01 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" On 7/25/25 13:08, Clement LE GOFFIC wrote: > 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 >> --- >>   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@48060000 { >> +        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/ Woops, this comment should target the add of the ltdc compatible as I see that lvds one already exists and can't be changed. Though the main idea is here. > >> +        #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@480d0000 { >>           compatible = "st,stm32mp25-vdec"; >>           reg = <0x480d0000 0x3c8>; >> > > Best regards, > Clément