public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3+] I2C: mxc_i2c rework
Date: Fri, 29 Jul 2011 11:42:54 +0200	[thread overview]
Message-ID: <4E32809E.1000503@denx.de> (raw)
In-Reply-To: <201107291135.34868.marek.vasut@gmail.com>

On 07/29/2011 11:35 AM, Marek Vasut wrote:
>>
>> why you change i2c clock from IPG_PERCLK to IPG_CLK?
> 
> On MX51, PERCLK are those fast (680MHz) clock, that's not source of clock for 
> I2C. The IPG_CLK (they are 68.5MHz iirc) are source for the I2C. Also, I 
> discussed this with Stefano and we agreed this is likely a bug.

Well, this code must be suitable for all i.MX processor. If we have a
different source for i.MX51 and i.MX53, we can hide this adding an entry
to mxc_get_clock(), such as mxc_get_clock(MXC_I2C_CLK). the right clock
is then chosen in the specific mxc_get_clock function.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-07-29  9:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 21:58 [U-Boot] [PATCH V3+] I2C: mxc_i2c rework Marek Vasut
2011-07-14  9:04 ` Heiko Schocher
2011-07-28 14:29   ` Wolfgang Denk
2011-07-14 13:55 ` Albert ARIBAUD
2011-07-14 14:35   ` Marek Vasut
2011-07-14 14:45     ` Albert ARIBAUD
2011-07-29  6:55 ` Jason Hui
2011-07-29  9:35   ` Marek Vasut
2011-07-29  9:42     ` Stefano Babic [this message]
2011-09-14 19:39   ` Marek Vasut
2011-09-15  1:43     ` Jason Hui
2011-09-15  2:07       ` Marek Vasut
2011-09-15  2:26         ` Jason Hui
2011-09-15  4:07           ` Marek Vasut
2011-08-30 10:48 ` Stefano Babic
  -- strict thread matches above, loose matches on Subject: below --
2011-07-13 21:05 [U-Boot] [PATCH V3] " Marek Vasut
2011-07-13 21:34 ` Wolfgang Denk

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=4E32809E.1000503@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /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