I've reviewed this patch and based upon my experience with the OMAP3
EVM believe it should also work on the beagleboard.
Acked-by: Steve Sakoman <[EMAIL PROTECTED]>
On Thu, May 8, 2008 at 9:35 AM, Koen Kooi <[EMAIL PROTECTED]> wrote:
> This patch adds RTC support to the omap3 based beagleboard
>
> Signed-off-by: Koen Kooi <[EMAIL PROTECTED]>
> ---
> arch/arm/mach-omap2/board-omap3beagle.c | 11 +++++++++++
> 1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c
> b/arch/arm/mach-omap2/board-omap3beagle.c
> index 626f004..e7b471b 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -58,11 +58,22 @@ 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)
> {
> omap_board_config = omap3_beagle_config;
> --
> 1.5.4.3
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html