Re: [PATCH] drm/stm: ltdc: use crtc_mode_fixup to update adjusted_mode clock

2018-01-29 Thread Yannick FERTRE
On 01/25/2018 05:01 PM, Philippe Cornu wrote: > There is a difference between the panel/bridge requested pixel clock > value and the real one due to the hw platform clock preciseness (pll, > dividers...). This patch updates the adjusted_mode clock value with > the real hw clock value so then attach

[PATCH v3 01/10] video: stm32: stm32_ltdc: add bridge to display controller

2018-03-13 Thread yannick fertre
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

[PATCH v3 09/10] arm: dts: stm32: add display for STM32F769 disco board

2018-03-13 Thread yannick fertre
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

[PATCH v3 04/10] video: add support of panel OTM8009A

2018-03-13 Thread yannick fertre
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

[PATCH v3 10/10] board: Add STM32F769 SoC, discovery board support

2018-03-13 Thread yannick fertre
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

[PATCH v3 08/10] arm: dts: stm32: add dsi for STM32F746

2018-03-13 Thread yannick fertre
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

[PATCH v3 04/10] otm

2018-03-13 Thread yannick fertre
--- 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 @@

[PATCH v3 02/10] video: stm32: stm32_ltdc: update debug log

2018-03-13 Thread yannick fertre
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

[PATCH v3 00/10] splash screen on the stm32f769 disco board

2018-03-13 Thread yannick fertre
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

[PATCH v3 07/10] video: add support of panel rm68200

2018-03-13 Thread yannick fertre
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

[PATCH v3 02/10] video: add support of MIPI DSI interface

2018-03-13 Thread yannick fertre
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

[PATCH v3 06/10] video: add support of STM32 MIPI DSI controller driver

2018-03-13 Thread yannick fertre
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

[PATCH v3 05/10] video: add MIPI DSI host controller bridge

2018-03-13 Thread yannick fertre
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 |

[PATCH v3 03/10] video: add support of MIPI DSI interface

2018-03-13 Thread yannick fertre
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

[PATCH v3 03/10] video: add support of panel OTM8009A

2018-03-13 Thread yannick fertre
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

[PATCH v3 01/10] video: stm32: stm32_ltdc: update debug log

2018-03-13 Thread yannick fertre
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

Re: [PATCH v3 04/10] otm

2018-03-13 Thread Yannick FERTRE
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/

Re: [PATCH] drm: stm: implement get_scanout_position function

2018-09-27 Thread Yannick FERTRE
Reviewed-by: Yannick Fertré Tested-by: Yannick Fertré On 09/27/2018 10:15 AM, Yannick FERTRE wrote: > Reviewed-by/tested-by: yannick.fer...@st.com > > Forwarded Message > Subject: [PATCH] drm: stm: implement get_scanout_position function > Date: Fri, 29 Jun 2018

Re: [PATCH] drm/bridge: dw-mipi-dsi: Move drm_bridge_add into probe

2021-02-15 Thread yannick Fertre
Hello Jagan, I tested your patch on the stm32mp1 board. Unfortunately, the dsi panel does not probe well with this patch. The problem is due to the panel which is placed in the node of the dsi bridge (no problem with i2c devices). Regarding component bindings for stm drivers, I am currently wo

Re: [PATCH] drm/stm: ltdc: fix deferred endpoint management

2018-04-25 Thread Yannick FERTRE
Hi Philippe, Reviewed-by: Yannick Fertré On 04/17/2018 01:34 PM, Philippe Cornu wrote: > When a driver related to one of the endpoints is deferred > due to probe dependencies (i2c, spi...) but the other one > is ready, ltdc probe continues and the deferred driver > will never be probed again. >

Re: [PATCH] drm/stm: ltdc: add mode_valid()

2018-04-25 Thread Yannick FERTRE
Hi Philippe, Reviewed-by: Yannick Fertré On 04/17/2018 01:40 PM, Philippe Cornu wrote: > Add mode_valid() function to filter modes according to available > pll clock values and "preferred" modes. It is particularly > useful for hdmi modes that require precise pixel clocks. > > Note that "prefer

