From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Fri, 05 Aug 2016 16:45:34 -0700 Subject: [PATCH v4 2/3] ARM: davinci_all_defconfig: enable RTC driver as module In-Reply-To: <20160805202951.2848-3-kbeldan@baylibre.com> (Karl Beldan's message of "Fri, 5 Aug 2016 20:29:50 +0000") References: <20160804144332.4841-1-kbeldan@baylibre.com> <20160805202951.2848-1-kbeldan@baylibre.com> <20160805202951.2848-3-kbeldan@baylibre.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Karl Beldan writes: > This driver handles the RTC of most davinci SoCs. > > Cc: Sekhar Nori > Cc: Kevin Hilman > Signed-off-by: Karl Beldan Acked-by: Kevin Hilman Tested-by: Kevin Hilman Tested on da850-lcdk using tools/testing/selftests/timers/rtctest.c: / # ./rtctest RTC Driver Test Example. Counting 5 update (1/sec) interrupts from reading /dev/rtc0: 1 2 3 4 5 Again, from using select(2) on /dev/rtc: 1 2 3 4 5 Current RTC date/time is 1-1-2000, 00:00:25. Alarm time now set to 00:00:30. Waiting 5 seconds for alarm... okay. Alarm rang. Periodic IRQ rate is 1Hz. Counting 20 interrupts at: 2Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 8Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 16Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 32Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 64Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 *** Test complete ***