]> git.baikalelectronics.ru Git - uboot.git/commit
rtc: m41t62: add compatible for m41t82
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 28 Mar 2019 20:11:49 +0000 (21:11 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 24 Apr 2019 22:00:49 +0000 (00:00 +0200)
commit8bdf696b1039c08ff3358ea59af40684fe5a7a85
treee9611d73f0f3752dda794df85b59d9c6e8131e3b
parentfb2ced399e0ac4830ef0f302b702574a4fc2ac7d
rtc: m41t62: add compatible for m41t82

This adds a compatible string for m41t82. This ensures that this driver
can be used for m41t82 in DM mode, too (asit was usable for this model in
non-DM mode before).

In addition, the HT bit has to be reset during probe, since the m41t82
chip sets it when entering battery standby mode.

This patch ensures this driver works on socfpga_socrates.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/rtc/m41t62.c