Re: [PATCH] drm/stm: ltdc: fix warnings in ltdc_plane_create()

2018-04-25 Thread Yannick FERTRE
Hi Philippe, Reviewed-by: Yannick Fertré On 04/19/2018 03:28 PM, Philippe Cornu wrote: > "make C=1" returns 2 warnings in ltdc_plane_create() > ("Using plain integer as NULL pointer"). This patch > fixes them. > > Signed-off-by: Philippe Cornu > --- > drivers/gpu/drm/stm/ltdc.c | 4 ++-- >

Re: [PATCH] drm/stm: ltdc: Use simple encoder

2021-03-04 Thread yannick Fertre
Hi Thomas, I wait a few days before merging it. Thank you for your help. Best regards Yannick On 3/4/21 9:21 AM, Thomas Zimmermann wrote: Hi, shall I merge this patch? Am 02.03.21 um 18:57 schrieb Jagan Teki: STM ltdc driver uses an empty implementation for its encoder. Replace the code wi

Re: [PATCH 1/2] drm/stm: dsi: Avoid printing errors for -EPROBE_DEFER

2021-03-08 Thread yannick Fertre
Tested-by: Yannick Fertre On 2/22/21 10:22 AM, Raphael GALLAIS-POU - foss wrote: From: Yannick Fertre Don't print error when probe deferred error is returned. Signed-off-by: Raphael Gallais-Pou Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 9 +++-

Re: [PATCH 2/2] drm/stm: dsi: Use dev_ based logging

2021-03-08 Thread yannick Fertre
Tested-by: Yannick Fertre On 2/22/21 10:23 AM, Raphael GALLAIS-POU - foss wrote: From: Yannick Fertre Standardize on the dev_ based logging. Signed-off-by: Raphael Gallais-Pou Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 49 ++- 1

[PATCH] media: cec: add stm32 driver

2021-01-15 Thread Yannick Fertre
Missing stm32 directory to Makefile. Signed-off-by: Yannick Fertre --- drivers/media/cec/platform/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/cec/platform/Makefile b/drivers/media/cec/platform/Makefile index 3a947159b25a..ea6f8ee8161c 100644 --- a/drivers/media

[PATCH] ARM: multi_v7_defconfig: add STM32 CEC support

2021-01-15 Thread Yannick Fertre
Enable CEC support for STMicroelectronics as loadable module. Signed-off-by: Yannick Fertre --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index c5f25710fedc..05cc0607a9ad

Re: [PATCH] ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board

2019-10-04 Thread Yannick FERTRE
Hi Alex, ok, i'll push only the dt patch link to the last version of driver touchscreen on display board MB1407. BR Yannick Fertré On 10/3/19 12:34 PM, Alexandre Torgue wrote: > Hi Yannick > > On 9/30/19 4:45 PM, Yannick Fertré wrote: >> Enable focaltech ft6236 touchscreen on STM32MP157C-DK2

Re: [PATCH] ARM: dts: stm32: add phy-dsi-supply property on stm32mp157c-ev1

2019-08-02 Thread Yannick FERTRE
Many thanks Alex. On 8/2/19 9:36 AM, Alexandre Torgue wrote: > Hi Yannick > > On 7/29/19 4:29 PM, Yannick Fertré wrote: >> The dsi physical layer is powered by the 1v8 power controller supply. >> >> Signed-off-by: Yannick Fertré >> --- >>   arch/arm/boot/dts/stm32mp157c-ev1.dts | 1 + >>   1 file

Re: [PATCH v2 3/5] ARM: dts: stm32: add phy-dsi-supply property on stm32mp157c

