drm: atmel-hlcdc: add support for sama5d2 SoCs
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 15 Dec 2015 11:20:57 +0000 (12:20 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Dec 2015 12:40:11 +0000 (13:40 +0100)
As the hardware description for this chip is the same as the sama5d4, we use
this SoC structures for layers and DC descriptions. Thus only 2 lines are added
to the atmel_hlcdc_of_match table.
The compatible string is already documented in the parent MFD driver's binding.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450178476-26284-10-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c

index 816895447155f7898a0c207545e74cef8dc0b9d5..37899991269e2c979bdb4db7ebbf8556c4fe3317 100644 (file)
@@ -332,6 +332,10 @@ static const struct of_device_id atmel_hlcdc_of_match[] = {
                .compatible = "atmel,at91sam9x5-hlcdc",
                .data = &atmel_hlcdc_dc_at91sam9x5,
        },
+       {
+               .compatible = "atmel,sama5d2-hlcdc",
+               .data = &atmel_hlcdc_dc_sama5d4,
+       },
        {
                .compatible = "atmel,sama5d3-hlcdc",
                .data = &atmel_hlcdc_dc_sama5d3,