[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1120854: linux-image-arm64: Enable dma engine for Renesas RZ platform



Hi Ben

I've made one change (below) and updated the patch
CONFIG_RZ_DMAC=y ( from CONFIG_RZ_DMAC=m)
The reason being the DMA engine is core device, this needs to be enabled
for the serial device to be working and hence it needs to be built in.

I've updated the config enabled based on the groups for the reference:

##
## file: drivers/clocksource/Kconfig
##
CONFIG_RENESAS_OSTM=y

##
## file: drivers/dma/sh/Kconfig
##
CONFIG_RZ_DMAC=y

##
## file: drivers/gpu/drm/renesas/rcar-du/Kconfig
##
CONFIG_DRM_RCAR_DU=m
CONFIG_DRM_RCAR_VSP=m
CONFIG_DRM_RCAR_CMM=m
CONFIG_DRM_RCAR_DW_HDMI=m
CONFIG_DRM_RCAR_LVD=m
CONFIG_DRM_RCAR_MIPI_DSI=m

##
## file: drivers/i2c/busses/Kconfig
##
CONFIG_I2C_RCAR=m

##
## file: drivers/iio/adc/Kconfig
##
CONFIG_RZG2L_ADC=m

##
## file: drivers/media/platform/renesas/Kconfig
##
CONFIG_VIDEO_RENESAS_FCP=m
CONFIG_VIDEO_RENESAS_FDP1=m
CONFIG_VIDEO_RENESAS_VSP1=m
CONFIG_VIDEO_RCAR_ISP=m
CONFIG_VIDEO_RCAR_DRIF=m

##
## drivers/media/platform/renesas/rzg2l-cru/Kconfig
##
CONFIG_VIDEO_RZG2L_CRU=m
CONFIG_VIDEO_RZG2L_CSI2=m

##
## file: drivers/media/platform/renesas/rcar-vin/Kconfig
##
CONFIG_VIDEO_RCAR_CSI2=m
CONFIG_VIDEO_RCAR_VIN=m

##
## file: drivers/mmc/host/Kconfig
##
CONFIG_MMC_SDHI_SYS_DMAC=m
CONFIG_MMC_SDHI_INTERNAL_DMAC=m

##
## file: drivers/net/ethernet/renesas/Kconfig
##
CONFIG_RENESAS_GEN4_PTP=m

##
## file: drivers/phy/renesas/Kconfig
##
CONFIG_PHY_RCAR_GEN3_USB3=m

##
## file: drivers/pwm/Kconfig
##
CONFIG_PWM_RCAR=m

##
## file: drivers/thermal/Kconfig
##
CONFIG_RZG2L_THERMAL=m

##
## file: drivers/watchdog/Kconfig
##
CONFIG_RENESAS_RZG2LWDT=m

Best Regards
John

-----Original Message-----
From: John Vincent
Sent: 18 November 2025 19:40
To: Ben Hutchings <ben@decadent.org.uk>; 1120854@bugs.debian.org
Cc: Tim Hartley <tim.hartley@renesas.com>
Subject: RE: Bug#1120854: linux-image-arm64: Enable dma engine for Renesas RZ platform

Hi Ben

I've updated the patch file to include additional configs.

- DMA: RZ DMAC (CONFIG_RZ_DMAC)
- Display: DRM R-Car DU, VSP, HDMI, MIPI DSI, CMM, LVD
- Media: FCP, FDP1, VSP1, CRU, CSI2, VIN, ISP, DRIF
- I2C: R-Car I2C controller
- MMC: SDHI with SYS_DMAC and INTERNAL_DMAC
- PHY: USB3 support for R-Car Gen3
- PWM: R-Car PWM controller
- Watchdog: Renesas WDT
- Clock source: Renesas OSTM
- Ethernet : Gen4 PTP
- ADC: RZ ADC
- Thermal: RZ Thermal

Best Regards
John

-----Original Message-----
From: Ben Hutchings <ben@decadent.org.uk>
Sent: 17 November 2025 19:39
To: John Vincent <john.vincent.xa@bp.renesas.com>; 1120854@bugs.debian.org
Subject: Re: Bug#1120854: linux-image-arm64: Enable dma engine for Renesas RZ platform

Control: tag -1 - d-i upstream
Control: tag -1 moreinfo

On Mon, 2025-11-17 at 15:15 +0000, John Vincent wrote:
> Package: linux-image-arm64
> Version: Trixie
> Severity: normal
> Tags: d-i patch upstream
> X-Debbugs-Cc: john.vincent.xa@bp.renesas.com
>
> Dear Maintainer,
>
> For RZ platform the DMA engine needs enabling using the kernel config:
>
> CONFIG_RZ_DMAC=m
>
> Please support to enable this config in debian kernel config:
>
> https://salsa.debian.org/kernel-team/linux/-/blob/debian/latest/debian
> /config/arm64/config
[...]

This is the second bug you've opened requesting a single driver for the RZ platform.  Can you provide a list of *all* the drivers that should be enabled?  From a quick look through the Kconfig files it seems like we are also missing RTC, watchdog, PWM, reset, DRM, and other drivers.

Ben.

--
Ben Hutchings
If the facts do not conform to your theory, they must be disposed of.
________________________________

Renesas Electronics Europe GmbH
Registered Office: Arcadiastrasse 10
DE-40472 Duesseldorf
Commercial Registry: Duesseldorf, HRB 3708
Managing Director: Carsten Jauch
VAT-No.: DE 14978647
Tax-ID-No: 105/5839/1793

Legal Disclaimer: This e-mail communication (and any attachment/s) is confidential and contains proprietary information, some or all of which may be legally privileged. It is intended solely for the use of the individual or entity to which it is addressed. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

Attachment: 0001-arm64-Enable-Renesas-RZ-G2L-multimedia-and-periphera.patch
Description: 0001-arm64-Enable-Renesas-RZ-G2L-multimedia-and-periphera.patch


Reply to: