[PATCH] drm/stm: ltdc: switch to pm_runtime_resume_and_get

2025-09-18 Thread Raphael Gallais-Pou
e can return the error code. Switch from pm_runtime_get_sync() to pm_runtime_resume_and_get() and check returned error code. Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/driver

Re: [PATCH v2 0/9] drm: convert from clk round_rate() to determine_rate()

2025-09-17 Thread Raphael Gallais-Pou
t from round_rate() to determine_rate() commit: 5c04f4812782e861166401458b6cf16dfe1be264 [9/9] drm/sun4i/sun4i_tcon_dclk: convert from round_rate() to determine_rate() commit: a076fe9f126fbc0c52795db4ae21501e6f8fd03d Best regards, -- Raphael Gallais-Pou

Re: [PATCH v2 0/9] drm: convert from clk round_rate() to determine_rate()

2025-09-15 Thread Raphael Gallais-Pou
On 9/14/25 14:08, Brian Masney wrote: > Hi all, > > On Mon, Aug 11, 2025 at 06:56:04AM -0400, Brian Masney wrote: >> The round_rate() clk ops is deprecated in the clk framework in favor >> of the determine_rate() clk ops, so let's go ahead and convert the >> drivers in the drm subsystem using th

Re: [PATCH] dt-bindings: panel: lvds: Append edt,etml0700z8dha in panel-lvds

2025-09-05 Thread Raphael Gallais-Pou
On 8/29/25 17:14, Conor Dooley wrote: > Acked-by: Conor Dooley Hi, Applied to drm-misc-next. Thanks, Best regards, Raphaël

Re: [PATCH] drm/sti: Remove redundant ternary operators

2025-09-05 Thread Raphael Gallais-Pou
On 9/4/25 13:27, Liao Yuanhong wrote: > For ternary operators in the form of "a ? true : false", if 'a' itself > returns a boolean result, the ternary operator can be omitted. Remove > redundant ternary operators to clean up the code. > > Signed-off-by: Liao Yuanhong > --- > Hi, Applied to drm

Re: [PATCH 0/2] Introduce BACKGROUND_COLOR DRM CRTC property

2025-09-02 Thread Raphael Gallais-Pou
On 9/2/25 11:27, Cristian Ciocaltea wrote: > Some display controllers can be hardware-configured to present non-black > colors for pixels which are not covered by any plane (or are exposed > through transparent regions of higher planes). > > The first patch of the series introduces the BACKGROUN

Re: [PATCH] drm/panel: lvds: Remove unused members from main structure

2025-09-01 Thread Raphael Gallais-Pou
On 8/29/25 09:53, Liu Ying wrote: > Since commit 03fa454bb666 ("drm/panel: lvds: Simplify mode parsing"), > the width and height members of struct panel_lvds are no longer used. > Remove them. No functional change. > > Signed-off-by: Liu Ying > --- Hi, Revi

[PATCH] dt-bindings: panel: lvds: Append edt,etml0700z8dha in panel-lvds

2025-08-29 Thread Raphael Gallais-Pou
List EDT ETML0700Z8DHA in the LVDS panel enumeration. Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/panel/panel-lvds.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml b/Documentation

Re: [PATCH v5 00/13] Enable display support for STM32MP25

2025-08-29 Thread Raphael Gallais-Pou
On 8/28/25 17:27, Philippe CORNU wrote: > > > On 8/22/25 16:34, Raphael Gallais-Pou wrote: >> This series aims to add and enable sufficient LVDS display support for >> STM32MP257F-EV1 board. >> >> LVDS is the default use case to drive a display panel on STM32MP2

Re: [PATCH v5 06/13] dt-bindings: arm: stm32: add required #clock-cells property

2025-08-28 Thread Raphael Gallais-Pou
On 8/28/25 17:18, Christophe ROULLIER wrote: > On 8/22/25 16:34, Raphael Gallais-Pou wrote: >> On STM32MP25 SoC, the syscfg peripheral provides a clock to the display >> subsystem through a multiplexer.  Since it only provides a single clock, >> the cell value is 0. >

[PATCH] dt-bindings: panel: lvds: Append ampire,amp19201200b5tzqw-t03 in panel-lvds

