drm/sun4i: frontend: Hook-in support for the A20
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 18 Jan 2019 14:51:33 +0000 (15:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 20:12:34 +0000 (21:12 +0100)
This adds the appropriate device-tree compatible for hooking frontend
support for the A20. Since the hardware is very similar to the A10, it
shares the same quirks (which were already introduced).

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190118145133.21281-24-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_frontend.c

index 53e4dbe466ff53d712fb06b52f3dce5d1aded776..e8239d4d4dd5d28ac83c90acb4cf57720c6c3057 100644 (file)
@@ -715,6 +715,10 @@ const struct of_device_id sun4i_frontend_of_table[] = {
                .compatible = "allwinner,sun4i-a10-display-frontend",
                .data = &sun4i_a10_frontend
        },
+       {
+               .compatible = "allwinner,sun7i-a20-display-frontend",
+               .data = &sun4i_a10_frontend
+       },
        {
                .compatible = "allwinner,sun8i-a33-display-frontend",
                .data = &sun8i_a33_frontend