[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6ED8E3B22081A4459DAC7699F3695FB70221795DAD@SW-EX-MBX02.diasemi.com>
Date: Wed, 2 Jan 2019 15:31:36 +0000
From: Steve Twiss <stwiss.opensource@...semi.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
CC: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>,
Matti Vaittinen <mazziesaccount@...il.com>,
Greg KH <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Support Opensource <Support.Opensource@...semi.com>,
Mark Brown <broonie@...nel.org>
Subject: RE: [PATCH] regmap: regmap-irq: silently ignore unsupported type
settings
Hi Geert,
On 01 January 2019 @17:36, Geert Uytterhoeven wrote:
> Subject: Re: [PATCH] regmap: regmap-irq: silently ignore unsupported type settings
> On Mon, Dec 31, 2018 at 8:14 PM Mark Brown <broonie@...nel.org> wrote:
> > On Sat, Dec 29, 2018 at 12:13:32PM +0100, Geert Uytterhoeven wrote:
> > > > Geert, do you know if anyone vould to test this?
> >
> > > Thanks, that seems to fix the issue with da9063-rtc.
> >
> > > I don't know how to trigger an actual interrupt, though.
> >
> > If it's a RTC does it have an alarm you can set?
>
> That's what I had expected, too, but there is no alarm file under
> /sys/class/rtc/.
>
> Gr{oetje,eeting}s,
>
> Geert
To communicate with the DA9063 RTC I am use ioctl function calls
- RTC_SET_TIME
- RTC_RD_TIME
- RTC_ALM_SET
- RTC_ALM_READ
- RTC_AIE_ON
- RTC_AIE_OFF
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/rtc.txt
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/rtc
Although I don't use the test programs found in Linux, the ioctl calls I
make are shown in the Linux selftests. I believe that Alexandre Belloni
updated the RTC tests recently -- but I am not up to date with the latest.
git show d8da8665e8e34c14f9b20fe3f21dff29b24cbf02:tools/testing/selftests/rtc/rtctest.c
Regards,
Steve
Powered by blists - more mailing lists