linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "Dr. H. Nikolaus Schaller" <hns@goldelico.com>
Cc: linux-omap@vger.kernel.org, Belisko Marek <marek.belisko@gmail.com>
Subject: Re: DSS display-new custom enable/disable hooks
Date: Thu, 26 Sep 2013 15:54:47 +0300	[thread overview]
Message-ID: <52442E97.9060704@ti.com> (raw)
In-Reply-To: <54A492D6-DE01-4EF4-90CA-1ADF2B6CE8D2@goldelico.com>

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

On 26/09/13 15:37, Dr. H. Nikolaus Schaller wrote:

>>> Although one could argue that one is just controlling the GPIO and the other
>>> one is controlling some regulator...
>>
>> Sorry, didn't understand that one...
> 
> I meant that there could be a differece between enable/disable and power-on/off
> (e.g. retaining register values vs. loosing everything). But I can't imagine that for
> a simple video amplifier.

Ah, I see.

I'd still say there's just enable/disable from outside point of view.
It's the driver's job to make things work so that configuration values
are retained. If the hardware component is turned off so that it loses
register values, the driver should first store the configuration into
memory.

So internally there may be different power levels, maybe some kind of
timers to switch the component totally off if it's been disabled for
some time, or such. Externally, I don't think those need to be visible.

> Well, we can't boot w/o the board file yet for other reasons, i.e. a DT only
> approach isn't our target yet.

Sure, I'm fine with board file only version. My point was just that the
solution should not be such that it's impossible to support with DT. For
example, callbacks to board files are not possible with DT, so a
solution that relies on callbacks to board files will not be accepted.
And similarly board init calls are not supported with DT, so not acceptable.

>> I don't want to make this more confusing, but... I wonder about the
>> connector_type field. It's only function is to pass the value to VENC,
>> which will then work differently. And it's also something that cannot be
>> changed at runtime. Perhaps that, too, should be moved to VENC's
>> platform data.
> 
> I was also thinking about this topic. Well, the connector type is correctly
> a property of the connector... But it logically controls some registers
> in the DAC Output stage. So I had thought that the opa362 driver will
> hand it over to the VENC and could check if it is really a composite
> video (since AFAIK the OPA can't be used in a S-Video sytem).
> But that again would be another chain of information flow from the
> connector to the VENC making their APIs dependent.

Right. I'm a bit leaning towards having it in the VENC platform data,
and removing it from the connector.

Well, it's not directly related to the issue at hand. You may just pass
the connector type through OPA, and we can look at changing the
connector type later. But if you want to have a try with the connector
type at the same time, please go ahead.

 Tomi



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

      reply	other threads:[~2013-09-26 12:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24 20:04 DSS display-new custom enable/disable hooks Belisko Marek
2013-09-25  6:12 ` Tomi Valkeinen
2013-09-25  7:09   ` Belisko Marek
2013-09-25  7:45     ` Dr. H. Nikolaus Schaller
2013-09-25  8:29       ` Tomi Valkeinen
2013-09-25  9:00         ` Dr. H. Nikolaus Schaller
2013-09-25 10:50           ` Tomi Valkeinen
2013-09-25 12:26             ` Dr. H. Nikolaus Schaller
2013-09-25 13:57               ` Tomi Valkeinen
2013-09-25 16:11                 ` Dr. H. Nikolaus Schaller
2013-09-26  8:20                   ` Tomi Valkeinen
2013-09-26 11:01                     ` Dr. H. Nikolaus Schaller
2013-09-26 11:49                       ` Tomi Valkeinen
2013-09-26 12:37                         ` Dr. H. Nikolaus Schaller
2013-09-26 12:54                           ` Tomi Valkeinen [this message]

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=52442E97.9060704@ti.com \
    --to=tomi.valkeinen@ti.com \
    --cc=hns@goldelico.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=marek.belisko@gmail.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;
as well as URLs for NNTP newsgroup(s).