public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 5/8] mxc_i2c: add support for MX53 processor
Date: Wed, 13 Jul 2011 11:57:05 +0200	[thread overview]
Message-ID: <201107131157.06362.marek.vasut@gmail.com> (raw)
In-Reply-To: <1294129662-680-5-git-send-email-r64343@freescale.com>

On Tuesday, January 04, 2011 09:27:39 AM Jason Liu wrote:
> This patch add I2C support for Freescale MX53 processor
> 
> Signed-off-by: Jason Liu <r64343@freescale.com>
> 
-- SNIP --
> 
> +#if defined(CONFIG_MX31)
> +	freq = mx31_get_ipg_clk();
>  	/* start the required I2C clock */
>  	__REG(CCM_CGR0) = __REG(CCM_CGR0) | (3 << I2C_CLK_OFFSET);
> +#else
> +	freq = mxc_get_clock(MXC_IPG_PERCLK);

Jason, this here is incorrect, I CCed you with my "rework of i2c_mxc" patch 
where this is fixed, as well as the driver is more stable (at least for me on 
imx51). The correct source here should be MXC_IPG_CLK.

Cheers

> +#endif
> 
>  	for (i = 0; i < 0x1f; i++)
>  		if (freq / div[i] <= speed)

  parent reply	other threads:[~2011-07-13  9:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04  8:27 [U-Boot] [PATCH v4 1/8] MX5: Add initial support for MX53 processor Jason Liu
2011-01-04  8:27 ` [U-Boot] [PATCH v4 2/8] fec_mxc: add " Jason Liu
2011-01-12  9:46   ` Stefano Babic
2011-01-04  8:27 ` [U-Boot] [PATCH v4 3/8] serial_mxc: " Jason Liu
2011-01-12  9:46   ` Stefano Babic
2011-01-04  8:27 ` [U-Boot] [PATCH v4 4/8] mxc_gpio: " Jason Liu
2011-01-12  9:47   ` Stefano Babic
2011-01-04  8:27 ` [U-Boot] [PATCH v4 5/8] mxc_i2c: " Jason Liu
2011-01-12  9:47   ` Stefano Babic
2011-01-17 22:55     ` Wolfgang Denk
2011-01-18  6:17       ` Heiko Schocher
2011-07-13  9:57   ` Marek Vasut [this message]
2011-01-04  8:27 ` [U-Boot] [PATCH v4 6/8] fsl_pmic: add I2C interface support Jason Liu
2011-01-12  9:47   ` Stefano Babic
2011-01-04  8:27 ` [U-Boot] [PATCH v4 7/8] imximage: Add MX53 boot image support Jason Liu
2011-01-12  9:38   ` Stefano Babic
2011-01-12  9:48   ` Stefano Babic
2011-01-17 22:54   ` Wolfgang Denk
2011-01-18  7:12     ` Stefano Babic
2011-01-18  9:24       ` Wolfgang Denk
2011-01-18 10:20         ` Stefano Babic
2011-01-20 21:28           ` Albert ARIBAUD
2011-01-21  9:16             ` Stefano Babic
2011-01-18 14:53         ` Jason Liu
2011-01-18 14:56           ` Wolfgang Denk
2011-01-18 14:59             ` Jason Liu
2011-01-18 15:28               ` stefano babic
2011-01-18 15:15     ` Jason Liu
2011-01-18 19:34       ` Wolfgang Denk
2011-01-04  8:27 ` [U-Boot] [PATCH v4 8/8] MX5:MX53: add initial support for MX53EVK board Jason Liu
2011-01-12  9:48   ` Stefano Babic
2011-01-09 23:20 ` [U-Boot] [PATCH v4 1/8] MX5: Add initial support for MX53 processor Wolfgang Denk
2011-01-10  1:23   ` Jason Liu
2011-01-12  9:45 ` Stefano Babic

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=201107131157.06362.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.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