[PATCH] dt-bindings: gpu: mali-bifrost: Add compatible for RZ/V2N SoC

2025-05-02 Thread Prabhakar
From: Lad Prabhakar Add a compatible string for the Renesas RZ/V2N SoC variants that include a Mali-G31 GPU. These variants share the same restrictions on interrupts, clocks, and power domains as the RZ/G2L SoC, so extend the existing schema validation accordingly. Signed-off-by: Lad Prabhakar

Re: [PATCH v4 01/15] clk: renesas: rzv2h-cpg: Add support for DSI clocks

2025-05-01 Thread Lad, Prabhakar
Hi Fabrizio, On Thu, May 1, 2025 at 11:38 AM Fabrizio Castro wrote: > > Hi Alok, > > Thanks for your email. > > > From: ALOK TIWARI > > Sent: 01 May 2025 10:51 > > Subject: Re: [PATCH v4 01/15] clk: renesas: rzv2h-cpg: Add support for DSI > > clocks >

[PATCH v4 07/15] drm: renesas: rz-du: mipi_dsi: Simplify HSFREQ calculation

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Simplify the high-speed clock frequency (HSFREQ) calculation by removing the redundant multiplication and division by 8. The updated equation: hsfreq = (mode->clock * bpp) / (dsi->lanes); produces the same result while improving readability and clarity. Additi

[PATCH v4 05/15] drm: renesas: rz-du: Add support for RZ/V2H(P) SoC

2025-04-30 Thread Prabhakar
From: Lad Prabhakar The LCD controller (LCDC) on the RZ/V2H(P) SoC is composed of Frame Compression Processor (FCPVD), Video Signal Processor (VSPD), and Display Unit (DU). There is one LCDC unit available on the RZ/V2H(P) SoC which is connected to the DSI. Signed-off-by: Lad Prabhakar --- v3

[PATCH v4 09/15] drm: renesas: rz-du: mipi_dsi: Add OF data support

2025-04-30 Thread Prabhakar
From: Lad Prabhakar In preparation for adding support for the Renesas RZ/V2H(P) SoC, this patch introduces a mechanism to pass SoC-specific information via OF data in the DSI driver. This enables the driver to adapt dynamically to various SoC-specific requirements without hardcoding

[PATCH v4 14/15] drm: renesas: rz-du: mipi_dsi: Add support for LPCLK handling

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Introduce the `RZ_MIPI_DSI_FEATURE_LPCLK` feature flag in `rzg2l_mipi_dsi_hw_info` to indicate the need for LPCLK configuration. On the RZ/V2H(P) SoC, the LPCLK clock rate influences the required DPHY register configuration, whereas on the RZ/G2L SoC, this clock is not

[PATCH v4 10/15] drm: renesas: rz-du: mipi_dsi: Use mHz for D-PHY frequency calculations

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Pass the HSFREQ in milli-Hz to the `dphy_init()` callback to improve precision, especially for the RZ/V2H(P) SoC, where PLL dividers require high accuracy. These changes prepare the driver for upcoming RZ/V2H(P) SoC support. Co-developed-by: Fabrizio Castro Signed-off-by

[PATCH v4 13/15] drm: renesas: rz-du: mipi_dsi: Add function pointers for configuring VCLK and mode validation

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Introduce `dphy_conf_clks` and `dphy_mode_clk_check` callbacks in `rzg2l_mipi_dsi_hw_info` to configure the VCLK and validate supported display modes. On the RZ/V2H(P) SoC, the DSI PLL dividers need to be as accurate as possible. To ensure compatibility with both RZ/G2L and

[PATCH v4 03/15] dt-bindings: display: renesas, rzg2l-du: Add support for RZ/V2H(P) SoC

2025-04-30 Thread Prabhakar
From: Lad Prabhakar The DU block on the RZ/V2H(P) SoC is identical to the one found on the RZ/G2L SoC. However, it only supports the DSI interface, whereas the RZ/G2L supports both DSI and DPI interfaces. Due to this difference, a SoC-specific compatible string 'renesas,r9a09g057-du'

[PATCH v4 11/15] drm: renesas: rz-du: mipi_dsi: Add feature flag for 16BPP support

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Introduce the `RZ_MIPI_DSI_FEATURE_16BPP` flag in `rzg2l_mipi_dsi_hw_info` to indicate support for 16BPP pixel formats. The RZ/V2H(P) SoC supports 16BPP, whereas this feature is missing on the RZ/G2L SoC. Update the `mipi_dsi_host_attach()` function to check this flag before

[PATCH v4 12/15] drm: renesas: rz-du: mipi_dsi: Add dphy_late_init() callback for RZ/V2H(P)

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Introduce the `dphy_late_init` callback in `rzg2l_mipi_dsi_hw_info` to allow additional D-PHY register configurations after enabling data and clock lanes. This is required for the RZ/V2H(P) SoC but not for the RZ/G2L SoC. Modify `rzg2l_mipi_dsi_startup()` to invoke

[PATCH v4 15/15] drm: renesas: rz-du: mipi_dsi: Add support for RZ/V2H(P) SoC

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Add DSI support for Renesas RZ/V2H(P) SoC. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad Prabhakar --- v3->v4 - In rzv2h_dphy_find_ulpsexit() made the array static const. v2->v3: - Simplifed V2H DSI timings array to save

[PATCH v4 01/15] clk: renesas: rzv2h-cpg: Add support for DSI clocks

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Add support for PLLDSI and PLLDSI divider clocks. Introduce the `renesas-rzv2h-dsi.h` header to centralize and share PLLDSI-related data structures, limits, and algorithms between the RZ/V2H CPG and DSI drivers. The DSI PLL is functionally similar to the CPG's PLLDSI

[PATCH v4 04/15] dt-bindings: display: bridge: renesas, dsi: Add support for RZ/V2H(P) SoC

2025-04-30 Thread Prabhakar
From: Lad Prabhakar The MIPI DSI interface on the RZ/V2H(P) SoC is nearly identical to that of the RZ/G2L SoC. While the LINK registers are the same for both SoCs, the D-PHY registers differ. Additionally, the number of resets for DSI on RZ/V2H(P) is two compared to three on the RZ/G2L. To

[PATCH v4 08/15] drm: renesas: rz-du: mipi_dsi: Use VCLK for HSFREQ calculation

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Update the RZ/G2L MIPI DSI driver to calculate HSFREQ using the actual VCLK rate instead of the mode clock. The relationship between HSCLK and VCLK is: vclk * bpp <= hsclk * 8 * lanes Retrieve the VCLK rate using `clk_get_rate(dsi->vclk)`, ensuring that

[PATCH v4 00/15] Add support for DU and DSI on the Renesas RZ/V2H(P) SoC

2025-04-30 Thread Prabhakar
From: Lad Prabhakar From: Lad Prabhakar Hi All, This patch series adds support for the Display Unit (DU) and MIPI DSI interface on the Renesas RZ/V2H(P) SoC. The initial patches add PLLDSI clocks and reset entries for the DSI and LCDC and the later patches add support for the DU and DSI

[PATCH v4 06/15] drm: renesas: rz-du: mipi_dsi: Add min check for VCLK range

2025-04-30 Thread Prabhakar
From: Lad Prabhakar The VCLK range for Renesas RZ/G2L SoC is 148.5 MHz to 5.803 MHz. Add a minimum clock check in the mode_valid callback to ensure that the clock value does not fall below the valid range. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad

[PATCH v4 02/15] clk: renesas: r9a09g057: Add clock and reset entries for DSI and LCDC

2025-04-30 Thread Prabhakar
From: Lad Prabhakar Add clock and reset entries for the DSI and LCDC peripherals. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad Prabhakar --- v3->v4: - No changes v2->v3: - Reverted CSDIV0_DIVCTL2() to use DDIV_PACK() - Renamed plleth_lpcl

Re: [PATCH v3 10/15] drm: renesas: rz-du: mipi_dsi: Use mHz for D-PHY frequency calculations

2025-04-23 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Tue, Apr 22, 2025 at 8:41 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Fri, 18 Apr 2025 at 20:47, Prabhakar wrote: > > From: Lad Prabhakar > > > > Pass the HSFREQ in milli-Hz to the `dphy_init()` callback to improve

Re: [PATCH v3 15/15] drm: renesas: rz-du: mipi_dsi: Add support for RZ/V2H(P) SoC

2025-04-22 Thread Lad, Prabhakar
Hi Biju, Thank you for the review. On Sat, Apr 19, 2025 at 8:28 AM Biju Das wrote: > > Hi Prabhakar, > > Thanks for the patch. > > > -Original Message- > > From: Prabhakar > > Sent: 18 April 2025 19:47 > > Subject: [PATCH v3 15/15] drm: renesas: r

[PATCH v3 12/15] drm: renesas: rz-du: mipi_dsi: Add dphy_late_init() callback for RZ/V2H(P)

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Introduce the `dphy_late_init` callback in `rzg2l_mipi_dsi_hw_info` to allow additional D-PHY register configurations after enabling data and clock lanes. This is required for the RZ/V2H(P) SoC but not for the RZ/G2L SoC. Modify `rzg2l_mipi_dsi_startup()` to invoke

[PATCH v3 09/15] drm: renesas: rz-du: mipi_dsi: Add OF data support

2025-04-18 Thread Prabhakar
From: Lad Prabhakar In preparation for adding support for the Renesas RZ/V2H(P) SoC, this patch introduces a mechanism to pass SoC-specific information via OF data in the DSI driver. This enables the driver to adapt dynamically to various SoC-specific requirements without hardcoding

[PATCH v3 15/15] drm: renesas: rz-du: mipi_dsi: Add support for RZ/V2H(P) SoC

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Add DSI support for Renesas RZ/V2H(P) SoC. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad Prabhakar --- v2->v3: - Simplifed V2H DSI timings array to save space - Switched to use fsleep() instead of udelay() v1->v2: - Dropped

[PATCH v3 11/15] drm: renesas: rz-du: mipi_dsi: Add feature flag for 16BPP support

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Introduce the `RZ_MIPI_DSI_FEATURE_16BPP` flag in `rzg2l_mipi_dsi_hw_info` to indicate support for 16BPP pixel formats. The RZ/V2H(P) SoC supports 16BPP, whereas this feature is missing on the RZ/G2L SoC. Update the `mipi_dsi_host_attach()` function to check this flag before

[PATCH v3 08/15] drm: renesas: rz-du: mipi_dsi: Use VCLK for HSFREQ calculation

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Update the RZ/G2L MIPI DSI driver to calculate HSFREQ using the actual VCLK rate instead of the mode clock. The relationship between HSCLK and VCLK is: vclk * bpp <= hsclk * 8 * lanes Retrieve the VCLK rate using `clk_get_rate(dsi->vclk)`, ensuring that

[PATCH v3 14/15] drm: renesas: rz-du: mipi_dsi: Add support for LPCLK handling

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Introduce the `RZ_MIPI_DSI_FEATURE_LPCLK` feature flag in `rzg2l_mipi_dsi_hw_info` to indicate the need for LPCLK configuration. On the RZ/V2H(P) SoC, the LPCLK clock rate influences the required DPHY register configuration, whereas on the RZ/G2L SoC, this clock is not

[PATCH v3 10/15] drm: renesas: rz-du: mipi_dsi: Use mHz for D-PHY frequency calculations

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Pass the HSFREQ in milli-Hz to the `dphy_init()` callback to improve precision, especially for the RZ/V2H(P) SoC, where PLL dividers require high accuracy. These changes prepare the driver for upcoming RZ/V2H(P) SoC support. Co-developed-by: Fabrizio Castro Signed-off-by

[PATCH v3 13/15] drm: renesas: rz-du: mipi_dsi: Add function pointers for configuring VCLK and mode validation

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Introduce `dphy_conf_clks` and `dphy_mode_clk_check` callbacks in `rzg2l_mipi_dsi_hw_info` to configure the VCLK and validate supported display modes. On the RZ/V2H(P) SoC, the DSI PLL dividers need to be as accurate as possible. To ensure compatibility with both RZ/G2L and

[PATCH v3 04/15] dt-bindings: display: bridge: renesas, dsi: Add support for RZ/V2H(P) SoC

2025-04-18 Thread Prabhakar
From: Lad Prabhakar The MIPI DSI interface on the RZ/V2H(P) SoC is nearly identical to that of the RZ/G2L SoC. While the LINK registers are the same for both SoCs, the D-PHY registers differ. Additionally, the number of resets for DSI on RZ/V2H(P) is two compared to three on the RZ/G2L. To

[PATCH v3 03/15] dt-bindings: display: renesas, rzg2l-du: Add support for RZ/V2H(P) SoC

2025-04-18 Thread Prabhakar
From: Lad Prabhakar The DU block on the RZ/V2H(P) SoC is identical to the one found on the RZ/G2L SoC. However, it only supports the DSI interface, whereas the RZ/G2L supports both DSI and DPI interfaces. Due to this difference, a SoC-specific compatible string 'renesas,r9a09g057-du'

[PATCH v3 07/15] drm: renesas: rz-du: mipi_dsi: Simplify HSFREQ calculation

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Simplify the high-speed clock frequency (HSFREQ) calculation by removing the redundant multiplication and division by 8. The updated equation: hsfreq = (mode->clock * bpp) / (dsi->lanes); produces the same result while improving readability and clarity. Additi

[PATCH v3 05/15] drm: renesas: rz-du: Add support for RZ/V2H(P) SoC

2025-04-18 Thread Prabhakar
From: Lad Prabhakar The LCD controller (LCDC) on the RZ/V2H(P) SoC is composed of Frame Compression Processor (FCPVD), Video Signal Processor (VSPD), and Display Unit (DU). There is one LCDC unit available on the RZ/V2H(P) SoC which is connected to the DSI. Signed-off-by: Lad Prabhakar --- v2

[PATCH v3 06/15] drm: renesas: rz-du: mipi_dsi: Add min check for VCLK range

2025-04-18 Thread Prabhakar
From: Lad Prabhakar The VCLK range for Renesas RZ/G2L SoC is 148.5 MHz to 5.803 MHz. Add a minimum clock check in the mode_valid callback to ensure that the clock value does not fall below the valid range. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad

[PATCH v3 00/15] Add support for DU and DSI on the Renesas RZ/V2H(P) SoC

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Hi All, This patch series adds support for the Display Unit (DU) and MIPI DSI interface on the Renesas RZ/V2H(P) SoC. The initial patches add PLLDSI clocks and reset entries for the DSI and LCDC and the later patches add support for the DU and DSI drivers. The DU block is

[PATCH v3 01/15] clk: renesas: rzv2h-cpg: Add support for DSI clocks

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Add support for PLLDSI and PLLDSI divider clocks. Introduce the `renesas-rzv2h-dsi.h` header to centralize and share PLLDSI-related data structures, limits, and algorithms between the RZ/V2H CPG and DSI drivers. The DSI PLL is functionally similar to the CPG's PLLDSI

[PATCH v3 02/15] clk: renesas: r9a09g057: Add clock and reset entries for DSI and LCDC

2025-04-18 Thread Prabhakar
From: Lad Prabhakar Add clock and reset entries for the DSI and LCDC peripherals. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad Prabhakar --- v2->v3: - Reverted CSDIV0_DIVCTL2() to use DDIV_PACK() - Renamed plleth_lpclk_div4 -> cdiv4_plleth

Re: [PATCH v2 01/15] clk: renesas: rzv2h-cpg: Add support for DSI clocks

2025-04-18 Thread Lad, Prabhakar
Hi Geert, On Wed, Apr 16, 2025 at 10:27 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, Fabrizio, > > Thanks for your patch! > > On Tue, 8 Apr 2025 at 22:09, Prabhakar wrote: > > From: Lad Prabhakar > > > > Add support for PLLDSI and PLLDSI divider cloc

Re: [PATCH v2 15/15] drm: renesas: rz-du: mipi_dsi: Add support for RZ/V2H(P) SoC

2025-04-18 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Wed, Apr 16, 2025 at 10:35 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, Fabrizio, > > On Tue, 8 Apr 2025 at 22:09, Prabhakar wrote: > > From: Lad Prabhakar > > > > Add DSI support for Renesas RZ/V2H(P) SoC. > >

Re: [PATCH v2 02/15] clk: renesas: r9a09g057: Add clock and reset entries for DSI and LCDC

2025-04-18 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Tue, Apr 15, 2025 at 4:51 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Tue, 8 Apr 2025 at 22:09, Prabhakar wrote: > > From: Lad Prabhakar > > > > Add clock and reset entries for the DSI and LCDC peripherals. >

Re: [PATCH v2 01/15] clk: renesas: rzv2h-cpg: Add support for DSI clocks

2025-04-18 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Wed, Apr 16, 2025 at 10:27 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, Fabrizio, > > Thanks for your patch! > > On Tue, 8 Apr 2025 at 22:09, Prabhakar wrote: > > From: Lad Prabhakar > > > > Add support for PLLDSI an

Re: [PATCH v2 01/15] clk: renesas: rzv2h-cpg: Add support for DSI clocks

2025-04-18 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Tue, Apr 15, 2025 at 4:57 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Tue, 8 Apr 2025 at 22:09, Prabhakar wrote: > > From: Lad Prabhakar > > > > Add support for PLLDSI and PLLDSI divider clocks. > > > >

Re: [PATCH v2 15/15] drm: renesas: rz-du: mipi_dsi: Add support for RZ/V2H(P) SoC

2025-04-18 Thread Lad, Prabhakar
Hi Biju, Thank you for the review. On Sat, Apr 12, 2025 at 9:01 AM Biju Das wrote: > > Hi Prabhakar, > > Thanks for the patch. > > > -Original Message- > > From: Prabhakar > > Sent: 08 April 2025 21:09 > > Subject: [PATCH v2 15/15] drm: renesas: r

[PATCH v2 13/15] drm: renesas: rz-du: mipi_dsi: Add function pointers for configuring VCLK and mode validation

2025-04-10 Thread Prabhakar
From: Lad Prabhakar Introduce `dphy_conf_clks` and `dphy_mode_clk_check` callbacks in `rzg2l_mipi_dsi_hw_info` to configure the VCLK and validate supported display modes. On the RZ/V2H(P) SoC, the DSI PLL dividers need to be as accurate as possible. To ensure compatibility with both RZ/G2L and

[PATCH v2 08/15] drm: renesas: rz-du: mipi_dsi: Use VCLK for HSFREQ calculation

2025-04-10 Thread Prabhakar
From: Lad Prabhakar Update the RZ/G2L MIPI DSI driver to calculate HSFREQ using the actual VCLK rate instead of the mode clock. The relationship between HSCLK and VCLK is: vclk * bpp <= hsclk * 8 * lanes Retrieve the VCLK rate using `clk_get_rate(dsi->vclk)`, ensuring that

[PATCH v2 05/15] drm: renesas: rz-du: Add support for RZ/V2H(P) SoC

2025-04-10 Thread Prabhakar
From: Lad Prabhakar The LCD controller (LCDC) on the RZ/V2H(P) SoC is composed of Frame Compression Processor (FCPVD), Video Signal Processor (VSPD), and Display Unit (DU). There is one LCDC unit available on the RZ/V2H(P) SoC which is connected to the DSI. Signed-off-by: Lad Prabhakar --- v1

Re: [PATCH v2 10/15] drm: renesas: rz-du: mipi_dsi: Use mHz for D-PHY frequency calculations

2025-04-09 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Wed, Apr 9, 2025 at 9:16 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Tue, 8 Apr 2025 at 22:09, Prabhakar wrote: > > From: Lad Prabhakar > > > > Pass the HSFREQ in milli-Hz to the `dphy_init()` callback to improve

[PATCH v2 15/15] drm: renesas: rz-du: mipi_dsi: Add support for RZ/V2H(P) SoC

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Add DSI support for Renesas RZ/V2H(P) SoC. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad Prabhakar --- v1->v2: - Dropped unused macros - Added missing LPCLK flag to rzvv2h info --- .../gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c|

[PATCH v2 14/15] drm: renesas: rz-du: mipi_dsi: Add support for LPCLK handling

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Introduce the `RZ_MIPI_DSI_FEATURE_LPCLK` feature flag in `rzg2l_mipi_dsi_hw_info` to indicate the need for LPCLK configuration. On the RZ/V2H(P) SoC, the LPCLK clock rate influences the required DPHY register configuration, whereas on the RZ/G2L SoC, this clock is not

[PATCH v2 02/15] clk: renesas: r9a09g057: Add clock and reset entries for DSI and LCDC

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Add clock and reset entries for the DSI and LCDC peripherals. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad Prabhakar --- v1->v2: - No changes --- drivers/clk/renesas/r9a09g057-cpg.c | 63 + drivers/

[PATCH v2 10/15] drm: renesas: rz-du: mipi_dsi: Use mHz for D-PHY frequency calculations

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Pass the HSFREQ in milli-Hz to the `dphy_init()` callback to improve precision, especially for the RZ/V2H(P) SoC, where PLL dividers require high accuracy. These changes prepare the driver for upcoming RZ/V2H(P) SoC support. Co-developed-by: Fabrizio Castro Signed-off-by

[PATCH v2 00/15] Add support for DU and DSI on the Renesas RZ/V2H(P) SoC

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Hi All, This patch series adds support for the Display Unit (DU) and MIPI DSI interface on the Renesas RZ/V2H(P) SoC. The initial patches add PLLDSI clocks and reset entries for the DSI and LCDC and the later patches add support for the DU and DSI drivers. The DU block is

[PATCH v2 11/15] drm: renesas: rz-du: mipi_dsi: Add feature flag for 16BPP support

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Introduce the `RZ_MIPI_DSI_FEATURE_16BPP` flag in `rzg2l_mipi_dsi_hw_info` to indicate support for 16BPP pixel formats. The RZ/V2H(P) SoC supports 16BPP, whereas this feature is missing on the RZ/G2L SoC. Update the `mipi_dsi_host_attach()` function to check this flag before

[PATCH v2 12/15] drm: renesas: rz-du: mipi_dsi: Add dphy_late_init() callback for RZ/V2H(P)

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Introduce the `dphy_late_init` callback in `rzg2l_mipi_dsi_hw_info` to allow additional D-PHY register configurations after enabling data and clock lanes. This is required for the RZ/V2H(P) SoC but not for the RZ/G2L SoC. Modify `rzg2l_mipi_dsi_startup()` to invoke

[PATCH v2 09/15] drm: renesas: rz-du: mipi_dsi: Add OF data support

2025-04-08 Thread Prabhakar
From: Lad Prabhakar In preparation for adding support for the Renesas RZ/V2H(P) SoC, this patch introduces a mechanism to pass SoC-specific information via OF data in the DSI driver. This enables the driver to adapt dynamically to various SoC-specific requirements without hardcoding

[PATCH v2 07/15] drm: renesas: rz-du: mipi_dsi: Simplify HSFREQ calculation

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Simplify the high-speed clock frequency (HSFREQ) calculation by removing the redundant multiplication and division by 8. The updated equation: hsfreq = (mode->clock * bpp) / (dsi->lanes); produces the same result while improving readability and clarity. Additi

[PATCH v2 06/15] drm: renesas: rz-du: mipi_dsi: Add min check for VCLK range

2025-04-08 Thread Prabhakar
From: Lad Prabhakar The VCLK range for Renesas RZ/G2L SoC is 148.5 MHz to 5.803 MHz. Add a minimum clock check in the mode_valid callback to ensure that the clock value does not fall below the valid range. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad

[PATCH v2 03/15] dt-bindings: display: renesas, rzg2l-du: Add support for RZ/V2H(P) SoC

2025-04-08 Thread Prabhakar
From: Lad Prabhakar The DU block on the RZ/V2H(P) SoC is identical to the one found on the RZ/G2L SoC. However, it only supports the DSI interface, whereas the RZ/G2L supports both DSI and DPI interfaces. Due to this difference, a SoC-specific compatible string 'renesas,r9a09g057-du'

[PATCH v2 04/15] dt-bindings: display: bridge: renesas, dsi: Add support for RZ/V2H(P) SoC

2025-04-08 Thread Prabhakar
From: Lad Prabhakar The MIPI DSI interface on the RZ/V2H(P) SoC is nearly identical to that of the RZ/G2L SoC. While the LINK registers are the same for both SoCs, the D-PHY registers differ. Additionally, the number of resets for DSI on RZ/V2H(P) is two compared to three on the RZ/G2L. To

[PATCH v2 01/15] clk: renesas: rzv2h-cpg: Add support for DSI clocks