2025-08-26 Thread Raphael Gallais-Pou
List Ampire AMP19201200B5TZQW-T03 in the LVDS panel enumeration. Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/panel/panel-lvds.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml b

[PATCH v2] drm/stm: ltdc: unify log system

2025-08-25 Thread Raphael Gallais-Pou
DRM_ERROR and similar are deprecated. Use drm_dev based logging. Link: https://lore.kernel.org/r/20250821130356.883553-1-raphael.gallais-...@foss.st.com Signed-off-by: Raphael Gallais-Pou --- Changes in v2: - Fix kernel test robot's warnings https://lore.kernel.org/all/202508250637.nlx

[PATCH v5 13/13] arm64: dts: st: enable display support on stm32mp257f-ev1 board

2025-08-22 Thread Raphael Gallais-Pou
Enable the following IPs on stm32mp257f-ev1 in order to get display: * LTDC * LVDS * WSVGA LVDS panel (1024x600) * Panel LVDS backlight as GPIO backlight * ILI2511 i2c touchscreen Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp257f

[PATCH v5 12/13] arm64: dts: st: add clock-cells to syscfg node on stm32mp251

2025-08-22 Thread Raphael Gallais-Pou
Make the syscfg node a clock provider so clock consumers can reach child clocks through device-tree. Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi

[PATCH v5 11/13] arm64: dts: st: add lvds support on stm32mp255

2025-08-22 Thread Raphael Gallais-Pou
The LVDS is used on STM32MP2 as a display interface. Add the LVDS node. Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp255.dtsi | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/st/stm32mp255

[PATCH v5 07/13] drm/stm: ltdc: support new hardware version for STM32MP25 SoC

2025-08-22 Thread Raphael Gallais-Pou
-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/drv.c | 12 +++- drivers/gpu/drm/stm/ltdc.c | 38 +++--- drivers/gpu/drm/stm/ltdc.h | 5 + 3 files changed, 51 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm

[PATCH v5 10/13] arm64: dts: st: add ltdc support on stm32mp255

2025-08-22 Thread Raphael Gallais-Pou
changing rates yet. To overcome this issue, a fixed clock can be used for the kernel clock. Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 6 ++ 2 files changed, 12 insertions(+) diff

[PATCH v5 09/13] arm64: dts: st: add ltdc support on stm32mp251

2025-08-22 Thread Raphael Gallais-Pou
The LCD-TFT Display Controller (LTDC) handles display composition, scaling and rotation. It provides a parallel digital RGB flow to be used by display interfaces. Add the LTDC node. Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 12

[PATCH v5 06/13] dt-bindings: arm: stm32: add required #clock-cells property

2025-08-22 Thread Raphael Gallais-Pou
) Reviewed-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- .../bindings/arm/stm32/st,stm32-syscon.yaml| 31 +++--- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree

[PATCH v5 08/13] drm/stm: ltdc: handle lvds pixel clock

2025-08-22 Thread Raphael Gallais-Pou
' pixel rates must be synchronized, the LTDC has to handle the LVDS clock. Signed-off-by: Yannick Fertre Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 22 +- drivers/gpu/drm/stm/ltdc.h | 1 + 2 files changed, 22 insertions(

[PATCH v5 02/13] dt-bindings: display: st,stm32-ltdc: add access-controllers property

2025-08-22 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml | 3 +++ 1 file changed, 3 insertions

[PATCH v5 00/13] Enable display support for STM32MP25

2025-08-22 Thread Raphael Gallais-Pou
ode in the device-tree). - 'pixel_clk' is dependent from 'clk_pix_lvds' because of the LTDC clock domains. They also need to be sync to get a coherent pixel rate though the display clock tree (which explains the LVDS phandle on the LTDC node in the device-tree). Signed-off-

[PATCH v5 03/13] dt-bindings: display: st: add new compatible to LVDS device

2025-08-22 Thread Raphael Gallais-Pou
Update the compatible to accept both "st,stm32mp255-lvds" and st,stm32mp25-lvds" respectively. Default will fall back to "st,stm32mp25-lvds". Acked-by: Krzysztof Kozlowski Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bind

[PATCH v5 04/13] dt-bindings: display: st,stm32mp25-lvds: add access-controllers property

2025-08-22 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3

