On 7/19/24 09:54, Arnd Bergmann wrote:
> From: Arnd Bergmann
>
> The added lvds driver and a change in the dsi driver resulted in failed
> builds when COMMON_CLK is disabled:
>
> x86_64-linux-ld: drivers/gpu/drm/stm/dw_mipi_dsi-stm.o: in function
> `dw_mipi_dsi_stm_remove':
>
On 7/12/24 15:13, Yannick Fertre wrote:
> The plane's opacity should be reseted while the plane
> is disabled. It prevents from seeing a possible global
> or layer background color set earlier.
>
> Signed-off-by: Yannick Fertre
Hi Yannick,
Applied on drm-misc-next.
Thanks,
Raphaël
On 7/12/24 15:14, Yannick Fertre wrote:
> The purpose of this mask is to simplify writing to the lxcr
> register and not to forget any fields.
>
> Signed-off-by: Yannick Fertre
Hi Yannick,
Applied on drm-misc-next.
Thanks,
Raphaël
On 7/12/24 15:14, Yannick Fertre wrote:
> The reload interrupt is not used by the driver. To avoid
> unnecessary calls of the interrupt routine, don't enable it.
> Solve small typo and add mask to simplify the driver.
>
> Signed-off-by: Yannick Fertre
Hi Yannick,
Applied on drm-misc-next.
On 2/16/24 13:50, Katya Orlova wrote:
> ltdc_load() calls functions drm_crtc_init_with_planes(),
> drm_universal_plane_init() and drm_encoder_init(). These functions
> should not be called with parameters allocated with devm_kzalloc()
> to avoid use-after-free issues [1].
>
> Use allocations
On 6/24/24 04:41, Jiapeng Chong wrote:
> The function are defined in the ltdc.c file, but not called
> anywhere, so delete the unused function.
>
> drivers/gpu/drm/stm/ltdc.c:494:35: warning: unused function 'encoder_to_ltdc'.
>
> Reported-by: Abaci Robot
> Closes:
On 5/31/23 09:28, Claudiu Beznea wrote:
> devm_kzalloc() can fail and return NULL pointer. Check its return status.
> Identified with Coccinelle (kmerr.cocci script).
>
> Fixes: 484e72d3146b ("drm/stm: ltdc: add support of ycbcr pixel formats")
> Signed-off-by: Claudiu Beznea
> ---
>
> Hi,
>
>
In lights of recent events and my will to participate in the Linux
kernel development I see this opportunity to add myself, and help Alain
as maintainer for the DRM/STi drivers.
Signed-off-by: Raphael Gallais-Pou
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b
On 1/6/24 17:54, Christophe JAILLET wrote:
> If drm_dev_register() fails, a call to drv_load() must be undone, as
> already done in the remove function.
>
> Fixes: b759012c5fa7 ("drm/stm: Add STM32 LTDC driver")
> Signed-off-by: Christophe JAILLET
Hi Christophe,
After some delay: applied on
> .of_match_table = lvds_dt_ids,
> },
> };
Indeed, platform_driver_register() overrides the value of the owner.
Acked-by: Raphael Gallais-Pou
Thanks,
Raphaël
Hi Ville
On 4/8/24 19:04, Ville Syrjala wrote:
> From: Ville Syrjälä
>
> Allow stm to be built with COMPILE_TEST=y for greater
> coverage. Builds fine on x86/x86_64 at least.
>
> Cc: Yannick Fertre
> Cc: Raphael Gallais-Pou
> Cc: Philippe Cornu
> Signed-off-by
On 3/8/24 09:35, Sean Nyekjaer wrote:
> Hi,
Hi Sean,
Sorry for not responding earlier.
I've also added Antonio Borneo, which is the author of the implementation of the
mode_valid() hook.
> I’m using a stm32mp157 with a sn65dsi83 DSI2LVDS bridge.
> The LVDS display is having a minimum clock
On 2/16/24 13:50, Katya Orlova wrote:
> ltdc_load() calls functions drm_crtc_init_with_planes(),
> drm_universal_plane_init() and drm_encoder_init(). These functions
> should not be called with parameters allocated with devm_kzalloc()
> to avoid use-after-free issues [1].
>
> Use allocations
input pixel per clock cycle
Signed-off-by: Raphael Gallais-Pou
---
Changes in v6:
- Fixes sparse symbols detected by kernel test robot
Changes in v5:
- Align compatible
Changes in v4:
- Explicitly include linux/platform_device.h, dependency introduced
of the clock framework, this would
allow to use the LVDS.
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
Changes in v2:
- Fixed my address
- Fixed smatch warning
---
drivers/gpu/drm/stm/ltdc.c | 19 +++
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files
rd to read debug log
- [3/6]: Fixed my address
- [3/6]: Fixed smatch warning
- [5/6]: Move changes to stm32mp255.dtsi
Signed-off-by: Raphael Gallais-Pou
---
Raphael Gallais-Pou (3):
dt-bindings: display: add STM32 LVDS device
drm/stm: lvds: add new STM32 LV
Add "st,stm32mp25-lvds" compatible.
Signed-off-by: Raphael Gallais-Pou
Reviewed-by: Conor Dooley
---
Depends on: "dt-bindings: stm32: add clocks and reset binding for
stm32mp25 platform" by Gabriel Fernandez
Changes in v6:
- Added Conor's Review
Adds LTDC pinctrl support and assigns dedicated GPIO pins.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 57 +
1 file changed, 57 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
b/arch/arm/boot/dts/st
This device inherits properties from panel-common. Those should be allowed
to use, instead of specifying properties to true for each specific use.
Signed-off-by: Raphael Gallais-Pou
---
Changes in v3:
- Allow every properties instead of adding each properties to true as
Rob suggested
Link panel and display controller.
Enable panel, backlight and display controller.
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Fixed dtbs_check warnings :
arch/arm/boot/dts/st/stm32mp135f-dk.dtb: panel-backlight:
'default-brightness-level' does not match any of the regexes
l.org/lkml/17072972.1647630.4818786052103823648.b4...@linaro.org/
https://lore.kernel.org/lkml/170729755662.1647630.425379349649657352.b4...@linaro.org/
- Fixed CHECK_DTBS warnings
- Added missing properties in panel-simple.yaml
Signed-off-by: Raphael Gallais-Pou
---
Raphael Gallais-Pou (4):
and
additional interrupt set
* Interrupts based on 7 different events
* AXI master interface with long efficient bursts (64 or 128 bytes)
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
arch/arm/boot/dts/st/stm32mp135.dtsi | 11 +++
1 file changed, 11 insertions
On 2/23/24 01:09, Rob Herring wrote:
> On Sat, Feb 17, 2024 at 12:02:58PM +0100, Raphael Gallais-Pou wrote:
>> Setting a panel-timing in the device-tree overwrite the one specified in
>> the driver and set it as preferred. In that case 'height-mm',
>> 'width-
linaro.org/
- Fixed CHECK_DTBS warnings
- Added missing properties in panel-simple.yaml
Signed-off-by: Raphael Gallais-Pou
---
Raphael Gallais-Pou (4):
ARM: dts: stm32: add LTDC support for STM32MP13x SoC family
ARM: dts: stm32: add LTDC pinctrl on STM32MP13x SoC family
ARM:
Link panel and display controller.
Enable panel, backlight and display controller.
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Fixed dtbs_check warnings :
arch/arm/boot/dts/st/stm32mp135f-dk.dtb: panel-backlight:
'default-brightness-level' does not match any of the regexes
Adds LTDC pinctrl support and assigns dedicated GPIO pins.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 57 +
1 file changed, 57 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
b/arch/arm/boot/dts/st
and
additional interrupt set
* Interrupts based on 7 different events
* AXI master interface with long efficient bursts (64 or 128 bytes)
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
arch/arm/boot/dts/st/stm32mp135.dtsi | 11 +++
1 file changed, 11 insertions
/stm32mp135f-dk.dtb: panel-rgb: 'height-mm',
'panel-timing', 'width-mm' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id:
http://devicetree.org/schemas/display/panel/panel-simple.yaml#
Signed-off-by: Raphael Gallais-Pou
---
Documentation/devicetree/bindings/display/panel
Hi Alex
On 2/14/24 14:40, Alexandre TORGUE wrote:
> Hi Raphael
>
> On 2/5/24 10:06, Raphael Gallais-Pou wrote:
>> This serie aims to enable display support for the stm32mp135f-dk board
>>
>> Those are only patches of the device-tree since the driver support h
input pixel per clock cycle
Signed-off-by: Raphael Gallais-Pou
---
Changes in v5:
- Align compatible
Changes in v4:
- Explicitly include linux/platform_device.h, dependency introduced by
ef175b29a242 of: Stop circularly including of_device.h and of_platform.h
Changes in v3
Add "st,stm32mp25-lvds" compatible.
Signed-off-by: Raphael Gallais-Pou
---
Depends on: "dt-bindings: stm32: add clocks and reset binding for
stm32mp25 platform" by Gabriel Fernandez
Changes in v5:
- Fixed path in MAINTAINERS
Changes in v4:
of the clock framework, this would
allow to use the LVDS.
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
Changes in v2:
- Fixed my address
- Fixed smatch warning
---
drivers/gpu/drm/stm/ltdc.c | 19 +++
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files
Signed-off-by: Raphael Gallais-Pou
---
Raphael Gallais-Pou (3):
dt-bindings: display: add STM32 LVDS device
drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver
drm/stm: ltdc: add lvds pixel clock
.../bindings/display/st,stm32mp25-lvds.yaml| 119 ++
M
input pixel per clock cycle
Signed-off-by: Raphael Gallais-Pou
---
Changes in v4:
- Explicitly include linux/platform_device.h, dependency introduced by
ef175b29a242 of: Stop circularly including of_device.h and of_platform.h
Changes in v3:
- s/regroups/is composed
Add "st,stm32mp25-lvds" compatible.
Signed-off-by: Raphael Gallais-Pou
---
Depends on: "dt-bindings: stm32: add clocks and reset binding for
stm32mp25 platform" by Gabriel Fernandez
Changes in v4:
- Align filename to compatible
- Fix compa
- [2/6]: Removed CamelCase macros
- [2/6]: Removed hard to read debug log
- [3/6]: Fixed my address
- [3/6]: Fixed smatch warning
- [5/6]: Move changes to stm32mp255.dtsi
Signed-off-by: Raphael Gallais-Pou
---
Raphael Gallais-Pou (3):
dt-bindings: display: add
of the clock framework, this would
allow to use the LVDS.
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
Changes in v2:
- Fixed my address
- Fixed smatch warning
---
drivers/gpu/drm/stm/ltdc.c | 19 +++
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files
Push horizontal front porch and vertical back porch blanking limit.
This allows to get a 60 fps sharp.
Signed-off-by: Raphael Gallais-Pou
---
drivers/gpu/drm/panel/panel-simple.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-simple.c
b
Adds LTDC pinctrl support and assigns dedicated GPIO pins.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 57 +
1 file changed, 57 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
b/arch/arm/boot/dts/st
] commit 1726cee3d053 ("drm/stm: ltdc: support of new hardware version")
Signed-off-by: Raphael Gallais-Pou
---
Raphael Gallais-Pou (5):
ARM: dts: stm32: add LTDC support for STM32MP13x SoC family
ARM: dts: stm32: add LTDC pinctrl on STM32MP13x SoC family
ARM: dts: stm
.
Signed-off-by: Raphael Gallais-Pou
---
drivers/gpu/drm/panel/panel-simple.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-simple.c
b/drivers/gpu/drm/panel/panel-simple.c
index 2214cb09678c..7b286382ffb4 100644
--- a/drivers/gpu/drm/panel/panel
Link panel and display controller.
Enable panel, backlight and display controller.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 55 +
1 file changed, 55 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
b
and
additional interrupt set
* Interrupts based on 7 different events
* AXI master interface with long efficient bursts (64 or 128 bytes)
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
arch/arm/boot/dts/st/stm32mp135.dtsi | 11 +++
1 file changed, 11 insertions
OPS to RUNTIME_PM_OPS
Raphael Gallais-Pou (3):
drm/stm: dsi: use new SYSTEM_SLEEP_PM_OPS() macro
drm/stm: dsi: expose DSI PHY internal clock
Yannick Fertre (1):
drm/stm: dsi: add pm runtime ops
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 279 ++
1 file changed, 238 inserti
si_phy' is not implemented. Since the
DSI kernel clock is based on the internal DSI pll. The common clock
driver can not directly expose this 'ck_dsi_phy' clock because it does
not contain any common registers with the DSI. Thus it needs to be done
directly within the DSI phy driver.
Signed-off-by: Raphael Galla
From: Yannick Fertre
Update control of clocks and supply thanks to the PM runtime
mechanism to avoid kernel crash during a system suspend.
Signed-off-by: Yannick Fertre
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Changed SET_RUNTIME_PM_OPS to RUNTIME_PM_OPS and removed
Use RUNTIME_PM_OPS() instead of the old SET_SYSTEM_SLEEP_PM_OPS().
This means we don't need __maybe_unused on the functions.
Signed-off-by: Raphael Gallais-Pou
---
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm
On 1/16/24 08:42, Krzysztof Kozlowski wrote:
> On 15/01/2024 17:51, Raphael Gallais-Pou wrote:
>> On 1/15/24 16:46, Rob Herring wrote:
>>> On Mon, Jan 15, 2024 at 02:20:04PM +0100, Raphael Gallais-Pou wrote:
>>>> Add "st,stm32mp25-lvds" compatible.
On 1/15/24 16:46, Rob Herring wrote:
> On Mon, Jan 15, 2024 at 02:20:04PM +0100, Raphael Gallais-Pou wrote:
>> Add "st,stm32mp25-lvds" compatible.
>>
>> Signed-off-by: Raphael Gallais-Pou
>> ---
>> Depends on: "dt-bindings: stm32: add clocks and
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.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 12
1 file changed, 12 insertions
This patch adds LVDS support on stm32mp255. The LVDS is used on
STM32MP2 as a display interface. LVDS PLL clock is binded to the LTDC
input clock.
Signed-off-by: Raphael Gallais-Pou
---
Changes in v3:
- Change the compatible to show SoC specificity
Changes in v2:
- Move patch
This patch enables the following IPs on stm32mp257f-ev :
* LTDC
* LVDS
* WSVGA LVDS panel (1024x600)
* Panel backlight
* Ilitek touchescreen
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79 ++
1 file changed, 79 insertions
input pixel per clock cycle
Signed-off-by: Raphael Gallais-Pou
---
Changes in v3:
- s/regroups/is composed of/ in commit log
- Change the compatible to show SoC specificity
Changes in v2:
- Fixed Camel Case macros
- Removed debug log
---
drivers/gpu/drm/stm/Kconfig
Add "st,stm32mp25-lvds" compatible.
Signed-off-by: Raphael Gallais-Pou
---
Depends on: "dt-bindings: stm32: add clocks and reset binding for
stm32mp25 platform" by Gabriel Fernandez
Changes in v3:
- Clarify commit dependency
- Fix inc
moved hard to read debug log
- [3/6]: Fixed my address
- [3/6]: Fixed smatch warning
- [5/6]: Move changes to stm32mp255.dtsi
Raphael Gallais-Pou (6):
dt-bindings: display: add dt-bindings for STM32 LVDS device
drm/stm: lvds: add new STM32 LVDS Display Interface Transmit
of the clock framework, this would
allow to use the LVDS.
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
Changes in v2:
- Fixed my address
- Fixed smatch warning
---
drivers/gpu/drm/stm/ltdc.c | 19 +++
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files
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.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 12
1 file changed, 12 insertions
This patch enables the following IPs on stm32mp257f-ev :
* LTDC
* LVDS
* WSVGA LVDS panel (1024x600)
* Panel backlight
* Ilitek touchescreen
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79 ++
1 file changed, 79 insertions
This patch adds LVDS support on stm32mp255. The LVDS is used on
STM32MP2 as a display interface. LVDS PLL clock is binded to the LTDC
input clock.
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Move patch to stm32mp255.dtsi after internal discussions
---
arch/arm64/boot/dts
pixel per clock cycle
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Fixed Camel Case macros
- Removed debug log
---
drivers/gpu/drm/stm/Kconfig | 11 +
drivers/gpu/drm/stm/Makefile |2 +
drivers/gpu/drm/stm/lvds.c | 1225 ++
3 files
of the clock framework, this would
allow to use the LVDS.
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
Changes in v2:
- Fixed my address
- Fixed smatch warning
---
drivers/gpu/drm/stm/ltdc.c | 19 +++
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files
Add "st,stm32-lvds" compatible.
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Switch compatible and clock-cells related areas
- Remove faulty #include in the example.
- Add entry in MAINTAINERS
---
.../bindings/display/st,stm32-lvds.yaml
in MAINTAINERS
- [2/6]: Removed CamelCase macros
- [2/6]: Removed hard to read debug log
- [3/6]: Fixed my address
- [3/6]: Fixed smatch warning
- [5/6]: Move changes to stm32mp255.dtsi
Raphael Gallais-Pou (6):
dt-bindings: display: add dt-bindings for STM32 LVDS
On 12/21/23 14:17, Dmitry Baryshkov wrote:
> On Thu, 21 Dec 2023 at 14:45, Raphael Gallais-Pou
> wrote:
>> From: Yannick Fertre
>>
>> The latest hardware version of the LTDC presents the addition of a bus
>> clock, which contains the global configuration registers
---
> drivers/gpu/drm/stm/drv.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
I tested it against stm32mp157c-dk2.dts.
Thanks for your submission.
Acked-by: Raphael Gallais-Pou
Regards,
Raphaël Gallais-Pou
t; Use allocations managed by the DRM framework.
>
> Found by Linux Verification Center (linuxtesting.org).
>
> [1]
> https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/
>
> Signed-off-by: Katya Orlova
> ---
> v2: use allocation
On 12/8/23 17:58, Simon Horman wrote:
> On Mon, Dec 04, 2023 at 11:11:12AM +0100, Raphael Gallais-Pou wrote:
>
> ...
>
>> @@ -514,18 +675,40 @@ static int dw_mipi_dsi_stm_probe(struct
>> platform_device *pdev)
>>
In RCC driver, 'DSI_K' is a kernel clock while 'DSI' has pclk4 as parent
clock, which means that it is an APB peripheral clock. Swap the clocks
in the DSI peripheral clock reference.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm/boot/dts/st/stm32mp157.dtsi | 2 +-
arch/arm/boot/dts
Use RUNTIME_PM_OPS() instead of the old SET_SYSTEM_SLEEP_PM_OPS().
This means we don't need __maybe_unused on the functions.
Signed-off-by: Raphael Gallais-Pou
---
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm
From: Yannick Fertre
Update control of clocks and supply thanks to the PM runtime
mechanism to avoid kernel crash during a system suspend.
Signed-off-by: Yannick Fertre
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Changed SET_RUNTIME_PM_OPS to RUNTIME_PM_OPS and removed
si_phy' is not implemented. Since the
DSI kernel clock is based on the internal DSI pll. The common clock
driver can not directly expose this 'ck_dsi_phy' clock because it does
not contain any common registers with the DSI. Thus it needs to be done
directly within the DSI phy driver.
Signed-off-by: Raphael Galla
ded patch 1/4 to use SYSTEM_SLEEP_PM_OPS instead of old macro
and removed __maybe_used for accordingly
- Changed SET_RUNTIME_PM_OPS to RUNTIME_PM_OPS
Raphael Gallais-Pou (3):
drm/stm: dsi: use new SYSTEM_SLEEP_PM_OPS() macro
drm/stm: dsi: expose DSI PHY internal clock
arm: dts:
On 12/21/23 21:36, Krzysztof Kozlowski wrote:
> On 21/12/2023 13:43, Raphael Gallais-Pou wrote:
>> Add dt-binding file for "st,stm32-lvds" compatible.
>>
>> Signed-off-by: Raphael Gallais-Pou
>> ---
> I don't know why this was resend, nothing explain
Hi Krzysztof,
Thanks for your review. I wall send another serie later with those
modifications.
Best regards,
Raphaël
On 12/21/23 18:27, Krzysztof Kozlowski wrote:
> On 21/12/2023 13:28, Raphael Gallais-Pou wrote:
>> Add dt-binding file for "st,stm32-lvds" compatible.
Hi Rob
On 12/21/23 15:45, Rob Herring wrote:
> On Thu, 21 Dec 2023 13:43:33 +0100, Raphael Gallais-Pou wrote:
>> Add dt-binding file for "st,stm32-lvds" compatible.
>>
>> Signed-off-by: Raphael Gallais-Pou
>> ---
>> .../bindings/display/st,stm32-lvd
This patch enables the following IPs on stm32mp257f-ev :
* LTDC
* LVDS
* WSVGA LVDS panel (1024x600)
* Panel backlight
* Ilitek touchescreen
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79 ++
1 file changed, 79 insertions
of the clock framework, this would
allow to use the LVDS.
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
drivers/gpu/drm/stm/ltdc.c | 18 ++
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files changed, 19 insertions(+)
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu
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.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 12
1 file changed, 12 insertions
This patch adds LVDS support on stm32mp253. The LVDS is used on
STM32MP2 as a display interface. LVDS PLL clock is binded to the LTDC
input clock.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp253.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git
From: Yannick Fertre
The latest hardware version of the LTDC presents the addition of a bus
clock, which contains the global configuration registers and the interrupt
register.
Signed-off-by: Yannick Fertre
---
drivers/gpu/drm/stm/ltdc.c | 8
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files
pixel per clock cycle
Signed-off-by: Raphael Gallais-Pou
---
drivers/gpu/drm/stm/Kconfig | 11 +
drivers/gpu/drm/stm/Makefile |2 +
drivers/gpu/drm/stm/lvds.c | 1226 ++
3 files changed, 1239 insertions(+)
create mode 100644 drivers/gpu/drm/stm/lvds.c
diff
on the STM32MP257.
Raphael Gallais-Pou (7):
dt-bindings: panel: lvds: Append edt,etml0700z9ndha in panel-lvds
dt-bindings: display: add dt-bindings for STM32 LVDS device
drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver
drm/stm: ltdc: add lvds pixel clock
arm64: dts: st
Add dt-binding file for "st,stm32-lvds" compatible.
Signed-off-by: Raphael Gallais-Pou
---
.../bindings/display/st,stm32-lvds.yaml | 114 ++
1 file changed, 114 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/st,stm32-lvds.yaml
List EDT ETML0700Z9NDHA 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
This patch enables the following IPs on stm32mp257f-ev :
* LTDC
* LVDS
* WSVGA LVDS panel (1024x600)
* Panel backlight
* Ilitek touchescreen
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 79 ++
1 file changed, 79 insertions
This patch adds LVDS support on stm32mp253. The LVDS is used on
STM32MP2 as a display interface. LVDS PLL clock is binded to the LTDC
input clock.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp253.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git
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.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 12
1 file changed, 12 insertions
of the clock framework, this would
allow to use the LVDS.
Signed-off-by: Raphael Gallais-Pou
Signed-off-by: Yannick Fertre
---
drivers/gpu/drm/stm/ltdc.c | 18 ++
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files changed, 19 insertions(+)
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu
pixel per clock cycle
Signed-off-by: Raphael Gallais-Pou
---
drivers/gpu/drm/stm/Kconfig | 11 +
drivers/gpu/drm/stm/Makefile |2 +
drivers/gpu/drm/stm/lvds.c | 1226 ++
3 files changed, 1239 insertions(+)
create mode 100644 drivers/gpu/drm/stm/lvds.c
diff
Add dt-binding file for "st,stm32-lvds" compatible.
Signed-off-by: Raphael Gallais-Pou
---
.../bindings/display/st,stm32-lvds.yaml | 114 ++
1 file changed, 114 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/st,stm32-lvds.yaml
From: Yannick Fertre
The latest hardware version of the LTDC presents the addition of a bus
clock, which contains the global configuration registers and the interrupt
register.
Signed-off-by: Yannick Fertre
---
drivers/gpu/drm/stm/ltdc.c | 8
drivers/gpu/drm/stm/ltdc.h | 1 +
2 files
List EDT ETML0700Z9NDHA 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
on the STM32MP257.
Raphael Gallais-Pou (7):
dt-bindings: panel: lvds: Append edt,etml0700z9ndha in panel-lvds
dt-bindings: display: add dt-bindings for STM32 LVDS device
drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver
drm/stm: ltdc: add lvds pixel clock
arm64: dts: st
In RCC driver, 'DSI_K' is a kernel clock while 'DSI' has pclk4 as parent
clock, which means that it is an APB peripheral clock. Swap the clocks
in the DSI peripheral clock reference.
Signed-off-by: Raphael Gallais-Pou
---
arch/arm/boot/dts/st/stm32mp157.dtsi | 2 +-
arch/arm/boot/dts
si_phy' is not implemented. Since the
DSI kernel clock is based on the internal DSI pll. The common clock
driver can not directly expose this 'ck_dsi_phy' clock because it does
not contain any common registers with the DSI. Thus it needs to be done
directly within the DSI phy driver.
Signed-off-by: Raphael Galla
From: Yannick Fertre
Update control of clocks and supply thanks to the PM runtime
mechanism to avoid kernel crash during a system suspend.
Signed-off-by: Yannick Fertre
Signed-off-by: Raphael Gallais-Pou
---
Changes in v2:
- Changed SET_RUNTIME_PM_OPS to RUNTIME_PM_OPS and removed
for accordingly
- Changed SET_RUNTIME_PM_OPS to RUNTIME_PM_OPS
Raphael Gallais-Pou (3):
drm/stm: dsi: use new SYSTEM_SLEEP_PM_OPS() macro
drm/stm: dsi: expose DSI PHY internal clock
arm: dts: st: fix DSI peripheral clock on stm32mp15 boards
Yannick Fertre (1):
drm/stm: dsi: add pm
Use RUNTIME_PM_OPS() instead of the old SET_SYSTEM_SLEEP_PM_OPS().
This means we don't need __maybe_unused on the functions.
Signed-off-by: Raphael Gallais-Pou
---
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm
previously. Since 'dsi' and
'dsi_k' are gated by the same bit on the same register, both reference
work as peripheral clock in the device-tree.
Raphael Gallais-Pou (2):
drm/stm: dsi: expose DSI PHY internal clock
arm: dts: st: fix DSI peripheral clock on stm32mp15 boards
Yannick Fertre (1):
drm
si_phy' is not implemented. Since the
DSI kernel clock is based on the internal DSI pll. The common clock
driver can not directly expose this 'ck_dsi_phy' clock because it does
not contain any common registers with the DSI. Thus it needs to be done
directly within the DSI phy driver.
Signed-off-by: Raphael Galla
1 - 100 of 172 matches
Mail list logo