All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] omap3 i2c issues
Date: Tue, 16 Nov 2010 09:53:01 +0100	[thread overview]
Message-ID: <4CE2466D.8070807@denx.de> (raw)
In-Reply-To: <AANLkTini_d51RcJxjEHJe5RK+s8tejaTfjZJP9fUJhz-@mail.gmail.com>

Hello Murali,

Murali K. Vemuri wrote:
> I am using a omap3 based board and U-Boot version 03.00.02.07.

There is no such a version in mainline ...

> when I do "i2c probe", this results in : 38  3C  3D  3F.
> 
> I found that Kernel TWL is dumping messages to 48  49  4A & 4B.
> 
> I tried the the same on the "reference board and the corresponding
> u-boot" supplied from Mistral , when I type "iprobe", I get the
> output: 48 49 4A 4B.

here on my omap3_beagle board:

U-Boot 2010.09-05496-gbafe743-dirty (Oct 14 2010 - 09:26:57)

OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  256 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Beagle Rev C1/C2/C3
Die ID #00b000030000000004013f8a1700900c
Hit any key to stop autoboot:  0
OMAP3 beagleboard.org # i2c probe
Valid chip addresses: 48 49 4A 4B
OMAP3 beagleboard.org #

So, I think, i2c driver should be ok.

> I further verified that on my board, if I do "i2c mw 0x3C 0 0x34 0x10"
> I am able to write into I2C and "i2c md 0x3C 0 0x10" I am able to read
> back . This however, works only on 0x3c. "mw" & "md" are working on
> 0x3c only. 38, 3d & 3f are returning error.
> 
> I could not understand what is missing here? How come my board U-boot
> is getting a chip id different?
> is there a setting that I can do? my Hardware engineer says the OMAP3
> connections are same between our board and evm board.

pinsetup, clock setup?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2010-11-16  8:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16  8:21 [U-Boot] omap3 i2c issues Murali K. Vemuri
2010-11-16  8:53 ` Heiko Schocher [this message]
2010-11-16 10:23   ` Murali K. Vemuri

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=4CE2466D.8070807@denx.de \
    --to=hs@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 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.