[PATCH v5 01/13] dt-bindings: display: st: add two new compatibles to LTDC device

2025-08-22 Thread Raphael Gallais-Pou
. Add the new names to the list of compatible string and handle each quirks accordingly. Signed-off-by: Raphael Gallais-Pou --- .../devicetree/bindings/display/st,stm32-ltdc.yaml | 52 +- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree

[PATCH v5 05/13] dt-bindings: display: st,stm32mp25-lvds: add power-domains property

2025-08-22 Thread Raphael Gallais-Pou
STM32 LVDS peripheral may be in a power domain. Allow an optional single 'power-domains' entry for STM32 LVDS devices. Acked-by: Rob Herring (Arm) Acked-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +

Re: [PATCH v4 01/13] dt-bindings: display: st: add two new compatibles to LTDC device

2025-08-22 Thread Raphael Gallais-Pou
On 8/22/25 10:00, Krzysztof Kozlowski wrote: > On Thu, Aug 21, 2025 at 01:08:51PM +0200, Raphael Gallais-Pou wrote: >> +then: >> + properties: >> +clocks: >> + maxItems: 1 >> +clock-names: >> + maxIt

[PATCH v4 13/13] arm64: dts: st: enable display support on stm32mp257f-ev1 board

2025-08-21 Thread Raphael Gallais-Pou
Enable the following IPs on stm32mp257f-ev1 in order to get display: * LTDC * LVDS * WSVGA LVDS panel (1024x600) * Panel LVDS backlight as GPIO backlight * ILI2511 i2c touchscreen Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79

[PATCH] drm/stm: ltdc: unify log system

2025-08-21 Thread Raphael Gallais-Pou
DRM_ERROR and similar are deprecated. Use drm_dev based logging. Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 135 +++-- 1 file changed, 68 insertions(+), 67 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm

[PATCH v4 04/13] dt-bindings: display: st,stm32mp25-lvds: add access-controllers property

2025-08-21 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v4 01/13] dt-bindings: display: st: add two new compatibles to LTDC device

2025-08-21 Thread Raphael Gallais-Pou
. Add the new names to the list of compatible string and handle each quirks accordingly. Signed-off-by: Raphael Gallais-Pou --- .../devicetree/bindings/display/st,stm32-ltdc.yaml | 50 +- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree

[PATCH v4 08/13] drm/stm: ltdc: handle lvds pixel clock

2025-08-21 Thread Raphael Gallais-Pou
' pixel rates must be synchronized, the LTDC has to handle the LVDS clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 22 +- drivers/gpu/drm/stm/ltdc.h | 1 + 2 files changed, 22 insertions(+), 1 deletion(-) diff --

[PATCH v4 00/13] Enable display support for STM32MP25

2025-08-21 Thread Raphael Gallais-Pou
ode in the device-tree). - 'pixel_clk' is dependent from 'clk_pix_lvds' because of the LTDC clock domains. They also need to be sync to get a coherent pixel rate though the display clock tree (which explains the LVDS phandle on the LTDC node in the device-tree). Signed-off-

[PATCH v4 07/13] drm/stm: ltdc: support new hardware version for STM32MP25 SoC

2025-08-21 Thread Raphael Gallais-Pou
From: Yannick Fertre STM32MP25 SoC features a new version of the LTDC IP. Add its compatible to the list of device to probe and implement its quirks. This hardware supports a pad frequency of 150MHz and a peripheral bus clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou

[PATCH v4 09/13] arm64: dts: st: add ltdc support on stm32mp251

2025-08-21 Thread Raphael Gallais-Pou
The LCD-TFT Display Controller (LTDC) handles display composition, scaling and rotation. It provides a parallel digital RGB flow to be used by display interfaces. Add the LTDC node. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 12 1 file changed

[PATCH v4 03/13] dt-bindings: display: st: add new compatible to LVDS device

2025-08-21 Thread Raphael Gallais-Pou
Update the compatible to accept both "st,stm32mp255-lvds" and st,stm32mp25-lvds" respectively. Default will fall back to "st,stm32mp25-lvds". Acked-by: Krzysztof Kozlowski Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25

[PATCH v4 11/13] arm64: dts: st: add lvds support on stm32mp255

