public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] fsl_i2c: increase I2C timeout values and make them configurable
Date: Thu, 10 Sep 2009 08:29:35 -0500	[thread overview]
Message-ID: <4AA8FF3F.4010105@freescale.com> (raw)
In-Reply-To: <OF65C14DE7.4464DC3C-ONC125762D.00488AFB-C125762D.00494875@transmode.se>

Joakim Tjernlund wrote:

>> A while back, someone posted a version of this code that computed the values
>> of fdr/dfsr.  I nack'd that patch because I thought the algorithm was too
> 
> Not so sure about that, but I haven't tried to calc it generally.

A quick way to check this is to figure out which dfsr/fdr values the i2c code uses, and then modify that entry in the table with a different pair.  You'd have to manually calculate the correct value of fdr for the given dfsr.

> Yes, and a way to #define wanted DFSR. From there one can select
> one of the 4 tables listed in AN2919. The sum of tabels will be rather big though
> so I suspect it will less code to calculate the FDR/DFSR.

In this case, you're right.  But so far, you're the only person who's complained to me that the current code doesn't work, and you already admitted that your board is broken, so I don't really see the need to change the code.

-- 
Timur Tabi
Linux kernel developer at Freescale

  reply	other threads:[~2009-09-10 13:29 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09  9:19 [U-Boot] fsl_i2c: increase I2C timeout values and make them configurable Joakim Tjernlund
2009-09-09 14:24 ` Timur Tabi
2009-09-09 14:33   ` Joakim Tjernlund
2009-09-10  8:15     ` Joakim Tjernlund
2009-09-10 13:07       ` Timur Tabi
2009-09-10 13:20         ` Joakim Tjernlund
2009-09-10 13:29           ` Timur Tabi [this message]
2009-09-10 13:58             ` Joakim Tjernlund
2009-09-10 15:22               ` Timur Tabi
2009-09-10 15:46                 ` Joakim Tjernlund
2009-09-10 15:57                   ` Timur Tabi
2009-09-10 14:57             ` Joakim Tjernlund
2009-09-10 15:26               ` Timur Tabi
2009-09-10 15:53                 ` Joakim Tjernlund
2009-09-10 16:13                   ` Timur Tabi
2009-09-10 16:30                     ` Joakim Tjernlund
2009-09-10 17:13                     ` Joakim Tjernlund
2009-09-11  8:44                       ` Joakim Tjernlund
     [not found]                         ` <4AAA6ACD.9040905@free <4AAE55FA.4070702@freescale.com>
2009-09-11 15:20                         ` Timur Tabi
2009-09-14 13:53                           ` Detlev Zundel
2009-09-14 14:18                             ` Wolfgang Grandegger
2009-09-14 14:40                               ` Timur Tabi
2009-09-14 15:54                                 ` Joakim Tjernlund
2009-09-15 11:53                                   ` Wolfgang Grandegger
2009-09-15 12:24                                     ` Joakim Tjernlund
2009-09-15 18:53                                       ` Joakim Tjernlund
2009-09-14 16:01                                 ` Wolfgang Grandegger
2009-09-14 16:18                                   ` Joakim Tjernlund

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=4AA8FF3F.4010105@freescale.com \
    --to=timur@freescale.com \
    --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