Re: [PATCH v4 1/1] drm: renesas: rz-du: Implement MIPI DSI host transfers

2025-06-05 Thread Hugo Villeneuve
On 6/5/25 04:18, Biju Das wrote: Hi Hugo, Thanks for the patch. -Original Message- From: dri-devel On Behalf Of Hugo Villeneuve Sent: 04 June 2025 15:53 Subject: [PATCH v4 1/1] drm: renesas: rz-du: Implement MIPI DSI host transfers From: Hugo Villeneuve Add support for sending

[PATCH v4 0/1] drm: rcar-du: rzg2l_mipi_dsi: add MIPI DSI command support

2025-06-04 Thread Hugo Villeneuve
From: Hugo Villeneuve Hello, this patch series add support for sending MIPI DSI command packets to the Renesas RZ/G2L MIPI DSI driver. Tested on a custom board with a SolidRun RZ/G2L SOM, with two different LCD panels using the jd9365da and st7703 drivers. Tested short and long writes. Tested

[PATCH v4 1/1] drm: renesas: rz-du: Implement MIPI DSI host transfers

2025-06-04 Thread Hugo Villeneuve
From: Hugo Villeneuve Add support for sending MIPI DSI command packets from the host to a peripheral. This is required for panels that need configuration before they accept video data. Also for long reads to work properly, set DCS maximum return packet size to the value of the DMA buffer size

Re: [PATCH v3 2/2] drm: renesas: rz-du: Set DCS maximum return packet size

2025-06-04 Thread Hugo Villeneuve
de is doing because > you are writing > RZG2L_DCS_BUF_SIZE to a register. Agreed, I will remove the part that says "Set to the DMA buffer size". Hugo. > -Original Message- > From: Chris Brandt > Sent: Wednesday, June 4, 2025 7:54 AM > To: Hugo Villeneuve ; B

Re: [PATCH v3 2/2] drm: renesas: rz-du: Set DCS maximum return packet size

2025-06-04 Thread Hugo Villeneuve
, so it is not absolutely required by default and not really a bug. But sure I can merge it, anyway my comment will clearly indicate why it is needed. > This also would prevent the merge conflict with my patch that also modifies > rzg2l_mipi_dsi_atomic_enable(). Ok. Hugo. > Chris >

Re: [PATCH v3 0/2] drm: rcar-du: rzg2l_mipi_dsi: add MIPI DSI command support

2025-05-22 Thread Hugo Villeneuve
On Thu, 22 May 2025 18:40:29 + Biju Das wrote: > Hi Hugo, > > Thanks for the patch. > > > -Original Message----- > > From: Hugo Villeneuve > > Sent: 22 May 2025 15:39 > > Subject: [PATCH v3 0/2] drm: rcar-du: rzg2l_mipi_dsi: add MIPI DSI comm

Re: [PATCH v2] drm: renesas: rz-du: Add atomic_pre_enable

2025-05-22 Thread Hugo Villeneuve
DCS > commands. > > Signed-off-by: Chris Brandt Tested-by: Hugo Villeneuve Tested by setting "drm_panel.prepare_prev_first = true" with two different LCD panels. Hugo > --- > v1->v2 > - Fixed alignment reported by checkpatch > --- > drivers/gpu/drm/re

[PATCH v3 2/2] drm: renesas: rz-du: Set DCS maximum return packet size

2025-05-22 Thread Hugo Villeneuve
From: Hugo Villeneuve The default value of 1 will result in long read commands payload not being saved to memory. Fix by setting this value to the DMA buffer size. Cc: Biju Das Cc: Chris Brandt Signed-off-by: Hugo Villeneuve --- drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c | 10

[PATCH v3 1/2] drm: renesas: rz-du: Implement MIPI DSI host transfers

2025-05-22 Thread Hugo Villeneuve
From: Hugo Villeneuve Add support for sending MIPI DSI command packets from the host to a peripheral. This is required for panels that need configuration before they accept video data. Based on Renesas Linux kernel v5.10 repos [1]. Link: https://github.com/renesas-rz/rz_linux-cip.git Cc: Biju

[PATCH v3 0/2] drm: rcar-du: rzg2l_mipi_dsi: add MIPI DSI command support

2025-05-22 Thread Hugo Villeneuve
From: Hugo Villeneuve Hello, this patch series add support for sending MIPI DSI command packets to the Renesas RZ/G2L MIPI DSI driver. Tested on a custom board with a SolidRun RZ/G2L SOM, with two different LCD panels using the jd9365da and st7703 drivers. Tested short and long writes. Tested

Re: [PATCH v2 0/2] drm: rcar-du: rzg2l_mipi_dsi: add MIPI DSI command support

2025-05-22 Thread Hugo Villeneuve
On Thu, 22 May 2025 10:03:20 -0400 Hugo Villeneuve wrote: > From: Hugo Villeneuve > > Hello, > this patch series add support for sending MIPI DSI command packets to the > Renesas RZ/G2L MIPI DSI driver. > > Tested on a custom board with a SolidRun RZ/G2L SOM, with two d

[PATCH v2 0/2] drm: rcar-du: rzg2l_mipi_dsi: add MIPI DSI command support

2025-05-22 Thread Hugo Villeneuve
From: Hugo Villeneuve Hello, this patch series add support for sending MIPI DSI command packets to the Renesas RZ/G2L MIPI DSI driver. Tested on a custom board with a SolidRun RZ/G2L SOM, with two different LCD panels using the jd9365da and st7703 drivers. Tested short and long writes. Tested

Re: [PATCH 1/2] drm: rcar-du: rzg2l_mipi_dsi: Implement host transfers