2025-08-21 Thread Raphael Gallais-Pou
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 | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/st/stm32mp255.dtsi b/arch/arm64/boot/dts

[PATCH v4 12/13] arm64: dts: st: add clock-cells to syscfg node on stm32mp251

2025-08-21 Thread Raphael Gallais-Pou
Make the syscfg node a clock provider so clock consumers can reach child clocks through device-tree. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st

[PATCH v4 05/13] dt-bindings: display: st,stm32mp25-lvds: add power-domains property

2025-08-21 Thread Raphael Gallais-Pou
STM32 LVDS peripheral may be in a power domain. Allow an optional single 'power-domains' entry for STM32 LVDS devices. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3

[PATCH v4 06/13] dt-bindings: arm: stm32: add required #clock-cells property

2025-08-21 Thread Raphael Gallais-Pou
-off-by: Raphael Gallais-Pou --- .../bindings/arm/stm32/st,stm32-syscon.yaml| 31 +++--- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32

[PATCH v4 10/13] arm64: dts: st: add ltdc support on stm32mp255

2025-08-21 Thread Raphael Gallais-Pou
changing rates yet. To overcome this issue, a fixed clock can be used for the kernel clock. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 6 ++ 2 files changed, 12 insertions(+) diff --git a/arch/arm64/boot

[PATCH v4 02/13] dt-bindings: display: st,stm32-ltdc: add access-controllers property

2025-08-21 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a

Re: [PATCH v3 01/13] dt-bindings: display: st: add new compatible to LTDC device

2025-08-20 Thread Raphael Gallais-Pou
On 8/19/25 15:58, Rob Herring wrote: > On Tue, Aug 19, 2025 at 03:17:46PM +0200, Raphael Gallais-Pou wrote: >> >> On 8/19/25 13:01, Rob Herring (Arm) wrote: >>> On Tue, 19 Aug 2025 11:15:54 +0200, Raphael Gallais-Pou wrote: >>>> The new STMicroelectroni

Re: [PATCH v3 01/13] dt-bindings: display: st: add new compatible to LTDC device

2025-08-19 Thread Raphael Gallais-Pou
On 8/19/25 13:01, Rob Herring (Arm) wrote: > On Tue, 19 Aug 2025 11:15:54 +0200, Raphael Gallais-Pou wrote: >> The new STMicroelectronics SoC features a display controller similar to >> the one used in previous SoCs. Because there is additional registers, >> it is incom

[PATCH v3 08/13] drm/stm: ltdc: handle lvds pixel clock

2025-08-19 Thread Raphael Gallais-Pou
' pixel rates must be synchronized, the LTDC has to handle the LVDS clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 22 +- drivers/gpu/drm/stm/ltdc.h | 1 + 2 files changed, 22 insertions(+), 1 deletion(-) diff --

[PATCH v3 07/13] drm/stm: ltdc: support new hardware version for STM32MP25 SoC

2025-08-19 Thread Raphael Gallais-Pou
From: Yannick Fertre STM32MP25 SoC features a new version of the LTDC IP. Add its compatible to the list of device to probe and implement its quirks. This hardware supports a pad frequency of 150MHz and a peripheral bus clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou

[PATCH v3 06/13] dt-bindings: arm: stm32: add required #clock-cells property

2025-08-19 Thread Raphael Gallais-Pou
-off-by: Raphael Gallais-Pou --- .../bindings/arm/stm32/st,stm32-syscon.yaml| 31 +++--- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32

[PATCH v3 02/13] dt-bindings: display: st,stm32-ltdc: add access-controllers property

2025-08-19 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v3 12/13] arm64: dts: st: enable display support on stm32mp257f-ev1 board

2025-08-19 Thread Raphael Gallais-Pou
Enable the following IPs on stm32mp257f-ev1 in order to get display: * LTDC * LVDS * WSVGA LVDS panel (1024x600) * Panel LVDS backlight as GPIO backlight * ILI2511 i2c touchscreen Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79

[PATCH v3 13/13] arm64: dts: st: add loopback clocks on LTDC node

2025-08-19 Thread Raphael Gallais-Pou
for the kernel clock. Add the clocks needed for the LTDC to work. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 5 + 2 files changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b

[PATCH v3 10/13] arm64: dts: st: add lvds support on stm32mp255

