From: Dmitry Krivoschekov <dmitry.krivoschekov@gmail.com>
To: Girish <girishsg@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] twl4030-rtc support on 3430
Date: Mon, 10 Dec 2007 19:23:42 +0300 [thread overview]
Message-ID: <475D680E.7040802@gmail.com> (raw)
In-Reply-To: <01ee01c83b2e$1277e1c0$988818ac@ent.ti.com>
Hi Girish,
Girish wrote:
> Hi,
> This patch supports TWL4030 RTC on 3430 and adds periodic interrupts functionality through framework. Also, some code cleanup.
>
could you split your patch into two parts: 1) rtc-twl4030 update and 2)
OMAP3430-specific code.
> Regards,
> Girish
>
>
> ---
> arch/arm/configs/omap_3430sdp_defconfig | 4 +-
> arch/arm/mach-omap2/board-3430sdp.c | 62 ++++++++++++++++++++++++++++++++
> drivers/rtc/rtc-twl4030.c | 46 +++++++++++++++++++++--
> 3 files changed, 106 insertions(+), 6 deletions(-)
>
[snip]
>
>
> static inline void __init sdp3430_init_smc91x(void)
> Index: linux-omap-dec10/drivers/rtc/rtc-twl4030.c
> ===================================================================
> --- linux-omap-dec10.orig/drivers/rtc/rtc-twl4030.c 2007-12-10 11:20:43.000000000 +0530
> +++ linux-omap-dec10/drivers/rtc/rtc-twl4030.c 2007-12-10 12:06:07.992689883 +0530
> @@ -353,6 +353,31 @@
> return ret;
> }
>
> +/*
> + * We will just handle setting the frequency and make use the framework for
> + * reading the periodic interupts.
> + *
> + * @freq: Current periodic IRQ freq:
> + * bit 0: every second
> + * bit 1: every minute
> + * bit 2: every hour
> + * bit 3: every day
> + */
Note, this breaks an assumption that freq is measured in Hz. For
example, RTC Driver Test/Example Program won't pass the "test_PIE" part.
Regards,
Dmitry
next prev parent reply other threads:[~2007-12-10 16:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-10 13:10 [PATCH] twl4030-rtc support on 3430 Girish
2007-12-10 16:23 ` Dmitry Krivoschekov [this message]
2007-12-13 10:52 ` Girish
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=475D680E.7040802@gmail.com \
--to=dmitry.krivoschekov@gmail.com \
--cc=girishsg@ti.com \
--cc=linux-omap-open-source@linux.omap.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.