public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: Dinh.Nguyen@freescale.com
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, s.hauer@pengutronix.de,
	valentin.longchamp@epfl.ch, grant.likely@secretlab.ca,
	xiao-lizhang@freescale.com
Subject: Re: [PATCHv2 2.6.34 1/2] mx5: Add i2c to Freescale MX51 Babbage HW
Date: Thu, 27 May 2010 17:02:38 +0200	[thread overview]
Message-ID: <20100527150238.GH2695@buzzloop.caiaq.de> (raw)
In-Reply-To: <1274972269-6946-1-git-send-email-Dinh.Nguyen@freescale.com>

On Thu, May 27, 2010 at 09:57:48AM -0500, Dinh.Nguyen@freescale.com wrote:
> This patch adds I2C functionality to the Freescale MX51 Babbage HW.
> The patch adds device structures, i2c board slave device defines,
> IOMUX pin defines, and clocks.
> 
> Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
> ---
>  arch/arm/mach-mx5/clock-mx51.c              |   11 +++++
>  arch/arm/mach-mx5/devices.c                 |   58 +++++++++++++++++++++++++++
>  arch/arm/mach-mx5/devices.h                 |    3 +
>  arch/arm/plat-mxc/include/mach/iomux-mx51.h |   18 ++++++---
>  4 files changed, 84 insertions(+), 6 deletions(-)
> 

[...]

>  static struct resource usbotg_resources[] = {
> diff --git a/arch/arm/mach-mx5/devices.h b/arch/arm/mach-mx5/devices.h
> index 0494d6b..d0451bf 100644
> --- a/arch/arm/mach-mx5/devices.h
> +++ b/arch/arm/mach-mx5/devices.h
> @@ -5,3 +5,6 @@ extern struct platform_device mxc_fec_device;
>  extern struct platform_device mxc_usbdr_host_device;
>  extern struct platform_device mxc_usbh1_device;
>  extern struct platform_device mxc_usbdr_udc_device;
> +extern struct platform_device mxc_i2c_device0;
> +extern struct platform_device mxc_i2c_device1;
> +extern struct platform_device mxc_hsi2c_device;
> diff --git a/arch/arm/plat-mxc/include/mach/iomux-mx51.h b/arch/arm/plat-mxc/include/mach/iomux-mx51.h
> index ab0f95d..6ea6861 100644
> --- a/arch/arm/plat-mxc/include/mach/iomux-mx51.h
> +++ b/arch/arm/plat-mxc/include/mach/iomux-mx51.h
> @@ -38,6 +38,8 @@ typedef enum iomux_config {
>  				PAD_CTL_SRE_FAST)
>  #define MX51_UART3_PAD_CTRL	(PAD_CTL_PKE | PAD_CTL_DSE_HIGH | \
>  				PAD_CTL_SRE_FAST)
> +#define MX51_I2C_PAD_CTRL		(PAD_CTL_SRE_FAST | PAD_CTL_ODE | \
> ++				PAD_CTL_DSE_HIGH | PAD_CTL_PUS_100K_UP | PAD_CTL_HYS)
   ^
I believe something went wrong here.

Daniel


      parent reply	other threads:[~2010-05-27 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 14:57 [PATCHv2 2.6.34 1/2] mx5: Add i2c to Freescale MX51 Babbage HW Dinh.Nguyen
2010-05-27 14:57 ` [PATCHv2 2.6.34 2/2] mx5: Register i2c on " Dinh.Nguyen
2010-05-27 15:02 ` Daniel Mack [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=20100527150238.GH2695@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --cc=Dinh.Nguyen@freescale.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=valentin.longchamp@epfl.ch \
    --cc=xiao-lizhang@freescale.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