]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: abx80x: Configure reserved bits in RV1805
authorMarek Vasut <marex@denx.de>
Tue, 29 Jan 2019 11:40:28 +0000 (12:40 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 30 Jan 2019 15:09:36 +0000 (16:09 +0100)
commitd32c6ca0c6f9e1bbf38398680f16dd2db7893056
tree114d9cb608c5206ed172ef7311d436faeec89729
parent44625e5bbb076bde824969320dcc4ea08590b16f
rtc: abx80x: Configure reserved bits in RV1805

The RV1805 uses smaller package than the AB1805, discern those two
chips based on the compatible value and configure reserved bits in
the RV1805 to prevent current leakage and accidental test mode entry.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: linux-rtc@vger.kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-abx80x.c