All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "Cousson, Benoit" <b-cousson@ti.com>
Cc: "Shilimkar, Santosh" <santosh.shilimkar@ti.com>,
	Archit Taneja <a0393947@ti.com>, Paul Walmsley <paul@pwsan.com>,
	linux-omap <linux-omap@vger.kernel.org>,
	Kevin Hilman <khilman@ti.com>
Subject: Re: OMAP4 errata i740
Date: Fri, 30 Mar 2012 15:06:34 +0300	[thread overview]
Message-ID: <1333109194.1932.42.camel@deskari> (raw)
In-Reply-To: <4F75A0F1.4030904@ti.com>

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

On Fri, 2012-03-30 at 14:02 +0200, Cousson, Benoit wrote:
> On 3/30/2012 1:59 PM, Tomi Valkeinen wrote:
> > On Fri, 2012-03-30 at 16:50 +0530, Shilimkar, Santosh wrote:
> >
> >> Exactly. That's what I mean. You tweak sysconfig or clockdomain,
> >> both are messy.
> >>
> >> if one need to choose between two bad options, I guess sysconifig
> >> one is better because that is local to IPs and there is some way today
> >> for drivers to manage sysconfig directly.
> >
> > If the driver touches sysconfig, isn't it possible that hwmod/something
> > just reverts the changes? I mean, sysconfig register is supposedly
> > "owned" by the arch code, and if the driver modifies it there could be a
> > race condition.
> 
> No because we had to expose API from hwmod core code to do that already 
> because of various HW bugs.
> So you will not access it directly but through the hwmod API.

Ah. What functions would be needed to solve this case?

> The only issue is that these API are exposed today through pdata 
> function pointers, and thus this is not usable in a DT case :-(

That's ok (for now), we will anyway have this "omapdss" higer level
driver, which is not HW driver (i.e. not mentioned in the DT data), but
created in arch/arm code. I have put all the current function pointers
there already, so I can add a few more.

 Tomi


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

  reply	other threads:[~2012-03-30 12:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30  8:07 OMAP4 errata i740 Tomi Valkeinen
2012-03-30  8:21 ` Shilimkar, Santosh
2012-03-30  8:26   ` Tomi Valkeinen
2012-03-30  8:31     ` Santosh Shilimkar
2012-03-30  8:34       ` Archit Taneja
2012-03-30  8:44         ` Santosh Shilimkar
2012-03-30 10:23           ` Cousson, Benoit
2012-03-30 10:29             ` Santosh Shilimkar
2012-03-30 10:56               ` Archit Taneja
2012-03-30 11:04                 ` Shilimkar, Santosh
2012-03-30 11:17                   ` Archit Taneja
2012-03-30 11:20                     ` Shilimkar, Santosh
2012-03-30 11:59                       ` Tomi Valkeinen
2012-03-30 12:02                         ` Cousson, Benoit
2012-03-30 12:06                           ` Tomi Valkeinen [this message]
2012-03-30 12:00                       ` Cousson, Benoit
2012-03-30 12:24                         ` Santosh Shilimkar
2012-03-30 10:08     ` Cousson, Benoit

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=1333109194.1932.42.camel@deskari \
    --to=tomi.valkeinen@ti.com \
    --cc=a0393947@ti.com \
    --cc=b-cousson@ti.com \
    --cc=khilman@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=santosh.shilimkar@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.