public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Jassi Brar <jaswinder.singh@linaro.org>
Cc: Raphael Assenat <raph@8d.com>,
	linux-omap@vger.kernel.org, Archit Taneja <a0393947@ti.com>
Subject: Re: [PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays
Date: Tue, 31 Jul 2012 10:51:41 +0300	[thread overview]
Message-ID: <1343721101.4685.35.camel@lappyti> (raw)
In-Reply-To: <CAJe_ZhfoYoFd1AkFmb0E7=iSvZeAQRmSFONCW7jE8psCMDQ3Hg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]

On Tue, 2012-07-17 at 21:57 +0530, Jassi Brar wrote:
> [CC'ing OMAPDSS matinainer]
> 
> On 17 July 2012 19:31, Raphael Assenat <raph@8d.com> wrote:
> > Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays.
> >
> Display panels are board specific and there is no limit to the number
> of panels that could be connected to omap dss.
>  Does it make sense to get panel params via DT? Or at least have them
> come from board file? (esp when there is hardly a panel shared by two
> boards, and some panels aren't even used by any board in mainline)

So we have two options, with pros and cons:

1) Have the configuration for countless panels specified in the driver

- Pro: driver for the device is the right place to define hardcoded
device properties
- Pro: panels can be easily used from the board file, just define the
name of the panel
- Pro: the same panel can be easily used from multiple board files,
without duplicating the configs
- Con: Adds lines to the kernel (not really a con, all features add
lines to the kernel. and we can restructure the data to fit fewer
lines.)
- Con: We could have "leftover" panel data, not used by anyone.

2) Have the configuration for countless panels specified in the DT data

- Con: DT data is not the right place to describe device's internal
hardcoded properties. DT data should be about HW connections and
configurable options.
- Con: Adds lines to the DT data

What were the pros for option 2? I didn't really see them in this mail
thread, except moving lines from the kernel to the DT, which I don't
really see as a pro.

 Tomi


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2012-07-31  7:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 14:01 [PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays Raphael Assenat
2012-07-17 16:27 ` Jassi Brar
2012-07-20  8:11   ` Archit Taneja
2012-07-20 12:13     ` Jassi Brar
2012-07-20 12:44       ` Archit Taneja
2012-07-20 15:38         ` Jassi Brar
2012-07-31  7:51   ` Tomi Valkeinen [this message]
2012-07-31  8:03     ` Jassi Brar
2012-07-31  8:14       ` Tomi Valkeinen
2012-07-31  8:27         ` Jassi Brar
2012-07-31  8:42           ` Tomi Valkeinen
2012-07-31  8:57             ` Jassi Brar
2012-07-31  9:57               ` Tomi Valkeinen
2012-07-31 18:14                 ` Jassi Brar
2012-08-15  9:31 ` Tomi Valkeinen
2012-08-15 15:26   ` Raphaël Assénat
2012-08-21 10:49     ` Tomi Valkeinen
2012-08-21 14:29       ` Raphaël Assénat
2012-08-24  8:38         ` Tomi Valkeinen
2012-08-24 13:50           ` Raphaël Assénat
2012-08-24 15:00             ` Tomi Valkeinen

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=1343721101.4685.35.camel@lappyti \
    --to=tomi.valkeinen@ti.com \
    --cc=a0393947@ti.com \
    --cc=jaswinder.singh@linaro.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=raph@8d.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