2019-08-02 Thread Yannick FERTRE
Hi Alexandre, this patch can be abandoned. BR -- Yannick Fertré | TINA: 166 7152 | Tel: +33 244027152 | Mobile: +33 620600270 Microcontrollers and Digital ICs Group | Microcontrolleurs Division On 5/10/19 4:20 PM, Yannick Fertré wrote: > The dsi physical layer is powered by the 1v8 power con

[PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-02 Thread yannick fertre
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

[PATCH v2 02/10] video: stm32: stm32_ltdc: update debug log

2018-03-02 Thread yannick fertre
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

[PATCH v2 07/10] video: add support of panel rm68200

2018-03-02 Thread yannick fertre
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

[PATCH v2 05/10] video: add MIPI DSI host controller bridge

2018-03-02 Thread yannick fertre
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 |

[PATCH v2 10/10] board: Add STM32F769 SoC, discovery board support

2018-03-02 Thread yannick fertre
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

[PATCH v2 09/10] arm: dts: stm32: add display for STM32F769 disco board

2018-03-02 Thread yannick fertre
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

[PATCH v2 08/10] arm: dts: stm32: add dsi for STM32F746

2018-03-02 Thread yannick fertre
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

[PATCH v2 01/10] video: stm32: stm32_ltdc: add bridge to display controller

2018-03-02 Thread yannick fertre
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

[PATCH v2 03/10] video: add support of MIPI DSI interface

2018-03-02 Thread yannick fertre
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

[PATCH v2 06/10] video: add support of STM32 MIPI DSI controller driver

2018-03-02 Thread yannick fertre
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

[PATCH v2 04/10] video: add support of panel OTM8009A

2018-03-02 Thread yannick fertre
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

Re: [PATCH] drm/bridge/synopsys: dsi: use adjusted_mode in mode_set

2018-04-23 Thread Yannick FERTRE
Hi Philippe, I've tried your patch on both 4.17-rc1 & drm-misc-next and it works fine. So, Reviewed-by: Yannick Fertré Tested-by: Yannick Fertré BR Yannick Fertré On 04/23/2018 12:10 PM, Laurent Pinchart wrote: > Hi Philippe, > > On Thursday, 8 February 2018 15:15:40 EEST Laurent Pinchart wr

[PATCH v1 3/3] ARM: dts: stm32: add cec support on stm32mp157c-ev1

2018-04-24 Thread yannick fertre
This patch enables cec node on stm32mp157c-ev1 board Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index 57e6dbc..e2a583b 100644

[PATCH v1 0/3] Enable CEC on stm32mp157c-ev1 board

2018-04-24 Thread yannick fertre
This patch-set enables CEC (Consumer Electronics Control) on stm32mp157c eval board. yannick fertre (3): ARM: dts: stm32: add cec support on stm32mp157c ARM: dts: stm32: add cec pins to stm32mp157c ARM: dts: stm32: add cec support on stm32mp157c-ev1 arch/arm/boot/dts/stm32mp157

[PATCH v1 1/3] ARM: dts: stm32: add cec support on stm32mp157c

2018-04-24 Thread yannick fertre
Add cec support on stm32mp157c Signed-off-by: yannick fertre --- arch/arm/boot/dts/stm32mp157c.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index bc3eddc..b80eb6b 100644 --- a/arch/arm/boot/dts

[PATCH v1 0/2] Add ltdc & dsi support on stm32mp157c

2018-04-24 Thread yannick fertre
This patch-set adds display controller & DSI controller support to stm32mp157c SOC. Version 1: - Initial commit yannick fertre (2): ARM: dts: stm32: add ltdc support on stm32mp157c ARM: dts: stm32: add dsi support on stm32mp157c arch/arm/boot/dts/stm32mp157c.dtsi

[PATCH v1 1/2] ARM: dts: stm32: add ltdc support on stm32mp157c

2018-04-24 Thread yannick fertre
Add support for the display controller ltdc. Signed-off-by: yannick fertre --- arch/arm/boot/dts/stm32mp157c.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index bc3eddc..af6cc48 100644 --- a/arch

[PATCH v1 2/3] ARM: dts: stm32: add cec pins to stm32mp157c

2018-04-24 Thread yannick fertre
This patch adds cec support on stm32mp157c eval board. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi index 6f044100

[PATCH v1 2/2] ARM: dts: stm32: add dsi support on stm32mp157c

2018-04-24 Thread yannick fertre
Add dsi support on stm32mp157c Signed-off-by: yannick fertre --- arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index af6cc48..c61cb6d 100644 --- a/arch/arm/boot/dts

Re: [PATCH] drm/stm: ltdc: fix warning in ltdc_crtc_update_clut()

2018-04-16 Thread Yannick FERTRE
Reviewed-by: yannick fertre On 04/10/2018 03:53 PM, Philippe Cornu wrote: > Fix the warning > "warn: variable dereferenced before check 'crtc' (see line 390)" > by removing unnecessary checks as ltdc_crtc_update_clut() is > only called from ltdc_crtc_atomic_flus

[PATCH v1 5/5] ARM: configs: Add watchdog support in STM32 defconfig

2017-03-22 Thread Yannick Fertre
Signed-off-by: Yannick Fertre --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index a9d8e3c..83afa73 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig

[PATCH v1 1/5] dt-bindings: Document STM32 IWDG bindings

2017-03-22 Thread Yannick Fertre
From: Yannick Fertre This adds documentation of device tree bindings for the STM32 IWDG (Independent WatchDoG). Change-Id: Idadacc806d00205fe9af2e8606af229b4b760558 Signed-off-by: Yannick Fertre Reviewed-on: https://gerrit.st.com/45217 Reviewed-by: Yannick FERTRE Tested-by: Yannick FERTRE

[PATCH v1 3/5] ARM: dts: stm32ap: Add watchdog support for STM32F429 SoC

2017-03-22 Thread Yannick Fertre
Signed-off-by: Yannick FERTRE --- arch/arm/boot/dts/stm32f429.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index ee0da97..148273b 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm

[PATCH v1 4/5] ARM: dts: stm32ap: Add watchdog support for STM32F429 eval board

2017-03-22 Thread Yannick Fertre
Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32429i-eval.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 3c99466..aab81ed 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot

[PATCH v1 2/5] drivers: watchdog: Add STM32 IWDG driver

2017-03-22 Thread Yannick Fertre
This patch adds IWDG (Independent WatchDoG) support for STM32 platform. Change-Id: Iab218745fc25566f12558fae7f52e2f8c21db74e Signed-off-by: Yannick FERTRE Tested-by: Yannick FERTRE Reviewed-by: Ludovic BARRE --- drivers/watchdog/Kconfig | 11 ++ drivers/watchdog/Makefile | 1

[PATCH v1 0/5] STM32 Independant watchdog

2017-03-22 Thread Yannick Fertre
Version 1: - Initial commit The purpose of this set of patches is to add a new watchdog driver for stm32f429. This driver was developed and tested on evaluation board stm32429i. Yannick Fertre (5): dt-bindings: Document STM32 IWDG bindings drivers: watchdog: Add STM32 IWDG driver ARM: dts

[PATCH v2 4/5] ARM: dts: stm32: Add watchdog support for STM32F429 eval board

2017-03-22 Thread Yannick Fertre
This patch adds watchdog support for STM32x9I-Eval board. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32429i-eval.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 3c99466..aab81ed 100644

[PATCH v2 0/5] STM32 Independant watchdog

2017-03-22 Thread Yannick Fertre
Version 2: - Add commit messages Version 1: - Initial commit The purpose of this set of patches is to add a new watchdog driver for stm32f429. This driver was developed and tested on evaluation board stm32429i. Yannick Fertre (5): dt-bindings: Document STM32 IWDG bindings drivers: watchdog

[PATCH v2 1/5] dt-bindings: Document STM32 IWDG bindings

2017-03-22 Thread Yannick Fertre
From: Yannick Fertre This adds documentation of device tree bindings for the STM32 IWDG (Independent WatchDoG). Change-Id: Idadacc806d00205fe9af2e8606af229b4b760558 Signed-off-by: Yannick Fertre Reviewed-on: https://gerrit.st.com/45217 Reviewed-by: Yannick FERTRE Tested-by: Yannick FERTRE

[PATCH v2 3/5] ARM: dts: stm32: Add watchdog support for STM32F429 SoC

2017-03-22 Thread Yannick Fertre
Add watchdog into DT for stm32f429 family. Signed-off-by: Yannick FERTRE --- arch/arm/boot/dts/stm32f429.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index ee0da97..148273b 100644 --- a/arch

[PATCH v2 5/5] ARM: configs: Add watchdog support in STM32 defconfig

2017-03-22 Thread Yannick Fertre
This patch adds STM32 watchdog support in stm32_defconfig file Signed-off-by: Yannick Fertre --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index a9d8e3c..83afa73 100644 --- a/arch/arm

[PATCH v2 2/5] drivers: watchdog: Add STM32 IWDG driver

2017-03-22 Thread Yannick Fertre
This patch adds IWDG (Independent WatchDoG) support for STM32 platform. Change-Id: Iab218745fc25566f12558fae7f52e2f8c21db74e Signed-off-by: Yannick FERTRE Tested-by: Yannick FERTRE Reviewed-by: Ludovic BARRE --- drivers/watchdog/Kconfig | 11 ++ drivers/watchdog/Makefile | 1

[PATCH v3 5/5] ARM: configs: Add watchdog support in STM32 defconfig

2017-03-22 Thread Yannick Fertre
This patch adds STM32 watchdog support in stm32_defconfig file Signed-off-by: Yannick Fertre --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index a9d8e3c..83afa73 100644 --- a/arch/arm

[PATCH v3 3/5] ARM: dts: stm32: Add watchdog support for STM32F429 SoC

2017-03-22 Thread Yannick Fertre
Add watchdog into DT for stm32f429 family. Signed-off-by: Yannick FERTRE --- arch/arm/boot/dts/stm32f429.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index ee0da97..9b71dde 100644 --- a/arch

[PATCH v3 4/5] ARM: dts: stm32: Add watchdog support for STM32F429 eval board

2017-03-22 Thread Yannick Fertre
This patch adds watchdog support for STM32x9I-Eval board. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32429i-eval.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 3c99466..1c7d0b9 100644

[PATCH v3 0/5] STM32 Independant watchdog

2017-03-22 Thread Yannick Fertre
developed and tested on evaluation board stm32429i. Yannick Fertre (5): dt-bindings: Document STM32 IWDG bindings drivers: watchdog: Add STM32 IWDG driver ARM: dts: stm32: Add watchdog support for STM32F429 SoC ARM: dts: stm32: Add watchdog support for STM32F429 eval board ARM: configs: Add

[PATCH v3 1/5] dt-bindings: Document STM32 IWDG bindings

2017-03-22 Thread Yannick Fertre
From: Yannick Fertre This adds documentation of device tree bindings for the STM32 IWDG (Independent WatchDoG). Change-Id: Idadacc806d00205fe9af2e8606af229b4b760558 Signed-off-by: Yannick Fertre --- .../devicetree/bindings/watchdog/st,stm32-iwdg.txt| 15 +++ 1 file changed

[PATCH v3 2/5] drivers: watchdog: Add STM32 IWDG driver

2017-03-22 Thread Yannick Fertre
This patch adds IWDG (Independent WatchDoG) support for STM32 platform. Change-Id: Iab218745fc25566f12558fae7f52e2f8c21db74e Signed-off-by: Yannick FERTRE --- drivers/watchdog/Kconfig | 11 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/stm32_iwdg.c | 289

Re: [PATCH v9 03/11] drm: bridge: dw_mipi_dsi: add dsi v1.01 support

2020-06-10 Thread Yannick FERTRE
Hi Adrian, thanks for the pach: tested on stm32mp1. Tested-by: Yannick Fertré On 6/9/20 7:49 PM, Adrian Ratiu wrote: > The Synopsis MIPI DSI v1.01 host controller is quite widely used > on platforms like i.mx6 and is not very different from the other > versions like the 1.31/1.30 used on rockch

Re: [PATCH v9 04/11] drm: bridge: dw_mipi_dsi: remove bind/unbind API

2020-06-10 Thread Yannick FERTRE
Hi Adrian, thanks for the pach: tested on stm32mp1. Tested-by: Yannick Fertré On 6/9/20 7:49 PM, Adrian Ratiu wrote: > The DW mipi-dsi bind/unbind API was only used to attach the bridge to > the encoder in the Rockchip driver, but with the addition of i.MX6 it > gets more complicated because th

Re: [PATCH v9 09/11] drm: bridge: dw-mipi-dsi: split low power cfg register into fields

2020-06-10 Thread Yannick FERTRE
Hi Adrian, thanks for the pach: tested on stm32mp1. Tested-by: Yannick Fertré On 6/9/20 7:49 PM, Adrian Ratiu wrote: > According to the Host Registers documentation for IMX, STM and RK > the LP cfg register should not be written entirely in one go because > some bits are reserved and should be

Re: [PATCH v9 10/11] drm: bridge: dw-mipi-dsi: fix bad register field offsets

2020-06-10 Thread Yannick FERTRE
Hi Adrian, thanks for the pach: tested on stm32mp1. Tested-by: Yannick Fertré On 6/9/20 7:49 PM, Adrian Ratiu wrote: > According to the DSI Host Registers sections available in the IMX, > STM and RK ref manuals for 1.01, 1.30 and 1.31, the register fields > are smaller or bigger than what's cod

Re: [PATCH] drm/bridge: dw-mipi-dsi.c: remove unused header file

2020-06-24 Thread Yannick FERTRE
Hello Angelo, thank for patch. Reviewed-by: Yannick Fertre On 4/3/20 3:30 PM, Angelo Ribeiro wrote: > dw-mipi-dsi does not use any definition from drm_probe_helper. > > Coverity output: > Event unnecessary_header: > Including .../include/drm/drm_probe_helper.h does not provi

Re: [PATCH v2] drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

2020-06-24 Thread Yannick FERTRE
Hello Angelo, thanks for the patch. Tested-by: Yannick Fertre Tested OK on STM32MP1-DISCO, DSI v1.31 Best regards On 4/6/20 3:49 PM, Angelo Ribeiro wrote: > Add support for the video pattern generator (VPG) BER pattern mode and > configuration in runtime. > > This enables using

[PATCH v2] drm/bridge/synopsys: dsi: allow LP commands in video mode

2020-07-08 Thread Yannick Fertre
From: Antonio Borneo Current code only sends LP commands in command mode. Allows sending LP commands also in video mode by setting the proper flag in DSI_VID_MODE_CFG. Signed-off-by: Antonio Borneo --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 8 1 file changed, 8 insertions(+)

Re: [PATCH] drm/stm: dsi: Use dev_ based logging

2020-10-13 Thread Yannick FERTRE
Hi Sam, thanks for the review. I'll send a new patch with the revert of function dsi_color_from_mipi. Best regards Yannick On 9/25/20 4:51 PM, Sam Ravnborg wrote: > Hi Yannick. > > On Fri, Sep 25, 2020 at 12:22:33PM +0200, Yannick Fertre wrote: >> Standardize on the de

[PATCH v2] drm/stm: dsi: Use dev_ based logging

2020-10-13 Thread Yannick Fertre
Standardize on the dev_ based logging. Signed-off-by: Yannick Fertre --- Changes in v2: - restore function dsi_color_from_mipi. - reword commit. drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 55 ++- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git

[PATCH] drm/stm: dsi: Use dev_ based logging

2020-09-25 Thread Yannick Fertre
Standardize on the dev_ based logging and drop the include of drm_print.h. Remove useless dsi_color_from_mipi function. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 87 ++- 1 file changed, 45 insertions(+), 42 deletions(-) diff --git a

[PATCH] drm/panel: rm68200: fix mode to 50fps

2020-09-25 Thread Yannick Fertre
Compute new timings to get a framerate of 50fps with a pixel clock @54Mhz. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-raydium-rm68200.c b/drivers

Re: [PATCH] drm/stm: dsi: Use dev_ based logging

2020-09-28 Thread Yannick FERTRE
On 9/25/20 2:02 PM, Joe Perches wrote: > On Fri, 2020-09-25 at 12:22 +0200, Yannick Fertre wrote: >> Standardize on the dev_ based logging and drop the include of drm_print.h. >> Remove useless dsi_color_from_mipi function. > [] >> diff --git a/drivers/gpu/drm/stm/dw_mipi

Re: [PATCH] drm/stm: dsi: Use dev_ based logging

2020-09-28 Thread Yannick FERTRE
On 9/25/20 4:51 PM, Sam Ravnborg wrote: > Hi Yannick. > > On Fri, Sep 25, 2020 at 12:22:33PM +0200, Yannick Fertre wrote: >> Standardize on the dev_ based logging and drop the include of drm_print.h. > The patchs filas to drop the include mentioned here. > >> Remove

[PATCH] drm/stm: dsi: Avoid printing errors for -EPROBE_DEFER

2020-09-18 Thread Yannick Fertre
Don't print error when probe deferred error is returned. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c

[PATCH] drm/panel: otm8009a: allow using non-continuous dsi clock

2020-09-18 Thread Yannick Fertre
From: Antonio Borneo The panel is able to work when dsi clock is non-continuous, thus the system power consumption can be reduced using such feature. Add MIPI_DSI_CLOCK_NON_CONTINUOUS to panel's mode_flags. Signed-off-by: Antonio Borneo --- drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 2

[PATCH] drm/panel: otm8009a: remove hack to force commands in HS

2020-09-18 Thread Yannick Fertre
From: Antonio Borneo The panel is able to receive commands in LP. The current hack to force backlight commands in HS was due to workaround an incorrect settings on DSI controller that prevents sending LP commands while video out was active. Remove the hack that forces HS commands. Signed-off-by

[PATCH] drm/bridge/synopsys: dsi: fix initialization sequence

2020-09-18 Thread Yannick Fertre
: Antonio Borneo Signed-off-by: Yannick Fertre --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 73 --- 1 file changed, 48 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c index 6b268f9445b3

[PATCH] drm/panel: rm68200: allow using non-continuous dsi clock

2020-09-18 Thread Yannick Fertre
The panel is able to work when dsi clock is non-continuous, thus the system power consumption can be reduced using such feature. Add MIPI_DSI_CLOCK_NON_CONTINUOUS to panel's mode_flags. Signed-off-by: Antonio Borneo Signed-off-by: Yannick Fertre --- drivers/gpu/drm/panel/panel-raydium-rm

[PATCH v2] drm/panel: otm8009a: remove hack to force commands in HS

2020-09-22 Thread Yannick Fertre
v2: - Added my signed-off Signed-off-by: Antonio Borneo Signed-off-by: Yannick Fertre --- .../gpu/drm/panel/panel-orisetech-otm8009a.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm

[PATCH v2] drm/panel: otm8009a: allow using non-continuous dsi clock

2020-09-22 Thread Yannick Fertre
ff-by: Yannick Fertre --- drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c index b6e377aa1131..6ac1accade80 100644 --- a/drivers/gp

[PATCH] drm/stm: ltdc: remove call of pm-runtime functions

2020-07-01 Thread Yannick Fertre
It is not necessary to suspend or stop the ltdc clocks to modify the pixel clock. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/stm/ltdc.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 3f590d916e91

[PATCH] drm/bridge/synopsys: dsi: allow sending longer LP commands

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code does not properly computes the max length of LP commands that can be send during H or V sync, and rely on static values. Limiting the max LP length to 4 byte during the V-sync is overly conservative. Relax the limit and allows longer LP commands (16 bytes) to be

[PATCH] drm/bridge/synopsys: dsi: allows LP commands in video mode

2020-07-01 Thread Yannick Fertre
/oe/st/linux-stm32/+/153242 Reviewed-by: CITOOLS Reviewed-by: CIBUILD Reviewed-by: Yannick FERTRE Reviewed-by: Philippe CORNU Tested-by: Yannick FERTRE --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/bridge/synopsys/dw

[PATCH] drm/bridge/synopsys: dsi: allows LP commands in video mode

2020-07-01 Thread Yannick Fertre
/oe/st/linux-stm32/+/153242 Reviewed-by: CITOOLS Reviewed-by: CIBUILD Reviewed-by: Yannick FERTRE Reviewed-by: Philippe CORNU Tested-by: Yannick FERTRE --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/bridge/synopsys/dw

[PATCH] drm/bridge/synopsys: dsi: allow LP commands in video mode

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code only sends LP commands in command mode. Allows sending LP commands also in video mode by setting the proper flag in DSI_VID_MODE_CFG. Signed-off-by: Antonio Borneo --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 7 +++ 1 file changed, 7 insertions(+)

[PATCH] drm/bridge/synopsys: dsi: add support for non-continuous HS clock

2020-07-01 Thread Yannick Fertre
From: Antonio Borneo Current code enables the HS clock when video mode is started or to send out a HS command, and disables the HS clock to send out a LP command. This is not what DSI spec specify. Enable HS clock either in command and in video mode. Set automatic HS clock management for panels

[PATCH v5 0/5] STM32 Independent watchdog

2017-04-06 Thread Yannick Fertre
ver was developed and tested on evaluation board stm32429i. Yannick Fertre (5): dt-bindings: watchdog: Document STM32 IWDG bindings drivers: watchdog: Add STM32 IWDG driver ARM: dts: stm32: Add watchdog support for STM32F429 SoC ARM: dts: stm32: Add watchdog support for STM32F429 eval boar

[PATCH v5 4/5] ARM: dts: stm32: Add watchdog support for STM32F429 eval board

2017-04-06 Thread Yannick Fertre
This patch adds watchdog support for STM32x9I-Eval board. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32429i-eval.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 6e4b42a..ff29980 100644

[PATCH v5 5/5] ARM: configs: stm32: Add watchdog support in STM32 defconfig

2017-04-06 Thread Yannick Fertre
This patch adds STM32 watchdog support in stm32_defconfig file Signed-off-by: Yannick Fertre --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 29ac5a4..1fb901c 100644 --- a/arch/arm

[PATCH v5 3/5] ARM: dts: stm32: Add watchdog support for STM32F429 SoC

2017-04-06 Thread Yannick Fertre
Add watchdog into DT for stm32f429 family. Signed-off-by: Yannick FERTRE --- arch/arm/boot/dts/stm32f429.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 89327d6..d84dd44 100644 --- a/arch

[PATCH v5 2/5] drivers: watchdog: Add STM32 IWDG driver

2017-04-06 Thread Yannick Fertre
This patch adds IWDG (Independent WatchDoG) support for STM32 platform. Signed-off-by: Yannick FERTRE --- drivers/watchdog/Kconfig | 12 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/stm32_iwdg.c | 253 ++ 3 files changed, 266

[PATCH v5 1/5] dt-bindings: watchdog: Document STM32 IWDG bindings

2017-04-06 Thread Yannick Fertre
This adds documentation of device tree bindings for the STM32 IWDG (Independent WatchDoG). Signed-off-by: Yannick Fertre --- .../devicetree/bindings/watchdog/st,stm32-iwdg.txt| 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings

  1   2   >