- 04 4月, 2019 40 次提交
-
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier to be clearer on the license. Choose the v2 only as this is the default Linux license. Acked-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The Sun4v Hypervisor Core API Specification states: Time is described by a single unsigned 64-bit word equivalent to a time_t for the POSIX time(2) system call. The word contains the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds. Acked-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Call the 64bit versions of rtc_tm time conversion as the hypervisor handles 64bit values. Acked-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier instead of a verbose license text. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Call the 64bit versions of rtc_time_to_tm now that the range is enforced by the core. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The PS3 has a 64bit second counter from 2000. While this exceeds the 64bit UNIX timestamp, there is not doubt that non of them will still be working by then. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
This allows further improvement of the driver. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier instead of a verbose license text. Reviewed-by: NGeert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Call the 64bit versions of rtc_tm time conversion as the PS3 handles 64bit values. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Correct trivial checkpatch warnings, mostly whitespace issues and unbalanced braces. Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier instead of a verbose license text Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Call the 64bit versions of rtc_tm time conversion as the range is enforced by the core. Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The AT91 RTT is a 32bit second counter that is saved in a 32bit global purpose register. Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
This allows further improvement of the driver. Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
ARCH_AT91 is DT only for a while, drop platform data support. Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The SH RTC is a BCD RTC with some version having 4 digits for the year. The range for the RTCs with only 2 digits for the year was unfortunately shifted to handle 1999 to 2098. Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler. This may lead to a NULL pointer dereference. Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc struct before requesting the IRQ. Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be> Tested-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
There is no point in resetting the time to epoch as this means that userspace will never get the valuable information that time is actually invalid. Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be> Tested-by: NGeert Uytterhoeven <geert+renesas@glider.be> [Anders Roxell <anders.roxell@linaro.org>: remove unused variable r] Signed-off-by: NAnders Roxell <anders.roxell@linaro.org> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier instead of a verbose license text Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Call the 64bit versions of rtc_tm time conversion as the range is enforced by the core. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The MSP430 has a 32bit second counter. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
This allows further improvement of the driver. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier instead of a verbose license text Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
This RTC handles dates after 2106 (up to July 2554), call the 64bit versions of rtc_tm time conversion. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Goldfish can be ARM or x86, allow building the driver for more than just MIPS. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Sort headers alphabetically. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
This RTC has a 64bit nanosecond counter. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
This allows further improvement of the driver. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use .set_time instead of the deprecated .set_mmss. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Call the 64bit versions of rtc_tm time conversion as the range is enforced by the core. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
There is no point in caching alarm_time for .read_alarm because .read_alarm is only called at boo time and thus alarm_time is always 0. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Correct trivial whitespace issues. Also sort the headers. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier instead of a verbose license text. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
CCVR is a 32bit second counter. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler. This may lead to a NULL pointer dereference. Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc struct before requesting the IRQ. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Fix checkpatch error: drivers/rtc/rtc-test.c:155: ERROR: do not use assignment in if condition Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Use SPDX-License-Identifier instead of a verbose license text. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Correct trivial whitespace and split strings issues. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Correct trivial checkpatch warnings, mostly whitespace issues and unbalanced braces. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Linus Walleij 提交于
This makes it possible to probe the X1205 RTC from the device tree. This is needed when adding device tree boot support for the IXP4xx-based NSLU2 which has this RTC. Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-