]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit75455e258ea2b3ea08f08edc41735a447c3e7711
tree114d9cb608c5206ed172ef7311d436faeec89729
parenta26ec8857da387303c6121a8aff7b7544a981690
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