Register mapping & pixel formats depend on version of ltdc
display controller.
Signed-off-by: Yannick Fertre
---
drivers/video/stm32/stm32_ltdc.c | 245 +++
1 file changed, 216 insertions(+), 29 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/dri
Wrong DISPLAY_FLAGS used to set the data enable polarity.
Signed-off-by: Yannick FERTRE
---
drivers/video/stm32/stm32_ltdc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index e741e74739..9269d4bfb4
Acked-by: Yannick Fertre
On 3/4/21 1:14 PM, Patrick Delaunay wrote:
From: Yannick Fertre
The DSI phy can be turned on from the DSI digital interface in
the dphy_enable() function or from a dedicated DSI phy "wrapper"
in phy_ops->init() function. If the STM32MP1 case, the wr
Acked-by: Yannick Fertre
On 3/4/21 1:14 PM, Patrick Delaunay wrote:
From: Yannick Fertre
Missing udevice to struct dw_mipi_dsi to log trace.
Signed-off-by: Yannick Fertre
Signed-off-by: Patrick Delaunay
---
drivers/video/dw_mipi_dsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git
Reviewed-by: Yannick Fertré
On 9/9/20 5:44 PM, Patrick Delaunay wrote:
> Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the
> driver can support live DT.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> drivers/video/stm32/stm32_dsi.c | 3 +--
> 1 file changed, 1 insertion(
Reviewed-by: Yannick Fertré
On 9/9/20 5:44 PM, Patrick Delaunay wrote:
> Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the
> driver can support live DT.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> drivers/video/stm32/stm32_ltdc.c | 3 +--
> 1 file changed, 1 insertion
Copy the DSI data link characteristics from panel
platform data to mipi DSI device.
Signed-off-by: Yannick Fertre
---
drivers/video/stm32/stm32_dsi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/video/stm32/stm32_dsi.c b/drivers/video/stm32/stm32_dsi.c
index 04796435f1
Add new fields "lanes, format & mode_flags" to structure
mipi_dsi_panel_plat.
Signed-off-by: Yannick Fertre
---
include/mipi_dsi.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/mipi_dsi.h b/include/mipi_dsi.h
index 83c5163cf8..c8a7d3daef 100644
--- a/include/mi
Fill characteristics of DSI data link to platform data instead of
mipi device to avoid memory corruption.
Yannick Fertre (4):
video: mipi update panel platform data
video: stm32: stm32_dsi: copy DSI fields
video: raydium_rm68200: fill characteristics of DSI data link
video
Fill characteristics of DSI data link to platform data instead of
mipi device to avoid memory corruption.
Signed-off-by: Yannick Fertre
---
drivers/video/orisetech_otm8009a.c | 20 +---
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers/video
Fill characteristics of DSI data link to platform data instead of
mipi device to avoid memory corruption.
Signed-off-by: Yannick Fertre
---
drivers/video/raydium-rm68200.c | 20 +---
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers/video/raydium-rm68200.c b
Check the hardware version of DSI. Versions 1.30 & 1.31 are only
supported.
Signed-off-by: Yannick Fertre
---
drivers/video/stm32/stm32_dsi.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/video/stm32/stm32_dsi.c b/drivers/video/stm32/stm32_dsi.c
i
Hello Heinrich,
Sorry for the delay.
This match is not superfluous. On the STM32F746 board, a bitmap larger
than the panel resolution is embedded.
Without this patch, the board does not boot.
I propose to send an additional patch that checks the coordinates.
Best regards
--
Yannick Fertré M
Hello Heinrich,
Thank for your review.
You're right my patch does not allow to properly protect the framebuffer.
I will push a new patch which check the bitmap size and exit in case of
size error.
Yannick Fertré
On 9/17/19 11:12 PM, Heinrich Schuchardt wrote:
> On 9/13/19 11:47 AM, Yannick F
Hi,
Ok, I 'll rework driver with a new uclass & driver model.
Best regards
On 08/21/2018 07:31 PM, Simon Glass wrote:
> Hi,
>
> On 17 August 2018 at 08:38, Yannick Fertré wrote:
>> Mipi_display.c contains a set of dsi helpers.
>> This file is a copy of file drm_mipi_dsi.c (linux kernel).
>>
>>
tm32f769-disco_defconfig.
This is necessary due to the difference of panels between stm32f769-disco &
stm32f746-disco boards.
This serie depends on:
http://patchwork.ozlabs.org/patch/870938/
http://patchwork.ozlabs.org/cover/880576/
yannick fertre (10):
video: stm32: stm32_ltdc: add bridg
---
drivers/video/orisetech_otm8009a.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/video/orisetech_otm8009a.c
b/drivers/video/orisetech_otm8009a.c
index 81b11d7..aa8139a 100644
--- a/drivers/video/orisetech_otm8009a.c
+++ b/drivers/video/orisetech_otm8009a.c
@@
Signed-off-by: yannick fertre
---
configs/stm32f769-disco_defconfig | 65 +++
1 file changed, 65 insertions(+)
create mode 100644 configs/stm32f769-disco_defconfig
diff --git a/configs/stm32f769-disco_defconfig
b/configs/stm32f769-disco_defconfig
new file
Replace macro debug by pr_error, pr_warn or pr_info.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 67 ++--
1 file changed, 30 insertions(+), 37 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32
Enable the display controller, mipi dsi bridge & panel.
Set panel display timings.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f769-disco.dts | 71
1 file changed, 71 insertions(+)
diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm
Add mipi dsi bridge node in device-tree.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f746.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index 8581df9..3b8af67 100644
--- a/arch/arm/dts/stm32f746.dtsi
Add the STM32 DSI controller driver that uses the Synopsys DesignWare
MIPI DSI host controller bridge.
Signed-off-by: yannick fertre
---
drivers/video/stm32/Kconfig | 10 +
drivers/video/stm32/Makefile| 1 +
drivers/video/stm32/stm32_dsi.c | 426
Support for Raydium rm68200 720p dsi 2dl video mode panel.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 8 +
drivers/video/Makefile | 1 +
drivers/video/raydium-rm68200.c | 326
3 files changed, 335 insertions
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 8 +
drivers/video/Makefile | 1 +
drivers/video/orisetech_otm8009a.c | 327 +
3 files changed, 336
Add a Synopsys Designware MIPI DSI host bridge driver, based on the
Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 9 +
drivers/video/Makefile | 1 +
drivers/video/dw_mipi_dsi.c |
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 8 +
drivers/video/Makefile | 1 +
drivers/video/orisetech_otm8009a.c | 325 +
3 files changed, 334
Mipi_display.c contains a set of dsi helpers.
This file is a copy of file drm_mipi_dsi.c (linux kernel).
Signed-off-by: yannick fertre
---
drivers/video/Kconfig| 7 +
drivers/video/Makefile | 1 +
drivers/video/mipi_display.c | 807
Mipi_display.c contains a set of dsi helpers.
This file is a copy of file drm_mipi_dsi.c (linux kernel).
Signed-off-by: yannick fertre
---
drivers/video/Kconfig| 7 +
drivers/video/Makefile | 1 +
drivers/video/mipi_display.c | 807
Replace macro debug by pr_error, pr_warn or pr_info.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 67 ++--
1 file changed, 30 insertions(+), 37 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32
Manage a bridge insert between the display controller & a panel.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 107 ++-
1 file changed, 71 insertions(+), 36 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/v
ort of panel OTM8009A.
>
> Patrice
>
> On 03/13/2018 02:50 PM, yannick fertre wrote:
>> ---
>>drivers/video/orisetech_otm8009a.c | 4 +++-
>>1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/video/orisetech_otm8009a.c
>> b/
Add a Synopsys Designware MIPI DSI host bridge driver, based on the
Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 9 +
drivers/video/Makefile | 1 +
drivers/video/dw_mipi_dsi.c |
Support for Raydium rm68200 720p dsi 2dl video mode panel.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 8 +
drivers/video/Makefile | 1 +
drivers/video/raydium-rm68200.c | 329
3 files changed, 338 insertions
Replace macro debug by pr_error, pr_warn or pr_info.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 62
1 file changed, 31 insertions(+), 31 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32
Enable the display controller, mipi dsi bridge & panel.
Set panel display timings.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f769-disco.dts | 71
1 file changed, 71 insertions(+)
diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm
Add the STM32 DSI controller driver that uses the Synopsys DesignWare
MIPI DSI host controller bridge.
Signed-off-by: yannick fertre
---
drivers/video/stm32/Kconfig | 10 +
drivers/video/stm32/Makefile| 1 +
drivers/video/stm32/stm32_dsi.c | 427
Add mipi dsi bridge node in device-tree.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f746.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index e4d32bf..4ec954d 100644
--- a/arch/arm/dts/stm32f746.dtsi
Signed-off-by: yannick fertre
---
configs/stm32f769-disco_defconfig | 63 +++
1 file changed, 63 insertions(+)
create mode 100644 configs/stm32f769-disco_defconfig
diff --git a/configs/stm32f769-disco_defconfig
b/configs/stm32f769-disco_defconfig
new file
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 8 +
drivers/video/Makefile | 1 +
drivers/video/orisetech_otm8009a.c | 329 +
3 files changed, 338
Mipi_display.c contains a set of dsi helpers.
This file is a copy of file drm_mipi_dsi.c (linux kernel).
Signed-off-by: yannick fertre
---
drivers/video/Kconfig| 7 +
drivers/video/Makefile | 1 +
drivers/video/mipi_display.c | 807
Manage a bridge insert between the display controller & a panel.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 107 ++-
1 file changed, 71 insertions(+), 36 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/v
ying a splash screen
on the stm32f769 disco board.
yannick fertre (10):
video: stm32: stm32_ltdc: add bridge to display controller
video: stm32: stm32_ltdc: update debug log
video: add support of MIPI DSI interface
video: add support of panel OTM8009A
video: add MIPI DSI host contro
Enable the display controller , panel & backlight.
Set panel display timings & set the RGB data bus.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f746-disco.dts | 70
1 file changed, 70 insertions(+)
diff --git a/arch/arm/dts/stm32f746-d
From: Philippe CORNU
Add display controller node in device-tree.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f746.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index 46d148e..e4d32bf 100644
--- a/arch/arm
Signed-off-by: yannick fertre
---
configs/stm32f746-disco_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/stm32f746-disco_defconfig
b/configs/stm32f746-disco_defconfig
index f8fa198..0bc9c01 100644
--- a/configs/stm32f746-disco_defconfig
+++ b/configs/stm32f746
Set the blending factor regarding the pixel format
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 41 ++--
1 file changed, 35 insertions(+), 6 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
Add reset of LTDC display controller.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index b417ac2..d8784f1 100644
--- a/drivers/video/stm32
Set LIPCR (line interrupt position conf) register with line length.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index 08e0afc..6c3557b 100644
--- a
play features (reset, blending & line
interrupt position).
Philippe CORNU (1):
arm: dts: stm32: add ltdc for STM32F746
yannick fertre (8):
video: stm32: stm32_ltdc: add reset
video: stm32: stm32_ltdc: update file header & footer
video: stm32: stm32_ltdc: set rate of the pixel clock
pxclk is useless to set pixel clock.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 52 ++--
1 file changed, 29 insertions(+), 23 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index
Modified copyright & driver name.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index d8784f1..8d89b58 100644
-
Add the STM32 DSI controller driver that uses the Synopsys DesignWare
MIPI DSI host controller bridge.
Signed-off-by: yannick fertre
---
drivers/video/stm32/Kconfig | 10 +
drivers/video/stm32/Makefile| 1 +
drivers/video/stm32/stm32_dsi.c | 429
Add a Synopsys Designware MIPI DSI host bridge driver, based on the
Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 9 +
drivers/video/Makefile | 1 +
drivers/video/dw_mipi_dsi.c |
Set LIPCR (line interrupt position conf) register with line length.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index 08e0afc..6c3557b 100644
--- a
Add mipi dsi bridge node in device-tree.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f746.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index e4d32bf..4ec954d 100644
--- a/arch/arm/dts/stm32f746.dtsi
From: Philippe CORNU
Add display controller node in device-tree.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f746.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index 46d148e..e4d32bf 100644
--- a/arch/arm
This serie contains all patchsets needed for displaying a splash screen
on the stm32f769 disco board.
yannick fertre (7):
video: stm32: stm32_ltdc: add bridge to display controller
video: add support of MIPI DSI interface
video: add support of panel OTM8009A
video: add MIPI DSI host
Enable the display controller, mipi dsi bridge & panel.
Set panel display timings.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f769-disco.dts | 59
1 file changed, 59 insertions(+)
diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm
Mipi_display.c contains a set of dsi helpers.
This file is a copy of file drm_mipi_dsi.c (linux kernel).
Signed-off-by: yannick fertre
---
drivers/video/Kconfig| 7 +
drivers/video/Makefile | 2 +
drivers/video/mipi_display.c | 809
pxclk is useless to set pixel clock.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 52 ++--
1 file changed, 29 insertions(+), 23 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel.
Signed-off-by: yannick fertre
---
drivers/video/Kconfig | 7 +
drivers/video/Makefile | 1 +
drivers/video/orisetech_otm8009a.c | 316 +
3 files changed, 324
Enable the display controller , panel & backlight.
Set panel display timings & set the RGB data bus.
Signed-off-by: yannick fertre
---
arch/arm/dts/stm32f746-disco.dts | 70
1 file changed, 70 insertions(+)
diff --git a/arch/arm/dts/stm32f746-d
Set the blending factor regarding the pixel format
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 41 ++--
1 file changed, 35 insertions(+), 6 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
Manage a bridge insert between the display controller & a panel.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 107 ++-
1 file changed, 71 insertions(+), 36 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/v
Add reset of LTDC display controller.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index b417ac2..d8784f1 100644
--- a/drivers/video/stm32
Modified copyright & driver name.
Signed-off-by: yannick fertre
---
drivers/video/stm32/stm32_ltdc.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c
index d8784f1..8d89b58 100644
-
This serie contains all patchsets needed for displaying a splash screen
on the stm32f746 disco board & some display features (reset, blending & line
interrupt position).
Philippe CORNU (1):
arm: dts: stm32: add ltdc for STM32F746
yannick fertre (6):
video: stm32: stm32_ltdc: a
67 matches
Mail list logo