2025-05-21 Thread Hugo Villeneuve
and only sent the cover letter, forcing me to manually send the two remaining patches thinking it would be ok :) > > > -Original Message- > > From: Hugo Villeneuve > > Sent: 20 May 2025 18:11 > > Subject: [PATCH 1/2] drm: rcar-du: rzg2l_mipi_dsi: Implement host

[PATCH 2/2] drm: rcar-du: rzg2l_mipi_dsi: Set DCS maximum return packet size

2025-05-20 Thread Hugo Villeneuve
From: Hugo Villeneuve The default value of 1 will result in long read commands payload not being saved to memory. Fix by setting this value to the DMA buffer size. Cc: Biju Das Cc: Chris Brandt Signed-off-by: Hugo Villeneuve --- drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c | 10

[PATCH 1/2] drm: rcar-du: rzg2l_mipi_dsi: Implement host transfers

2025-05-20 Thread Hugo Villeneuve
From: Hugo Villeneuve Add support for sending MIPI DSI command packets from the host to a peripheral. This is required for panels that need configuration before they accept video data. Based on Renesas Linux kernel v5.10 repos [1]. Link: https://github.com/renesas-rz/rz_linux-cip.git Cc: Biju

[PATCH 0/2] drm: rcar-du: rzg2l_mipi_dsi: add MIPI DSI command support

2025-05-20 Thread Hugo Villeneuve
From: Hugo Villeneuve Hello, this patch series add support for sending MIPI DSI command packets to the Renesas RZ/G2L MIPI DSI driver. Tested on a custom board with a SolidRun RZ/G2L SOM, with two different LCD panels using the jd9365da and st7703 drivers. Tested short and long writes. Tested

Re: [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller

2025-05-20 Thread Hugo Villeneuve
On Tue, 20 May 2025 17:00:11 +0100 Conor Dooley wrote: > On Tue, May 20, 2025 at 04:58:12PM +0100, Conor Dooley wrote: > > On Tue, May 20, 2025 at 11:11:12AM -0400, Hugo Villeneuve wrote: > > > From: Hugo Villeneuve > > > > > > Allow to inherit valid prop

[PATCH v2] dt-bindings: display: bridge: renesas, dsi: allow properties from dsi-controller

2025-05-20 Thread Hugo Villeneuve
From: Hugo Villeneuve Allow to inherit valid properties from the dsi-controller. This fixes the following warning when adding a panel property: rzg2lc.dtb: dsi@1085: '#address-cells', '#size-cells', 'panel@0' do not match any of the regexes: '

Re: [PATCH] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller

2025-05-14 Thread Hugo Villeneuve
On Wed, 14 May 2025 06:00:28 + Biju Das wrote: > Hi Hugo Villeneuve, > > Thanks for your patch. > > > -Original Message----- > > From: Hugo Villeneuve > > Sent: 13 May 2025 17:23 > > Subject: [PATCH] dt-bindings: display: bridge: renesas,dsi: allow

[PATCH] dt-bindings: display: bridge: renesas, dsi: allow properties from dsi-controller

2025-05-13 Thread Hugo Villeneuve
From: Hugo Villeneuve Allow to inherit valid properties from the dsi-controller. This fixes the following warning when adding a panel property: rzg2lc.dtb: dsi@1085: '#address-cells', '#size-cells', 'panel@0' do not match any of the regexes: '

[PATCH] drm: panel: jd9365da: fix reset signal polarity in unprepare

2025-04-17 Thread Hugo Villeneuve
From: Hugo Villeneuve commit a8972d5a49b4 ("drm: panel: jd9365da-h3: fix reset signal polarity") fixed reset signal polarity in jadard_dsi_probe() and jadard_prepare(). It was not done in jadard_unprepare() because of an incorrect assumption about reset line handling in power off m

Re: [PATCH] drm: panel: jd9365da-h3: fix reset signal polarity

2025-02-04 Thread Hugo Villeneuve
On Mon, 30 Sep 2024 18:24:44 +0200 neil.armstr...@linaro.org wrote: > On 30/09/2024 17:05, Hugo Villeneuve wrote: > > On Mon, 30 Sep 2024 16:38:14 +0200 > > Neil Armstrong wrote: > > > >> Hi, > >> > >> On 27/09/2024 15:53, Hugo Villeneuve wr

Re: [PATCH] drm: renesas: rz-du: Increase supported resolutions

2024-11-20 Thread Hugo Villeneuve
Brandt Tested on a custom RZ/G2LC board with two different display panels of 600x1600 and 440x1920 resolutions in portrait mode. Tested-by: Hugo Villeneuve > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >

[PATCH] drm: panel: jd9365da-h3: Remove unused num_init_cmds structure member

2024-09-30 Thread Hugo Villeneuve
From: Hugo Villeneuve Now that the driver has been converted to use wrapped MIPI DCS functions, the num_init_cmds structure member is no longer needed, so remove it. Fixes: 35583e129995 ("drm/panel: panel-jadard-jd9365da-h3: use wrapped MIPI DCS functions") Cc: Signed-off-by: Hugo

Re: [PATCH] drm: panel: jd9365da-h3: fix reset signal polarity

2024-09-30 Thread Hugo Villeneuve
On Mon, 30 Sep 2024 16:38:14 +0200 Neil Armstrong wrote: > Hi, > > On 27/09/2024 15:53, Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > > > In jadard_prepare() a reset pulse is generated with the following > > statements (delays ommited for clarity): >

[PATCH] drm: panel: jd9365da-h3: fix reset signal polarity

2024-09-27 Thread Hugo Villeneuve
From: Hugo Villeneuve In jadard_prepare() a reset pulse is generated with the following statements (delays ommited for clarity): gpiod_set_value(jadard->reset, 1); --> Deassert reset gpiod_set_value(jadard->reset, 0); --> Assert reset for 10ms gpiod_set_value(jada