public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] i2c, mpc83xx: add CONFIG_SYS_I2C_INIT_BOARD for fsl_i2c
Date: Tue, 21 Jul 2009 17:11:23 +0200	[thread overview]
Message-ID: <4A65DA9B.8030409@denx.de> (raw)
In-Reply-To: <4A55C0AA.30006@denx.de>

Hello Heiko

Heiko Schocher wrote:
> This patch adds the possibility to call a board specific
> i2c bus reset routine for the fsl_i2c bus driver, and adds
> this option for the keymile kmeter1 board.
> 
> The deblock sequence for this board is implemented and
> tested in the following way:
> 
> CR = 0x20 (release SDA and SCL pin)
> CR = 0xa0 (start read)
> dummy read
> dummy read
> if 2. dummy read == 0x00
> 	3. dummy read
> 
> CR = 0x80 (SDA and SCL now 1 SR = 0x86)
> CR = 0x00 (Modul reset SR=0x81)
> CR = 0x80 (SDA and SCL = 1, SR = 0x81)
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
>  board/keymile/common/common.c |   20 ++++++++++++++++++++
>  drivers/i2c/fsl_i2c.c         |    6 ++++++
>  include/configs/kmeter1.h     |    1 -
>  3 files changed, 26 insertions(+), 1 deletions(-)

Applied to u-boot-i2c.git

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

      reply	other threads:[~2009-07-21 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 10:04 [U-Boot] [PATCH 2/3] i2c, mpc83xx: add CONFIG_SYS_I2C_INIT_BOARD for fsl_i2c Heiko Schocher
2009-07-21 15:11 ` Heiko Schocher [this message]

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=4A65DA9B.8030409@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox