u-boot/drivers/rtc
Rasmus Villemoes b8a42e0fcb rtc: pcf2127: don't add/subtract 1 to tm_mon
As noted in rtc_def.h, the tm_mon field in struct rtc_time is 1-12,
unlike in struct tm where it is 0-11. Currently, running "date" prints
the wrong

Date: 2020-04-01 (Friday)    Time: 13:05:30

and setting the RTC via the date command is also broken.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2020-05-01 11:34:01 -04:00
..
at91sam9_rtt.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
davinci.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
ds164x.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
ds174x.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
ds1302.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
ds1306.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
ds1307.c rtc: ds1307: add support for m41t11 2019-07-13 11:11:26 -04:00
ds1337.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
ds1374.c rtc: ds1374: typo Watchdog 2020-04-24 16:40:09 -04:00
ds1556.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ds3231.c rtc: ds3231/ds3232: fix coding style 2019-09-19 12:18:53 -04:00
ds3232.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ftrtc010.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
i2c_rtc_emul.c drivers: rtc: resolve year 2038 problem in rtc_to_tm 2018-07-19 17:03:36 -04:00
imxdi.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
isl1208.c rtc: Add read8 and write8 support to isl1208 driver 2018-10-08 14:45:02 -04:00
Kconfig rtc: add support for DS3232 device 2020-01-10 10:25:13 -05:00
m41t11.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
m41t60.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
m41t62.c rtc: m41t62: add compatible for m41st87 2020-03-01 22:07:32 +01:00
m41t94.c Fix for Void function returning value in sbc35-a9g20 2009-11-27 16:26:11 -06:00
m48t35ax.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
Makefile rtc: add support for DS3232 device 2020-01-10 10:25:13 -05:00
max6900.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
mc13xxx-rtc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mc146818.c Patch queue for efi - 2018-07-25 2018-07-30 16:02:29 -04:00
mcfrtc.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
mk48t59.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
mvrtc.c drivers/rtc: convert mvrtc to DM 2018-06-05 20:19:09 -04:00
mvrtc.h drivers/rtc: convert mvrtc to DM 2018-06-05 20:19:09 -04:00
mx27rtc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mxsrtc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pcf2127.c rtc: pcf2127: don't add/subtract 1 to tm_mon 2020-05-01 11:34:01 -04:00
pcf8563.c rtc: pcf8563: Add driver model support 2020-02-04 16:20:25 +05:30
pl031.c rtc: pl031: convert the driver to driver model 2018-09-23 21:55:31 +02:00
pt7c4338.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rs5c372.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
rtc-lib.c rtc: export rtc_month_days() 2019-05-31 23:27:12 +02:00
rtc-uclass.c rtc: Allow child drivers 2018-11-29 09:30:05 -07:00
rv3029.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
rv8803.c rtc: add Microcrystal RV-8803 driver 2019-07-13 11:11:28 -04:00
rx8010sj.c rtc: rx8010js: add compatible string 2019-12-27 14:34:29 +01:00
rx8025.c rtc, rx8025: add DM support 2019-07-29 09:32:12 -04:00
s3c24x0_rtc.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00
s35392a.c rtc: s35392a: encode command correctly 2020-01-27 19:54:20 -05:00
sandbox_rtc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_rtc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
x1205.c rtc: remove CONFIG_CMD_DATE dependency 2018-07-25 15:00:24 +02:00