public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Konstantinos Margaritis <markos@freevec.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] i2c issues with efikamx and mainline uboot
Date: Thu, 21 Nov 2013 01:15:18 +0200	[thread overview]
Message-ID: <20131121011518.ff07a327d9d3ea183aeacf59@freevec.org> (raw)
In-Reply-To: <1815682388.492097.1384880539668.JavaMail.zimbra@advansee.com>

On Tue, 19 Nov 2013 18:02:19 +0100 (CET)
Beno?t Th?baudeau <benoit.thebaudeau@advansee.com> wrote:
> I use the i.MX515, and the I?C worked fine at some point in mainline
> U-Boot. If it does not work for you now, it's either because of a
> software regression, or because of some board-specific issue, e.g.
> pads. SION may have to be set for I?C.

Hi Beno?t,

By "SION may have to be set for I?C", do you mean that
IOMUX_CONFIG_SION might have to be defined and ORed in the MX51 pads
in arch/arm/include/asm/arch-mx5/iomux-mx51.h just is it is set in
arch/arm/include/asm/arch-mx5/iomux-mx53.h, for example:

MX53_PAD_KEY_COL3__I2C2_SCL = IOMUX_PAD(0x364, 0x03C, 4 |
IOMUX_CONFIG_SION, 0x81C, 0, NO_PAD_CTRL),

How do I know in which ones do I have to set SION? I've added some
pad defines in the mx51 file, needed for LCD bringup, and I hope I did
it the right way -at least I followed the RM as close as I could and
Marek was of tremendous help here, but I didn't even know about that
SION thing while doing that. I'd gladly try it out, before following
Fabio's advice and try to merge the patches to the u-boot-imx tree
-tried already but they don't apply cleanly, I'll have to do it when I
get more free time, most likely during the weekend.

Regards

Konstantinos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131121/f72684af/attachment.pgp>

  reply	other threads:[~2013-11-20 23:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 13:17 [U-Boot] i2c issues with efikamx and mainline uboot Konstantinos Margaritis
2013-11-19 15:37 ` Marek Vasut
2013-11-19 17:02   ` Benoît Thébaudeau
2013-11-20 23:15     ` Konstantinos Margaritis [this message]
2013-11-21  0:09       ` Benoît Thébaudeau
2013-11-19 17:02 ` Fabio Estevam

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=20131121011518.ff07a327d9d3ea183aeacf59@freevec.org \
    --to=markos@freevec.org \
    --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