summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i/sun6i_drc.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-10-20 05:43:38 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-10-20 17:58:06 +0200
commitb3e0b2dba870cc2f1d614a0f04459c18d8bf71a3 (patch)
tree750948bc1e0e7bd28628ce9a1cb868dec4fe48fc /drivers/gpu/drm/sun4i/sun6i_drc.c
parentLinux 4.9-rc1 (diff)
downloadlinux-b3e0b2dba870cc2f1d614a0f04459c18d8bf71a3.tar.xz
linux-b3e0b2dba870cc2f1d614a0f04459c18d8bf71a3.zip
drm/sun4i: sun6i-drc: Support DRC on A31 and A31s
The A31 and A31s also have the DRC as part of the display pipeline. As we know virtually nothing about them, just add compatible strings for both SoCs to the stub driver. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun6i_drc.c')
-rw-r--r--drivers/gpu/drm/sun4i/sun6i_drc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun6i_drc.c b/drivers/gpu/drm/sun4i/sun6i_drc.c
index bf6d846d8132..6ef707c5a719 100644
--- a/drivers/gpu/drm/sun4i/sun6i_drc.c
+++ b/drivers/gpu/drm/sun4i/sun6i_drc.c
@@ -98,6 +98,8 @@ static int sun6i_drc_remove(struct platform_device *pdev)
}
static const struct of_device_id sun6i_drc_of_table[] = {
+ { .compatible = "allwinner,sun6i-a31-drc" },
+ { .compatible = "allwinner,sun6i-a31s-drc" },
{ .compatible = "allwinner,sun8i-a33-drc" },
{ }
};