2025-04-08 Thread Prabhakar
From: Lad Prabhakar Add support for PLLDSI and PLLDSI divider clocks. The `renesas-rzv2h-dsi.h` header file is added to share the PLL divider algorithm between the CPG and DSI drivers. Co-developed-by: Fabrizio Castro Signed-off-by: Fabrizio Castro Signed-off-by: Lad Prabhakar --- v1->

Re: [PATCH] drm: renesas: Add zpos, alpha and blend properties to RZ/G2L DU

2025-04-07 Thread Lad, Prabhakar
@42:512x300+200+200@XR15 > > modetest -M rzg2l-du -w {32,37}:alpha:{0,65535} > modetest -M rzg2l-du -w {32,37}:zpos:{0,1} > > Signed-off-by: Biju Das > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_vsp.c | 9 + > 1 file changed, 9 insertions(+) > Tested-by: L

Re: [PATCH] drm: renesas: rz-du: Support dmabuf import

2025-03-28 Thread Lad, Prabhakar
using > the DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE() helper macro. > > Signed-off-by: Laurent Pinchart > --- > Kieran, would you be able to test this ? > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Lad Prabhakar Teste

Re: [PATCH] drm: renesas: Extend RZ/G2L supported KMS formats

2025-03-28 Thread Lad, Prabhakar
rzg2l_du_vsp_formats, maintaining the same ordering in both tables. > > Signed-off-by: Kieran Bingham > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 141 ++- > 1 file changed, 136 insertions(+), 5 deletions(-) > Tested-by: Lad Prabhakar Cheers, Prabhakar &g

[PATCH 2/3] arm64: dts: renesas: r9a09g057: Add Mali-G31 GPU node

2025-02-18 Thread Prabhakar
From: Lad Prabhakar Add Mali-G31 GPU node to SoC DTSI. Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 51 ++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057

[PATCH 3/3] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Enable Mali-G31

2025-02-18 Thread Prabhakar
From: Lad Prabhakar Enable Mali-G31 (GPU) node on EVK board. Signed-off-by: Lad Prabhakar --- .../boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts b/arch/arm64/boot/dts

[PATCH 1/3] dt-bindings: gpu: mali-bifrost: Add compatible for RZ/V2H(P) SoC

2025-02-18 Thread Prabhakar
From: Lad Prabhakar Add a compatible string for the Renesas RZ/V2H(P) SoC variants that include a Mali-G31 GPU. These variants share the same restrictions on interrupts, clocks, and power domains as the RZ/G2L SoC, so extend the existing schema validation accordingly. Signed-off-by: Lad

[PATCH 0/3] Add support for Mali-G31 GPU on RZ/V2H(P) SoC

2025-02-18 Thread Prabhakar
From: Lad Prabhakar Hi All, This patch series adds support for the Mali-G31 GPU on the RZ/V2H(P) SoC. The changes include updating the device tree bindings, adding the GPU node to the SoC device tree, and enabling the GPU on the RZ/V2H evaluation kit. Lad Prabhakar (3): dt-bindings: gpu

Re: [PATCH v2 2/2] drm: renesas: rz-du: rzg2l_du_encoder: Fix max dot clock for DPI

2024-12-10 Thread Lad, Prabhakar
t; .../gpu/drm/renesas/rz-du/rzg2l_du_encoder.c | 18 ++ > 1 file changed, 18 insertions(+) > Reviewed-by: Lad Prabhakar Cheers, Prabhakar > diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c > b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c >

Re: [PATCH v2 1/2] drm: renesas: rz-du: Drop DU_MCR0_DPI_OE macro

2024-12-10 Thread Lad, Prabhakar
> v1->v2: > * Added Fixes tag. > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.c | 8 +--- > 1 file changed, 1 insertion(+), 7 deletions(-) > Reviewed-by: Lad Prabhakar Cheers, Prabhakar > diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.c > b/drivers/

Re: [PATCH] drm: renesas: Move RZ/G2L MIPI DSI driver to rz-du

2024-08-23 Thread Lad, Prabhakar
Hi Laurent, On Wed, Jun 26, 2024 at 6:51 AM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Tue, Jun 25, 2024 at 01:32:44PM +0100, Prabhakar wrote: > > From: Lad Prabhakar > > > > All the RZ/G2L DU specific components are locat

Re: [PATCH v5 5/7] media: platform: ti: use for_each_endpoint_of_node()

2024-07-01 Thread Lad, Prabhakar
tform/ti/am437x/am437x-vpfe.c | 12 +--- > drivers/media/platform/ti/davinci/vpif_capture.c | 14 +++--- > 2 files changed, 12 insertions(+), 14 deletions(-) > Reviewed-by: Prabhakar Cheers, Prabhakar

[PATCH] drm: renesas: Move RZ/G2L MIPI DSI driver to rz-du

2024-06-25 Thread Prabhakar
From: Lad Prabhakar All the RZ/G2L DU specific components are located under the rz-du folder, so it makes sense to move the RZ/G2L MIPI DSI driver there instead of keeping it in the rcar-du folder. This change improves the organization and modularity of the driver configuration by grouping

Re: [PATCH v3 5/6] ARM: dts: renesas: Use new media bus type macros

2022-11-18 Thread Lad, Prabhakar
6 deletions(-) > Reviewed-by: Lad Prabhakar Cheers, Prabhakar

[PATCH v2] dt-bindings: display: bridge: renesas, dw-hdmi: Add resets property

2022-08-31 Thread Lad Prabhakar
lowed ('resets' was unexpected) From schema: Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.yaml While at it mark resets property as required as all the DT sources in the kernel specify resets and update the example node. Signed-off-by: Lad Prabhakar Revie

Re: [PATCH] dt-bindings: display: bridge: renesas,dw-hdmi: Fix 'unevaluatedProperties' warnings

2022-08-30 Thread Lad, Prabhakar
Hi Krzysztof, Thank you for the review. On Tue, Aug 30, 2022 at 10:23 AM Krzysztof Kozlowski wrote: > > On 30/08/2022 00:58, Lad Prabhakar wrote: > > With 'unevaluatedProperties' support implemented, there's a number of > > warnings when running dtbs_check: &g

Re: [PATCH] dt-bindings: display: bridge: renesas,dw-hdmi: Fix 'unevaluatedProperties' warnings

2022-08-30 Thread Lad, Prabhakar
Hi Laurent, On Tue, Aug 30, 2022 at 12:08 AM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Mon, Aug 29, 2022 at 10:58:16PM +0100, Lad Prabhakar wrote: > > With 'unevaluatedProperties' support implemented, there's a number

[PATCH] dt-bindings: display: bridge: renesas, dw-hdmi: Fix 'unevaluatedProperties' warnings

2022-08-29 Thread Lad Prabhakar
om schema: Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.yaml The main problem is that SoC DTSI's are including resets property, whereas the renesas,dw-hdmi.yaml has 'unevaluatedProperties: false'. So just add optional resets property to the binding. Signed-of

[PATCH] dt-bindings: gpu: mali-bifrost: Document RZ/V2L SoC

2022-03-08 Thread Lad Prabhakar
The Renesas RZ/V2L SoC (a.k.a R9A07G054) has a Bifrost Mali-G31 GPU, add a compatible string for it. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a

Re: [PATCH 2/5] drm/exynos: mixer: Use platform_get_irq() to get the interrupt

2022-01-17 Thread Lad, Prabhakar
Hi Inki, On Fri, Jan 14, 2022 at 11:08 AM Inki Dae wrote: > > Hi Lad Prabhakar, > > 21. 12. 23. 오전 4:01에 Lad Prabhakar 이(가) 쓴 글: > > platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static > > allocation of IRQ resources in DT core code, this causes an issue >

[PATCH 2/5] drm/exynos: mixer: Use platform_get_irq() to get the interrupt

2021-12-24 Thread Lad Prabhakar
ining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq(). Signed-off-by: Lad Prabhakar --- Hi, Ideally I would expect the mixer_resources_init() to be called from probe instead from the bind callback. If platform_get_irq() returns -EPROBE_DEFER the bin

[PATCH 0/5] drm/exynos: Use platform_get_irq*() variants to fetch IRQ's

2021-12-24 Thread Lad Prabhakar
-renesas-soc/ patch/20211209001056.29774-1-prabhakar.mahadev-lad...@bp.renesas.com/ Cheers, Prabhakar Lad Prabhakar (5): drm/exynos/exynos7_drm_decon: Use platform_get_irq_byname() to get the interrupt drm/exynos: mixer: Use platform_get_irq() to get the interrupt drm/exynos/exynos_drm_fimd

[PATCH 3/5] drm/exynos/exynos_drm_fimd: Use platform_get_irq_byname() to get the interrupt

2021-12-24 Thread Lad Prabhakar
ining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq_byname(). Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/

[PATCH 5/5] drm/exynos: gsc: Use platform_get_irq() to get the interrupt

2021-12-24 Thread Lad Prabhakar
ining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq(). Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/d

[PATCH 1/5] drm/exynos/exynos7_drm_decon: Use platform_get_irq_byname() to get the interrupt

2021-12-24 Thread Lad Prabhakar
ining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq_byname(). Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/

[PATCH 4/5] drm/exynos/fimc: Use platform_get_irq() to get the interrupt

2021-12-24 Thread Lad Prabhakar
ining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq(). Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c

RE: [PATCH v2 17/63] bnx2x: Use struct_group() for memcpy() region

2021-08-24 Thread Prabhakar Kushwaha
ru > Cc: gr-everest-linux...@marvell.com > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: net...@vger.kernel.org > Signed-off-by: Kees Cook > --- Reviewed-by: Prabhakar Kushwaha

RE: [PATCH v2] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-09-29 Thread Prabhakar Mahadev Lad
Hi Geert, > -Original Message- > From: Geert Uytterhoeven > Sent: 28 September 2020 08:26 > To: Lad, Prabhakar > Cc: Prabhakar Mahadev Lad ; Magnus > Damm ; Rob Herring > ; DRI Development ; > Linux-Renesas ; open > list:OPEN FIRMWARE AND FLATTENED DEV

