Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Koen Kooi <k.kooi@student.utwente.nl>
Cc: linux-omap@vger.kernel.org
Subject: Re: [Resend] [PATCH] ARM: OMAP: add RTC support to beagleboard
Date: Wed, 14 May 2008 15:42:53 -0700	[thread overview]
Message-ID: <20080514224253.GE8928@atomide.com> (raw)
In-Reply-To: <C5EF98DB-8FEF-4AE0-A6BF-7D3FD1E41313@student.utwente.nl>

* Koen Kooi <k.kooi@student.utwente.nl> [080513 01:20]:
> This patch adds RTC support to the omap3 based beagleboard

I've pushed this after tweaking it manually again. It seems it was for
some older kernel? Also you should check your mail client or smtp server
to make sure patches don't wrap like this one is wrapped. It makes it
hard to read and apply them.

Anyways, can you please check that the patch got applied OK?

Thanks,

Tony


> Signed-off-by: Koen Kooi <koen@openembedded.org>
> ---
>  arch/arm/mach-omap2/board-omap3beagle.c |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach- 
> omap2/board-omap3beagle.c
> index 626f004..0c0cbfc 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -58,13 +58,25 @@ static struct omap_mmc_config omap3beagle_mmc_config 
> __initdata = {
>  	},
>  };
>
> +static struct platform_device omap3_beagle_twl4030rtc_device = {
> +	.name           = "twl4030_rtc",
> +	.id             = -1,
> +};
> +
>  static struct omap_board_config_kernel omap3_beagle_config[] __initdata 
> = {
>  	{ OMAP_TAG_UART,	&omap3_beagle_uart_config },
>  	{ OMAP_TAG_MMC,		&omap3beagle_mmc_config },
>  };
>
> +static struct platform_device *omap3_beagle_devices[] __initdata = {
> +#ifdef CONFIG_RTC_DRV_TWL4030
> +	&omap3_beagle_twl4030rtc_device,
> +#endif
> +};
> +
>  static void __init omap3_beagle_init(void)
>  {
> +	platform_add_devices(omap3_beagle_devices,  
> ARRAY_SIZE(omap3_beagle_devices));
>  	omap_board_config = omap3_beagle_config;
>  	omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
>  	omap_serial_init();
> -- 
> 1.5.4.3
>
>

  reply	other threads:[~2008-05-14 22:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-13  8:17 [Resend] [PATCH] ARM: OMAP: add RTC support to beagleboard Koen Kooi
2008-05-14 22:42 ` Tony Lindgren [this message]
2008-05-14 22:56   ` Felipe Balbi
2008-05-15  6:41     ` Koen Kooi

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=20080514224253.GE8928@atomide.com \
    --to=tony@atomide.com \
    --cc=k.kooi@student.utwente.nl \
    --cc=linux-omap@vger.kernel.org \
    /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