2025-08-19 Thread Raphael Gallais-Pou
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 | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/st/stm32mp255.dtsi b/arch/arm64/boot/dts

[PATCH v3 00/13] Enable display support for STM32MP25

2025-08-19 Thread Raphael Gallais-Pou
ode in the device-tree). - 'pixel_clk' is dependent from 'clk_pix_lvds' because of the LTDC clock domains. They also need to be sync to get a coherent pixel rate though the display clock tree (which explains the LVDS phandle on the LTDC node in the device-tree). Signed-off-by: Raphael

[PATCH v3 03/13] dt-bindings: display: st: add new compatible to LVDS device

2025-08-19 Thread Raphael Gallais-Pou
Update the compatible to accept both "st,stm32mp255-lvds" and st,stm32mp25-lvds" respectively. Default will fall back to "st,stm32mp25-lvds". Acked-by: Krzysztof Kozlowski Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25

[PATCH v3 05/13] dt-bindings: display: st,stm32mp25-lvds: add power-domains property

2025-08-19 Thread Raphael Gallais-Pou
STM32 LVDS peripheral may be in a power domain. Allow an optional single 'power-domains' entry for STM32 LVDS devices. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3

[PATCH v3 11/13] arm64: dts: st: add clock-cells to syscfg node on stm32mp251

2025-08-19 Thread Raphael Gallais-Pou
Make the syscfg node a clock provider so clock consumers can reach child clocks through device-tree. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st

[PATCH v3 04/13] dt-bindings: display: st,stm32mp25-lvds: add access-controllers property

2025-08-19 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v3 01/13] dt-bindings: display: st: add new compatible to LTDC device

2025-08-19 Thread Raphael Gallais-Pou
The new STMicroelectronics SoC features a display controller similar to the one used in previous SoCs. Because there is additional registers, it is incompatible with existing IPs. Add the new name to the list of compatible string. Signed-off-by: Raphael Gallais-Pou --- .../devicetree/bindings

[PATCH v3 09/13] arm64: dts: st: add ltdc support on stm32mp251

2025-08-19 Thread Raphael Gallais-Pou
The LCD-TFT Display Controller (LTDC) handles display composition, scaling and rotation. It provides a parallel digital RGB flow to be used by display interfaces. Add the LTDC node. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 12 1 file changed

Re: [PATCH v2 01/13] dt-bindings: display: st: add new compatible to LTDC device

2025-08-14 Thread Raphael Gallais-Pou
On 8/14/25 11:08, Krzysztof Kozlowski wrote: > On Tue, Aug 12, 2025 at 03:48:58PM +0200, Raphael Gallais-Pou wrote: >> +else: >> + properties: >> +clocks: >> + maxItems: 4 > minItems instead > >> +clock-names: >> + maxItems: 4 >

Re: [PATCH v2 03/13] dt-bindings: display: st: add new compatible to LVDS device

2025-08-14 Thread Raphael Gallais-Pou
On 8/14/25 11:09, Krzysztof Kozlowski wrote: > On Tue, Aug 12, 2025 at 03:49:00PM +0200, Raphael Gallais-Pou wrote: >> Update the compatible to accept both "st,stm32mp255-lvds" and >> st,stm32mp25-lvds" respectively. Default will fall back to >> &quo

[PATCH v2 04/13] dt-bindings: display: st,stm32mp25-lvds: add access-controllers property

2025-08-12 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v2 08/13] drm/stm: ltdc: handle lvds pixel clock

2025-08-12 Thread Raphael Gallais-Pou
' pixel rates must be synchronized, the LTDC has to handle the LVDS clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 22 +- drivers/gpu/drm/stm/ltdc.h | 1 + 2 files changed, 22 insertions(+), 1 deletion(-) diff --

[PATCH v2 09/13] arm64: dts: st: add ltdc support on stm32mp251

2025-08-12 Thread Raphael Gallais-Pou
The LCD-TFT Display Controller (LTDC) handles display composition, scaling and rotation. It provides a parallel digital RGB flow to be used by display interfaces. Add the LTDC node. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 12 1 file changed

[PATCH v2 12/13] arm64: dts: st: enable display support on stm32mp257f-ev1 board

