]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio:pressure:ms5611: power regulator support
authorGrégor Boirie <gregor.boirie@parrot.com>
Wed, 17 Feb 2016 17:52:51 +0000 (18:52 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 24 Feb 2016 20:40:47 +0000 (20:40 +0000)
commit3145229f91916723b07c098c0d88b7d01db6c316
tree981c2f175e5b6a7e1b9335b827cf1836bf29730f
parenteac635ebad41b4fa960386fd0b042764f275b4d4
iio:pressure:ms5611: power regulator support

Add support for an optional regulator which, if found into device-tree,
will power on device at probing time.
The regulator is declared into ms5611 DTS entry as a "vdd-supply" property.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/ms5611_core.c