mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Rob Herring <robh@kernel.org>,
	"H. Nikolaus Schaller" <hns@goldelico.com>
Cc: "Thierry Reding" <thierry.reding@gmail.com>,
	"David Airlie" <airlied@linux.ie>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Benoît Cousson" <bcousson@baylibre.com>,
	"Tony Lindgren" <tony@atomide.com>,
	"Russell King" <linux@armlinux.org.uk>,
	"Bartlomiej Zolnierkiewicz" <b.zolnierkie@samsung.com>,
	"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
	"Julia Lawall" <Julia.Lawall@lip6.fr>,
	"Sean Paul" <seanpaul@chromium.org>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-fbdev@vger.kernel.org, letux-kernel@openphoenux.org,
	kernel@pyra-handheld.com
Subject: Re: [PATCH v3 1/4] omapdrm: panel: fix compatible vendor string for td028ttec1
Date: Fri, 1 Dec 2017 10:18:18 +0200	[thread overview]
Message-ID: <da3ce573-1593-3377-1243-ff500e9522b3@ti.com> (raw)
In-Reply-To: <20171201015730.nvw6sblxn566dhhb@rob-hp-laptop>

On 01/12/17 03:57, Rob Herring wrote:

>> diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
>> index 0a38a0e8c925..a0dfa14f4fab 100644
>> --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
>> +++ b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
>> @@ -452,6 +452,8 @@ static int td028ttec1_panel_remove(struct spi_device *spi)
>>  }
>>  
>>  static const struct of_device_id td028ttec1_of_match[] = {
>> +	{ .compatible = "omapdss,tpo,td028ttec1", },
> 
> Why the omapdss part?

This driver is omapdrm specific. But I don't want the dts file to have
omapdrm specific compatible strings, so that the dts files do not have
to be changed when in the future we move to common DRM panel drivers

So:

- In the .dts, we have compatible = "tpo,td028ttec1"
- At early boot time, we append "omapdss," to compatible strings for
panels connected to the DSS node.
- The omapdrm specific drivers match to "omapdss,tpo,td028ttec1"

 Tomi

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

  parent reply	other threads:[~2017-12-01  8:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28 15:48 [PATCH v3 0/4] Fixes for omapdrm on OpenPandora and GTA04 H. Nikolaus Schaller
2017-11-28 15:48 ` [PATCH v3 1/4] omapdrm: panel: fix compatible vendor string for td028ttec1 H. Nikolaus Schaller
2017-12-01  1:57   ` Rob Herring
2017-12-01  7:46     ` H. Nikolaus Schaller
2017-12-01  8:18     ` Tomi Valkeinen [this message]
2017-11-28 15:48 ` [PATCH v3 2/4] omapdrm: panel: td028ttec1: replace MODULE_ALIAS by MODULE_DEVICE_TABLE H. Nikolaus Schaller
2017-11-28 15:48 ` [PATCH v3 3/4] DTS: GTA04: fix panel compatibility string H. Nikolaus Schaller
2017-11-28 16:02   ` Tony Lindgren
2017-11-28 15:48 ` [PATCH v3 4/4] DTS: Pandora: " H. Nikolaus Schaller
2017-11-28 16:04   ` Tony Lindgren
2017-11-28 16:14     ` H. Nikolaus Schaller
2017-11-28 16:18       ` Tony Lindgren
     [not found]         ` <4EE1E298-6461-48FF-977C-958DD16AD83A@goldelico.com>
2017-11-30 15:24           ` Tony Lindgren
2017-11-30 22:06             ` Sebastian Reichel
2017-12-01  8:13               ` Tomi Valkeinen
2017-12-01  9:48                 ` H. Nikolaus Schaller
2017-12-01 10:01                   ` Tomi Valkeinen
2017-12-11 15:16                     ` Tony Lindgren
2017-12-01  7:41             ` H. Nikolaus Schaller
2017-11-30 10:54 ` [PATCH v3 0/4] Fixes for omapdrm on OpenPandora and GTA04 Tomi Valkeinen
2017-11-30 15:27   ` Tony Lindgren
2017-12-01 17:22   ` Bartlomiej Zolnierkiewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da3ce573-1593-3377-1243-ff500e9522b3@ti.com \
    --to=tomi.valkeinen@ti.com \
    --cc=Julia.Lawall@lip6.fr \
    --cc=airlied@linux.ie \
    --cc=b.zolnierkie@samsung.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hns@goldelico.com \
    --cc=kernel@pyra-handheld.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=letux-kernel@openphoenux.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=robh@kernel.org \
    --cc=seanpaul@chromium.org \
    --cc=thierry.reding@gmail.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®