2025-08-12 Thread Raphael Gallais-Pou
Enable the following IPs on stm32mp257f-ev1 in order to get display: * LTDC * LVDS * WSVGA LVDS panel (1024x600) * Panel LVDS backlight as GPIO backlight * ILI2511 i2c touchscreen Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79

[PATCH v2 11/13] arm64: dts: st: add clock-cells to syscfg node on stm32mp251

2025-08-12 Thread Raphael Gallais-Pou
Make the syscfg node a clock provider so clock consumers can reach child clocks through device-tree. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st

[PATCH v2 10/13] arm64: dts: st: add lvds support on stm32mp255

2025-08-12 Thread Raphael Gallais-Pou
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 | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/st/stm32mp255.dtsi b/arch/arm64/boot/dts

[PATCH v2 01/13] dt-bindings: display: st: add new compatible to LTDC device

2025-08-12 Thread Raphael Gallais-Pou
The new STMicroelectronics SoC features a display controller similar to the one used in previous SoCs. Because there is additional registers, it is incompatible with existing IPs. Add the new name to the list of compatible string. Signed-off-by: Raphael Gallais-Pou --- .../devicetree/bindings

[PATCH v2 13/13] arm64: dts: st: add loopback clocks on LTDC node

2025-08-12 Thread Raphael Gallais-Pou
for the kernel clock. Add the clocks needed for the LTDC to work. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 5 + 2 files changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b

[PATCH v2 00/13] Enable display support for STM32MP25

2025-08-12 Thread Raphael Gallais-Pou
ode in the device-tree). - 'pixel_clk' is dependent from 'clk_pix_lvds' because of the LTDC clock domains. They also need to be sync to get a coherent pixel rate though the display clock tree (which explains the LVDS phandle on the LTDC node in the device-tree). Signed-off-

[PATCH v2 05/13] dt-bindings: display: st,stm32mp25-lvds: add power-domains property

2025-08-12 Thread Raphael Gallais-Pou
STM32 LVDS peripheral may be in a power domain. Allow an optional single 'power-domains' entry for STM32 LVDS devices. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3

[PATCH v2 06/13] dt-bindings: arm: stm32: add required #clock-cells property

2025-08-12 Thread Raphael Gallais-Pou
-off-by: Raphael Gallais-Pou --- .../bindings/arm/stm32/st,stm32-syscon.yaml| 31 +++--- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32

[PATCH v2 07/13] drm/stm: ltdc: support new hardware version for STM32MP25 SoC

2025-08-12 Thread Raphael Gallais-Pou
From: Yannick Fertre STM32MP25 SoC features a new version of the LTDC IP. Add its compatible to the list of device to probe and implement its quirks. This hardware supports a pad frequency of 150MHz and a peripheral bus clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou

[PATCH v2 02/13] dt-bindings: display: st,stm32-ltdc: add access-controllers property

2025-08-12 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Acked-by: Rob Herring (Arm) Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v2 03/13] dt-bindings: display: st: add new compatible to LVDS device

2025-08-12 Thread Raphael Gallais-Pou
Update the compatible to accept both "st,stm32mp255-lvds" and st,stm32mp25-lvds" respectively. Default will fall back to "st,stm32mp25-lvds". Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 8 +++- 1 file ch

Re: [PATCH 01/12] dt-bindings: display: st: add new compatible to LTDC device

2025-07-28 Thread Raphael Gallais-Pou
On 7/25/25 21:49, Rob Herring wrote: > On Fri, Jul 25, 2025 at 12:03:53PM +0200, Raphael Gallais-Pou wrote: >> The new STMicroelectronics SoC features a display controller similar to >> the one used in previous SoCs. Because there is additional registers, >> it is incom

Re: [Linux-stm32] [PATCH 09/12] arm64: dts: st: add lvds support on stm32mp255

2025-07-25 Thread Raphael Gallais-Pou
On 7/25/25 13:13, Clement LE GOFFIC wrote: > 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

[PATCH 01/12] dt-bindings: display: st: add new compatible to LTDC device

2025-07-25 Thread Raphael Gallais-Pou
The new STMicroelectronics SoC features a display controller similar to the one used in previous SoCs. Because there is additional registers, it is incompatible with existing IPs. Add the new name to the list of compatible string. Signed-off-by: Raphael Gallais-Pou --- .../devicetree/bindings

