lkml.org 
[lkml]   [2015]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [rtc-linux] [PATCH V1 3/6] rtc: da9062: DA9062 RTC driver
    Date
    On 10 May 2015 10:59 Alexandre Belloni wrote:

    > Hi,
    >
    > On 17/04/2015 at 15:23:33 +0100, S Twiss wrote :
    > > From: S Twiss <stwiss.opensource@diasemi.com>
    > >
    > > Add RTC driver support for DA9062

    [...]

    > This is an almost exact copy of drivers/rtc/rtc-da9063.c, apart from the
    > retry mechanism in read_time. Can you simply add support for the da9062
    > in that driver?


    Hi Alexandre,

    Something similar is being discussed for the OnKey component of the DA9062.
    https://lkml.org/lkml/2015/4/24/304

    It is only the OnKey and RTC components that are similar to the DA9063 chip
    and I was hoping to keep the 62 RTC separate in this case ... however it should
    definitely be possible to re-use the DA9063 RTC driver if this is your requirement.
    If this will block my submission of the DA9062 then I will drop the RTC from my
    next patch set and try to re-work the existing 63 RTC driver accordingly.

    I think this sort of thing has been done before:
    https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/rtc/rtc-pm8xxx.c
    ... at first glance -- it seems to support that sort of thing.

    I guess it would be possible to rename the da9063-rtc to something more sensible like
    da9xxx-rtc.c if this goes ahead?

    Regards,
    Steve


    \
     
     \ /
      Last update: 2015-05-13 14:41    [W:5.025 / U:0.156 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site