linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: linux-i2c@vger.kernel.org
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>,
	Jean Delvare <jdelvare@suse.com>,
	Jarkko Nikula <jarkko.nikula@linux.intel.com>,
	"Chew, Kean ho" <kean.ho.chew@intel.com>
Subject: i2c-i801 / SMBus timeouts on BayTrail board (U-Boot)
Date: Fri, 24 Jun 2016 13:57:21 +0200	[thread overview]
Message-ID: <576D2021.4030808@denx.de> (raw)

Hi,

I'm currently trying to use the SMBus on a congatec BayTrail board.
This works just fine when booting via the original BIOS. But when I
boot into Linux using U-Boot as bootloader, I get the following
errors:

[   81.877121] i801_smbus 0000:00:1f.3: Transaction timeout
[   81.879228] i801_smbus 0000:00:1f.3: Failed terminating the transaction
[   81.879320] i801_smbus 0000:00:1f.3: SMBus is busy, can't use it!
[   81.879373] i801_smbus 0000:00:1f.3: SMBus is busy, can't use it!
[   81.879421] i801_smbus 0000:00:1f.3: SMBus is busy, can't use it!
[   81.879496] i801_smbus 0000:00:1f.3: SMBus is busy, can't use it!
...

I checked with an oscilloscope and the SMBus clock is not toggling
at all in this case. My feeling is, that some basic setup is missing
in this non-BIOS case. Like some clock enabling. Does anyone of you
have some idea here?

Thanks,
Stefan

             reply	other threads:[~2016-06-24 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 11:57 Stefan Roese [this message]
2016-06-24 13:38 ` i2c-i801 / SMBus timeouts on BayTrail board (U-Boot) Jean Delvare
2016-06-24 14:33   ` Stefan Roese

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=576D2021.4030808@denx.de \
    --to=sr@denx.de \
    --cc=jarkko.nikula@linux.intel.com \
    --cc=jdelvare@suse.com \
    --cc=kean.ho.chew@intel.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).