[PATCH v2 0/3] drm/panel: sitronix-st7789v: fixes for jt240mhqs_hwt_ek_e3 panel

2024-05-29 Thread Gerald Loacker
At the jt240mhqs_hwt_ek_e3 panel, noticeable flickering occurs. This is addressed by patch 1, which adjusts the vertical timing. Patch 2 and 3 are two more minor fixes for timing and dimension. Signed-off-by: Gerald Loacker --- Changes in v2: - Added fixes tag to patches 1-3 - Link to v1: https

[PATCH v2 2/3] drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel

2024-05-29 Thread Gerald Loacker
Use the default timing parameters to get a refresh rate of about 60 Hz for a clock of 6 MHz. Fixes: 0fbbe96bfa08 ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support") Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- 1 fi

[PATCH v2 1/3] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel

2024-05-29 Thread Gerald Loacker
Flickering was observed when using partial mode. Moving the vsync to the same position as used by the default sitronix-st7789v timing resolves this issue. Fixes: 0fbbe96bfa08 ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support") Acked-by: Jessica Zhang Signed-off-

[PATCH v2 3/3] drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel

2024-05-29 Thread Gerald Loacker
This is a portrait mode display. Change the dimensions accordingly. Fixes: 0fbbe96bfa08 ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support") Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 4 ++-- 1 file changed, 2 insert

Re: [PATCH RESEND 1/3] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel

2024-05-29 Thread Gerald Loacker
Hi Jessica, Am 28.05.2024 um 19:36 schrieb Jessica Zhang: > > > On 5/28/2024 1:32 AM, Gerald Loacker wrote: >> Flickering was observed when using partial mode. Moving the vsync to the >> same position as used by the default sitronix-st7789v timing resolves >> this &g

[PATCH RESEND 3/3] drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel

2024-05-28 Thread Gerald Loacker
This is a portrait mode display. Change the dimensions accordingly. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel

[PATCH RESEND 1/3] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel

2024-05-28 Thread Gerald Loacker
Flickering was observed when using partial mode. Moving the vsync to the same position as used by the default sitronix-st7789v timing resolves this issue. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH RESEND 2/3] drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel

2024-05-28 Thread Gerald Loacker
Use the default timing parameters to get a refresh rate of about 60 Hz for a clock of 6 MHz. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c

[PATCH RESEND 0/3] drm/panel: sitronix-st7789v: fixes for jt240mhqs_hwt_ek_e3 panel

2024-05-28 Thread Gerald Loacker
At the jt240mhqs_hwt_ek_e3 panel, noticeable flickering occurs. This is addressed by patch 1, which adjusts the vertical timing. Patch 2 and 3 are two more minor fixes for timing and dimension. Signed-off-by: Gerald Loacker --- Gerald Loacker (3): drm/panel: sitronix-st7789v: fix timing

[PATCH 3/3] drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel

2024-04-09 Thread Gerald Loacker
This is a portrait mode display. Change the dimensions accordingly. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel

[PATCH 2/3] drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel

2024-04-09 Thread Gerald Loacker
Use the default timing parameters to get a refresh rate of about 60 Hz for a clock of 6 MHz. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c

[PATCH 1/3] drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel

2024-04-09 Thread Gerald Loacker
Flickering was observed when using partial mode. Moving the vsync to the same position as used by the default sitronix-st7789v timing resolves this issue. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH 0/3] drm/panel: sitronix-st7789v: fixes for jt240mhqs_hwt_ek_e3 panel

2024-04-09 Thread Gerald Loacker
At the jt240mhqs_hwt_ek_e3 panel, noticeable flickering occurs. This is addressed by patch 1, which adjusts the vertical timing. Patch 2 and 3 are two more minor fixes for timing and dimension. Signed-off-by: Gerald Loacker --- Gerald Loacker (3): drm/panel: sitronix-st7789v: fix timing

Re: [PATCH 0/7] Add timing override to sitronix,st7789v

2023-03-29 Thread Gerald Loacker
Hi, Besides dt-bindings, there has been no feedback on this series yet. How to proceed? For clarification: Besides adjusting panel parameters, we need the panel-timing to add a partial display mode later. Regards, Gerald Am 14.03.2023 um 12:56 schrieb Gerald Loacker: > This patch set a

[PATCH 5/7] drm/panel: sitronix-st7789v: parse device tree to override timing mode

2023-03-14 Thread Gerald Loacker
Parse device tree for panel-timing and allow to override the typical timing. This requires the timing to be defined as display_timing instead of drm_display_mode. Signed-off-by: Gerald Loacker --- .../gpu/drm/panel/panel-sitronix-st7789v.c| 174 +++--- 1 file changed, 144

[PATCH 4/7] drm/panel: sitronix-st7789v: add bus_flags to connector

2023-03-14 Thread Gerald Loacker
Propagate pixel clock sampling edge and data enable polarity. Both are hardcoded. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel

[PATCH 3/7] drm/panel: sitronix-st7789v: propagate h/v-sync polarity

2023-03-14 Thread Gerald Loacker
Adds h/v sync polarity, which is hardcoded in display prepare, to drm_display_mode. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel

[PATCH 6/7] dt-bindings: display: add rotation property to sitronix, st7789v

2023-03-14 Thread Gerald Loacker
From: Michael Riesch The sitronix-st7789v driver now considers the rotation property. Add the property to the documentation. Signed-off-by: Michael Riesch Signed-off-by: Gerald Loacker --- .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 2 ++ 1 file changed, 2 insertions

[PATCH 7/7] dt-bindings: display: add panel-timing property to sitronix, st7789v

2023-03-14 Thread Gerald Loacker
The sitronix-st7789v driver now considers the panel-timing property. Add the property to the documentation. Signed-off-by: Gerald Loacker --- .../display/panel/sitronix,st7789v.yaml | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 2/7] drm/panel: sitronix-st7789v: add panel orientation support

2023-03-14 Thread Gerald Loacker
From: Michael Riesch Determine the orientation of the display based on the device tree and propagate it. Signed-off-by: Michael Riesch Signed-off-by: Gerald Loacker --- .../gpu/drm/panel/panel-sitronix-st7789v.c| 28 +++ 1 file changed, 23 insertions(+), 5 deletions

[PATCH 1/7] drm/panel: sitronix-st7789v: propagate RGB666 format

2023-03-14 Thread Gerald Loacker
From: Michael Riesch The ST7789V display is operated in RGB666 (18-bit) mode. Propagate this format via the display info. Signed-off-by: Michael Riesch Signed-off-by: Gerald Loacker --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 5 + 1 file changed, 5 insertions(+) diff --git a

[PATCH 0/7] Add timing override to sitronix,st7789v

2023-03-14 Thread Gerald Loacker
and 7 add the new properties to the dt-bindings. Gerald Loacker (4): drm/panel: sitronix-st7789v: propagate h/v-sync polarity drm/panel: sitronix-st7789v: add bus_flags to connector drm/panel: sitronix-st7789v: parse device tree to override timing mode dt-bindings: display: add panel-timing

[PATCH] drm/rockchip: vop2: add polarity flags to RGB output

2023-03-02 Thread Gerald Loacker
Use h/v-sync and pixel clock polarity flags for RGB output. For all other outputs this is already implemented. Signed-off-by: Gerald Loacker --- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c b