All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Menon, Nishanth" <nm@ti.com>
To: "ext-eero.nurkkala@nokia.com" <ext-eero.nurkkala@nokia.com>
Cc: ext Paul Walmsley <paul@pwsan.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Woodruff, Richard" <r-woodruff2@ti.com>
Subject: RE: [RFC] OMAP: I2C: Use correct bit for CLOCKACTIVITY
Date: Thu, 5 Mar 2009 06:54:15 -0600	[thread overview]
Message-ID: <7A436F7769CA33409C6B44B358BFFF0CFF3500B7@dlee02.ent.ti.com> (raw)
In-Reply-To: <1236256350.29572.67.camel@eenurkka-desktop>

> -----Original Message-----
> From: Eero Nurkkala [mailto:ext-eero.nurkkala@nokia.com]
> Sent: Thursday, March 05, 2009 2:33 PM
> To: Menon, Nishanth
> Cc: ext Paul Walmsley; linux-omap@vger.kernel.org; Woodruff, Richard
> Subject: RE: [RFC] OMAP: I2C: Use correct bit for CLOCKACTIVITY
> 
> Thank you!
> 
> Could you please consider taking a loot at every single block
> (SPI, I2C, DMA... etc).
> 
> If I were you, I'd copy-paste the CLOCKACTIVITY features as
> is it to every single HW block. So it'd be coherent. I have a
> distant feeling that's what you've done, but TRM says something
> else..
me? I am just a code junkie ;).. "They" wont let me write the TRM :(.. :D... 

Anyways, I am told internally that the right setting is the one given in table 18-44, i.e.:

9:8 CLOCKACTIVITY Clock Activity selection bits RW 0x0
    0x0: Both clocks can be cut off
    0x1: Only interface clock must be kept active; functional clock can be cut off
    0x2: Only functional clock must be kept active; interface clock can be cut off
    0x3: Both clocks must be kept active

Have asked for the rest too.. But I am told that in case of these kind of issues, we should refer to the one in the register settings.

Regards,
Nishanth Menon

  reply	other threads:[~2009-03-05 12:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-05  6:27 [RFC] OMAP: I2C: Use correct bit for CLOCKACTIVITY ext-eero.nurkkala
2009-03-05  8:42 ` Paul Walmsley
2009-03-05  8:46   ` Eero Nurkkala
2009-03-05  8:54     ` Eero Nurkkala
2009-03-11  3:55       ` Woodruff, Richard
2009-03-11  5:51         ` Eero Nurkkala
2009-03-05 12:29     ` Menon, Nishanth
2009-03-05 12:32       ` Eero Nurkkala
2009-03-05 12:54         ` Menon, Nishanth [this message]
2009-03-06 13:41           ` Eero Nurkkala
2009-03-06 13:51             ` Nishanth Menon

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=7A436F7769CA33409C6B44B358BFFF0CFF3500B7@dlee02.ent.ti.com \
    --to=nm@ti.com \
    --cc=ext-eero.nurkkala@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=r-woodruff2@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.