mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
dmaengine: sh: rcar-dmac: Add support for R-Car Gen5 SoCs
Gen5 is very similar to Gen4. Of interest here is that it has a SMMU instead of an IPMMU, so there is no need to set the flag for a workaround. Make the module description more generic while here. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260909094009.2167-10-wsa+renesas@sang-engineering.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
8d4237d153
commit
1d8ae2003d
|
|
@ -2013,6 +2013,11 @@ static const struct rcar_dmac_of_data rcar_gen4_dmac_data = {
|
|||
.broken_ipmmu_microTLB0 = 1,
|
||||
};
|
||||
|
||||
static const struct rcar_dmac_of_data rcar_gen5_dmac_data = {
|
||||
.chan_offset_base = 0x0,
|
||||
.chan_offset_stride = 0x1000,
|
||||
};
|
||||
|
||||
static const struct of_device_id rcar_dmac_of_ids[] = {
|
||||
{
|
||||
.compatible = "renesas,rcar-dmac",
|
||||
|
|
@ -2020,6 +2025,9 @@ static const struct of_device_id rcar_dmac_of_ids[] = {
|
|||
}, {
|
||||
.compatible = "renesas,rcar-gen4-dmac",
|
||||
.data = &rcar_gen4_dmac_data,
|
||||
}, {
|
||||
.compatible = "renesas,rcar-gen5-dmac",
|
||||
.data = &rcar_gen5_dmac_data,
|
||||
}, {
|
||||
/*
|
||||
* Backward compatibility for between v5.12 - v5.19
|
||||
|
|
@ -2045,6 +2053,6 @@ static struct platform_driver rcar_dmac_driver = {
|
|||
|
||||
module_platform_driver(rcar_dmac_driver);
|
||||
|
||||
MODULE_DESCRIPTION("R-Car Gen2 DMA Controller Driver");
|
||||
MODULE_DESCRIPTION("R-Car DMA Controller Driver");
|
||||
MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user