[RFC,9/9] drm/omap: boot-init: add k2g-dss

Message ID 014e96a9315bf3f2742d6e10990d0684180bb8db.1518780268.git.jsarha@ti.com
State New
Headers show
Series
  • drm/omap: DSS6 with dynamically allocated objects
Related show

Commit Message

Jyri Sarha Feb. 16, 2018, 11:25 a.m.
From: Tomi Valkeinen <tomi.valkeinen@ti.com>

Add "ti,k2g-dss" to the list of DSS devices which need the mangling of
the panels' & encoders' compatible strings.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
 drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Laurent Pinchart Feb. 27, 2018, 2:15 p.m. | #1
Hi Tomi,

Thank you for the patch.

On Friday, 16 February 2018 13:25:10 EET Jyri Sarha wrote:
> From: Tomi Valkeinen <tomi.valkeinen@ti.com>
> 
> Add "ti,k2g-dss" to the list of DSS devices which need the mangling of
> the panels' & encoders' compatible strings.
> 
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

Based on the DT bindings from Documentation/devicetree/bindings/display/ti/
ti,k2g-dss.txt in git@github.com:jsarha/linux.git omapdrm-next-dss6,

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
> b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c index 3bfb95d..698388e
> 100644
> --- a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
> +++ b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
> @@ -181,6 +181,7 @@ static const struct of_device_id omapdss_of_match[]
> __initconst = { { .compatible = "ti,omap4-dss", },
>  	{ .compatible = "ti,omap5-dss", },
>  	{ .compatible = "ti,dra7-dss", },
> +	{ .compatible = "ti,k2g-dss", },
>  	{},
>  };
Laurent Pinchart Feb. 27, 2018, 2:15 p.m. | #2
On Tuesday, 27 February 2018 16:15:11 EET Laurent Pinchart wrote:
> Hi Tomi,

This should obviously have read Jyri :-)

> Thank you for the patch.
> 
> On Friday, 16 February 2018 13:25:10 EET Jyri Sarha wrote:
> > From: Tomi Valkeinen <tomi.valkeinen@ti.com>
> > 
> > Add "ti,k2g-dss" to the list of DSS devices which need the mangling of
> > the panels' & encoders' compatible strings.
> > 
> > Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
> 
> Based on the DT bindings from Documentation/devicetree/bindings/display/ti/
> ti,k2g-dss.txt in git@github.com:jsarha/linux.git omapdrm-next-dss6,
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 
> > ---
> > 
> >  drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
> > b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c index 3bfb95d..698388e
> > 100644
> > --- a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
> > +++ b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
> > @@ -181,6 +181,7 @@ static const struct of_device_id omapdss_of_match[]
> > __initconst = {
> >  	{ .compatible = "ti,omap4-dss", },
> >  	{ .compatible = "ti,omap5-dss", },
> >  	{ .compatible = "ti,dra7-dss", },
> > +	{ .compatible = "ti,k2g-dss", },
> >  	{},
> >  };

Patch

diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
index 3bfb95d..698388e 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
@@ -181,6 +181,7 @@  static const struct of_device_id omapdss_of_match[] __initconst = {
 	{ .compatible = "ti,omap4-dss", },
 	{ .compatible = "ti,omap5-dss", },
 	{ .compatible = "ti,dra7-dss", },
+	{ .compatible = "ti,k2g-dss", },
 	{},
 };