Re: [PATCH v2] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-09-28 Thread Lad, Prabhakar
Hi Laurent, On Mon, Aug 24, 2020 at 1:48 AM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Thu, Aug 13, 2020 at 03:00:41PM +0100, Lad Prabhakar wrote: > > The iwg21d comes with a 7" capacitive touch screen, therefore > > add su

[PATCH] drm: Kconfig: Update description for DRM_RCAR_DW_HDMI config

2020-09-14 Thread Lad Prabhakar
rcar_dw_hdmi driver is also used on Renesas RZ/G2 SoC's, update the same to reflect the description for DRM_RCAR_DW_HDMI config. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- drivers/gpu/drm/rcar-du/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

[PATCH v2] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-08-17 Thread Lad Prabhakar
The iwg21d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- v1->v2 * This patch is part of series [1] (rest of the patches have be accepted by Geert [2]). * Added regulator for lvds * Added r

Re: [PATCH 1/9] dt-bindings: display: renesas, du: Document r8a774e1 bindings

2020-08-17 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Thu, Aug 13, 2020 at 10:05 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, Laurent, Kieran, > > On Wed, Aug 12, 2020 at 4:02 PM Lad Prabhakar > wrote: > > From: Marian-Cristian Rotariu > > > > Document the RZ/G2H (a.k

Re: [PATCH 1/9] dt-bindings: display: renesas, du: Document r8a774e1 bindings

2020-08-17 Thread Lad, Prabhakar
Hi Laurent, On Thu, Aug 13, 2020 at 11:59 AM Laurent Pinchart wrote: > > Hello, > > On Thu, Aug 13, 2020 at 11:38:03AM +0100, Lad, Prabhakar wrote: > > On Thu, Aug 13, 2020 at 10:05 AM Geert Uytterhoeven wrote: > > > On Wed, Aug 12, 2020 at 4:02 PM Lad Prabhakar

Re: [PATCH 1/9] dt-bindings: display: renesas, du: Document r8a774e1 bindings

2020-08-17 Thread Lad, Prabhakar
Hi Laurent, On Thu, Aug 13, 2020 at 12:11 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > On Thu, Aug 13, 2020 at 12:08:58PM +0100, Lad, Prabhakar wrote: > > On Thu, Aug 13, 2020 at 11:59 AM Laurent Pinchart wrote: > > > On Thu, Aug 13, 2020 at 11:38:03AM +0100, Lad,

Re: [PATCH 7/7] ARM: dts: r8a7742-iwg21d-q7: Add LCD support

2020-08-17 Thread Lad, Prabhakar
Hi Laurent, Thank you for the review. On Tue, Aug 11, 2020 at 12:26 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patch. > > On Fri, Aug 07, 2020 at 06:49:54PM +0100, Lad Prabhakar wrote: > > The iwg21d comes with a 7" capacitive touch screen,

[PATCH 9/9] arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks

2020-08-13 Thread Lad Prabhakar
Setup up the required clocks for the DU to be functional. Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts b/arch/arm64/boot/dts/renesas

[PATCH 0/9] r8a774e1 add support for DU, HDMI and LVDS

2020-08-13 Thread Lad Prabhakar
Hi All, This patch series adds support for DU, HDMI and LVDS to RZ/G2H SoC. Cheers, Prabhakar Lad Prabhakar (1): arm64: dts: renesas: r8a774e1-hihope-rzg2h: Setup DU clocks Marian-Cristian Rotariu (8): dt-bindings: display: renesas,du: Document r8a774e1 bindings drm: rcar-du: Add support

Re: [PATCH 0/9] r8a774e1 add support for DU, HDMI and LVDS

2020-08-13 Thread Lad, Prabhakar
Hi Laurent, On Wed, Aug 12, 2020 at 5:39 PM Laurent Pinchart wrote: > > Hi Prabhakar, > > Thank you for the patches. > > On Wed, Aug 12, 2020 at 03:02:08PM +0100, Lad Prabhakar wrote: > > Hi All, > > > > This patch series adds support for DU, HDMI and LVDS to

[PATCH 5/9] dt-bindings: display: renesas, dw-hdmi: Add r8a774e1 support

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document RZ/G2H (R8A774E1) SoC bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH 7/9] drm: rcar-du: lvds: Add support for R8A774E1 SoC

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu The LVDS encoder on RZ/G2H (R8A774E1) SoC is identical to R-Car Gen3 so just reuse the rcar_lvds_gen3_info structure to hookup R8A774E1 to LVDS encoder driver. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/rcar-du

[PATCH 4/9] dt-bindings: display: renesas, lvds: Document r8a774e1 bindings

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document the RZ/G2H (R8A774E1) LVDS bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/display/bridge/renesas,lvds.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH 2/9] drm: rcar-du: Add support for R8A774E1 SoC

2020-08-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Hookup RZ/G2H (R8A774E1) to DU driver. R8A774E1 has one RGB output, one LVDS output and one HDMI output. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 30 +++ 1 file

  1   2   >