public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Vikram Pandita <vikram.pandita@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v2 1/2] OMAP3:Zoom2: Add TWL4030 support
Date: Mon, 22 Jun 2009 15:51:36 +0300	[thread overview]
Message-ID: <20090622125136.GF7352@atomide.com> (raw)
In-Reply-To: <1245363264-6162-1-git-send-email-vikram.pandita@ti.com>

* Vikram Pandita <vikram.pandita@ti.com> [090619 01:18]:
> Add TWL4030 CORE and TWL4030 drivers to Zoom2 board file
> TWL drivers enabled are:
> 	bci
> 	madc
> 	usb
> 	keypad
> 	mmc
> 
> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
> ---
>  arch/arm/mach-omap2/board-zoom2.c |  209 +++++++++++++++++++++++++++++++++++--
>  1 files changed, 198 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c
> index bcc0f76..443859c 100644
> --- a/arch/arm/mach-omap2/board-zoom2.c
> +++ b/arch/arm/mach-omap2/board-zoom2.c
> @@ -12,17 +12,88 @@
>  #include <linux/kernel.h>
>  #include <linux/init.h>
>  #include <linux/platform_device.h>
> +#include <linux/input.h>
>  #include <linux/gpio.h>
>  #include <linux/i2c/twl4030.h>
> +#include <linux/regulator/machine.h>
>  
>  #include <asm/mach-types.h>
>  #include <asm/mach/arch.h>
>  
>  #include <mach/common.h>
>  #include <mach/usb.h>
> +#include <mach/keypad.h>
>  
>  #include "mmc-twl4030.h"
>  
> +#ifndef CONFIG_TWL4030_CORE
> +#error "no power companion board defined!"
> +#endif

This does not look right. You should still be able to boot the board even without
twl compiled in. Or compile twl as a module. Currently we do have a bug where
mmc-twl4030.c forces mmc core to be compiled in because of the regulator fwk, but
that should be fixed by moving the regulator fwk calls to drivers/mmc/host/omap_hsmmc.c.

Regards,

Tony

  reply	other threads:[~2009-06-22 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18 22:14 [PATCH v2 1/2] OMAP3:Zoom2: Add TWL4030 support Vikram Pandita
2009-06-22 12:51 ` Tony Lindgren [this message]
2009-06-22 16:32   ` Pandita, Vikram

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=20090622125136.GF7352@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=vikram.pandita@ti.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