bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0428-drm-vc4-Add-the-2711-HVS-as-a-suitable-DMA-node.patch
1 From b7737b9299e9636e8ec2acaddf34300eb378ce50 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Mon, 26 Oct 2020 12:38:27 +0000
4 Subject: [PATCH] drm/vc4: Add the 2711 HVS as a suitable DMA node
5
6 With vc4-drv node not being under /soc on Pi4, we need to
7 adopt the correct DMA parameters from a suitable sub-component.
8 Add "brcm,bcm2711-hvs" to that list of components.
9
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
11 ---
12 drivers/gpu/drm/vc4/vc4_drv.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 --- a/drivers/gpu/drm/vc4/vc4_drv.c
16 +++ b/drivers/gpu/drm/vc4/vc4_drv.c
17 @@ -218,6 +218,7 @@ static void vc4_match_add_drivers(struct
18
19 const struct of_device_id vc4_dma_range_matches[] = {
20 { .compatible = "brcm,bcm2835-hvs" },
21 + { .compatible = "brcm,bcm2711-hvs" },
22 { .compatible = "raspberrypi,rpi-firmware-kms" },
23 { .compatible = "brcm,bcm2835-v3d" },
24 { .compatible = "brcm,cygnus-v3d" },