* [PATCH] drm: atmel-hlcdc: add support for sama5d2 SoCs
@ 2015-09-09 13:47 Nicolas Ferre
2015-10-09 20:56 ` Boris Brezillon
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Ferre @ 2015-09-09 13:47 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
index 8bc62ec407f9..498add1e5e58 100644
--- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
+++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
@@ -333,6 +333,10 @@ static const struct of_device_id atmel_hlcdc_of_match[] = {
.data = &atmel_hlcdc_dc_at91sam9x5,
},
{
+ .compatible = "atmel,sama5d2-hlcdc",
+ .data = &atmel_hlcdc_dc_sama5d4,
+ },
+ {
.compatible = "atmel,sama5d3-hlcdc",
.data = &atmel_hlcdc_dc_sama5d3,
},
--
2.1.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] drm: atmel-hlcdc: add support for sama5d2 SoCs
2015-09-09 13:47 [PATCH] drm: atmel-hlcdc: add support for sama5d2 SoCs Nicolas Ferre
@ 2015-10-09 20:56 ` Boris Brezillon
0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2015-10-09 20:56 UTC (permalink / raw)
To: linux-arm-kernel
Hi Nicolas,
Sorry for the late reply.
On Wed, 9 Sep 2015 15:47:15 +0200
Nicolas Ferre <nicolas.ferre@atmel.com> wrote:
> 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>
Just for the record, since Thierry already applied it in his tree:
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> index 8bc62ec407f9..498add1e5e58 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> @@ -333,6 +333,10 @@ static const struct of_device_id atmel_hlcdc_of_match[] = {
> .data = &atmel_hlcdc_dc_at91sam9x5,
> },
> {
> + .compatible = "atmel,sama5d2-hlcdc",
> + .data = &atmel_hlcdc_dc_sama5d4,
> + },
> + {
> .compatible = "atmel,sama5d3-hlcdc",
> .data = &atmel_hlcdc_dc_sama5d3,
> },
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-09 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 13:47 [PATCH] drm: atmel-hlcdc: add support for sama5d2 SoCs Nicolas Ferre
2015-10-09 20:56 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).