rtc: rv8803: set VDETOFF and SWOFF via device tree
authorOleksij Rempel <fixed-term.Oleksij.Rempel@de.bosch.com>
Wed, 29 Jun 2016 14:40:01 +0000 (16:40 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 12 Oct 2016 11:24:39 +0000 (13:24 +0200)
commit1cd713762e4cd5378a488fd6eaa7507bf030a832
tree56b4ad591010c88ddf7ce2e82933b73dd0528491
parenteff6675b5cc191308c0144dcd5dd2b49257e83d7
rtc: rv8803: set VDETOFF and SWOFF via device tree

There might be designs where the power supply circuit is designed
in a way that VDETOFF and SWOFF is required to be set. Otherwise the
RTC detects a power loss. Add a device tree interface for this.

Signed-off-by: Carsten Resch <Carsten.Resch@de.bosch.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Oleksij Rempel <fixed-term.Oleksij.Rempel@de.bosch.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rv8803.c