[PATCH 12/12] arm64: dts: st: add loopback clocks on LTDC node

2025-07-25 Thread Raphael Gallais-Pou
for the kernel clock. Add the clocks needed for the LTDC to work. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 7 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/st

[PATCH 06/12] drm/stm: ltdc: support new hardware version for STM32MP25 SoC

2025-07-25 Thread Raphael Gallais-Pou
From: Yannick Fertre STM32MP25 SoC features a new version of the LTDC IP. Add its compatible to the list of device to probe and implement its quirks. This hardware supports a pad frequency of 150MHz and a peripheral bus clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou

[PATCH 08/12] arm64: dts: st: add ltdc support on stm32mp251

2025-07-25 Thread Raphael Gallais-Pou
The LCD-TFT Display Controller (LTDC) handles display composition, scaling and rotation. It provides a parallel digital RGB flow to be used by display interfaces. Add the LTDC node. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 12 1 file changed

[PATCH 10/12] arm64: dts: st: add clock-cells to syscfg node on stm32mp251

2025-07-25 Thread Raphael Gallais-Pou
Make the syscfg node a clock provider so clock consumers can reach child clocks through device-tree. Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st

[PATCH 09/12] arm64: dts: st: add lvds support on stm32mp255

2025-07-25 Thread Raphael Gallais-Pou
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

[PATCH 07/12] drm/stm: ltdc: handle lvds pixel clock

2025-07-25 Thread Raphael Gallais-Pou
' pixel rates must be synchronized, the LTDC has to handle the LVDS clock. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/stm/ltdc.c | 22 +- drivers/gpu/drm/stm/ltdc.h | 1 + 2 files changed, 22 insertions(+), 1 deletion(-) diff --

[PATCH 11/12] arm64: dts: st: enable display support on stm32mp257f-ev1 board

2025-07-25 Thread Raphael Gallais-Pou
Enable the following IPs on stm32mp257f-ev1 in order to get display: * LTDC * LVDS * WSVGA LVDS panel (1024x600) * Panel LVDS backlight as GPIO backlight * ILI2511 i2c touchscreen Signed-off-by: Raphael Gallais-Pou --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79

[PATCH 05/12] dt-bindings: arm: stm32: add required #clock-cells property

2025-07-25 Thread Raphael Gallais-Pou
On STM32MP25 SoC, the syscfg peripheral provides a clock to the display subsystem through a multiplexer. Since it only provides a single clock, the cell value is 0. Doing so allows the clock consumers to reach the peripheral and gate the clock accordingly. Signed-off-by: Raphael Gallais-Pou

[PATCH 04/12] dt-bindings: display: st,stm32mp25-lvds: add power-domains property

2025-07-25 Thread Raphael Gallais-Pou
STM32 LVDS peripheral may be in a power domain. Allow an optional single 'power-domains' entry for STM32 LVDS devices. Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc

[PATCH 03/12] dt-bindings: display: st,stm32mp25-lvds: add access-controllers property

2025-07-25 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 00/12] Enable display support for STM32MP25

2025-07-25 Thread Raphael Gallais-Pou
ode in the device-tree). - 'pixel_clk' is dependent from 'clk_pix_lvds' because of the LTDC clock domains. They also need to be sync to get a coherent pixel rate though the display clock tree (which explains the LVDS phandle on the LTDC node in the device-tree). Signed-off-by: Raphae

[PATCH 02/12] dt-bindings: display: st,stm32-ltdc: add access-controllers property

2025-07-25 Thread Raphael Gallais-Pou
firewall bus. The firewall can then check the peripheral accesses before allowing its device to probe. Signed-off-by: Raphael Gallais-Pou --- Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 3/4] ARM: dts: sti: extract display subsystem out of soc

2025-07-17 Thread Raphael Gallais-Pou
isplay-controller * sti-tvout -> encoder * sti-hda -> analog * sti-hqvdp -> plane Signed-off-by: Raphael Gallais-Pou --- arch/arm/boot/dts/st/stih410.dtsi | 316 +++--- 1 file changed, 188 insertions(+), 128 deletions(-) diff --git a/arch/arm/boot/dts/st/

[PATCH 4/4] ARM: dts: sti: remove useless cells fields

2025-07-17 Thread Raphael Gallais-Pou
tvout node do not need the cells fields. Remove them. Signed-off-by: Raphael Gallais-Pou --- arch/arm/boot/dts/st/stih410.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/st/stih410.dtsi b/arch/arm/boot/dts/st/stih410.dtsi index

[PATCH 2/4] drm/sti: make use of drm_of_component_probe

2025-07-17 Thread Raphael Gallais-Pou
Gallais-Pou --- drivers/gpu/drm/sti/sti_drv.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index 42f21ab91957b38cb9aef012b6ee7f4ae1683edf..9d6a7c8fa0759c0b6fedf87169b18cff3684be46 100644 --- a

[PATCH 1/4] drm/sti: check dma_set_coherent_mask return value

2025-07-17 Thread Raphael Gallais-Pou
Return value for DMA allocation was not checked. Check it and return error code in case of failing. Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/sti/sti_drv.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti

[PATCH 0/4] STi device-tree display subsystem rework

2025-07-17 Thread Raphael Gallais-Pou
having it only triggers warnings when building deprecated device-trees. Please see link below. Link: https://lore.kernel.org/lkml/20250714-sti-rework-v2-0-f42749208...@gmail.com Signed-off-by: Raphael Gallais-Pou --- Raphael Gallais-Pou (4): drm/sti: check dma_set_coherent_mask return

Re: [PATCH 7/9] drm/stm/lvds: convert from round_rate() to determine_rate()

2025-07-15 Thread Raphael Gallais-Pou
On 7/10/25 19:43, Brian Masney wrote: > The round_rate() clk ops is deprecated, so migrate this driver from > round_rate() to determine_rate() using the Coccinelle semantic patch > on the cover letter of this series. > > Signed-off-by: Brian Masney > --- Hi Brian, Acked-b

Re: [PATCH 6/9] drm/stm/dw_mipi_dsi-stm: convert from round_rate() to determine_rate()

2025-07-15 Thread Raphael Gallais-Pou
On 7/10/25 19:43, Brian Masney wrote: > The round_rate() clk ops is deprecated, so migrate this driver from > round_rate() to determine_rate() using the Coccinelle semantic patch > on the cover letter of this series. > > Signed-off-by: Brian Masney > --- Hi Brian, Acked-b

[PATCH] drm: of: fix documentation reference

2025-06-09 Thread Raphael Gallais-Pou
Documentation/devicetree/bindings/graph.txt content has move directly to the dt-schema repo. Point to the YAML of the official repo instead of the old file. Signed-off-by: Raphael Gallais-Pou --- drivers/gpu/drm/drm_of.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v3 15/22] drm/bridge: stm_lvds: convert to devm_drm_bridge_alloc() API

2025-05-20 Thread Raphael Gallais-Pou
Hi Luca, On 5/9/25 15:53, Luca Ceresoli wrote: > This is the new API for allocating DRM bridges. > > Signed-off-by: Luca Ceresoli > > --- > > Cc: Alexandre Torgue > Cc: Maxime Coquelin > Cc: Philippe Cornu > Cc: Raphael Gallais-Pou > Cc: Yannick Fertre >

Re: [PATCH] drm/sti: fix inconsistent indenting warning

2025-04-05 Thread Raphael Gallais-Pou
On 3/7/25 13:58, Raphaël Gallais-Pou wrote: > > > Le 05/03/2025 à 11:16, Charles Han a écrit : >> Fix below inconsistent indenting smatch warning. >> smatch warnings: >> drivers/gpu/drm/sti/sti_hda.c:696 sti_hda_bind() warn: inconsistent indenting >> >> Signed-off-by: Charles Han > Hi, Applie

Re: [PATCH] drm/sti: remove duplicate object names

2025-04-04 Thread Raphael Gallais-Pou
On 1/15/25 09:58, Rolf Eike Beer wrote: > When merging 2 drivers common object files were not deduplicated. > > Fixes: dcec16efd677 ("drm/sti: Build monolithic driver") > Cc: sta...@kernel.org > Signed-off-by: Rolf Eike Beer > --- > Hi Rolf, This patch predates my time as the STi maintainer, s

  1   2   3   >