iio: pressure-core: st: Provide support for the Vdd_IO power supply
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Sep 2013 16:02:00 +0000 (17:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 23 Sep 2013 19:17:58 +0000 (20:17 +0100)
commit71e1980c8d465fd304d867d36f2246b72513efed
tree18fcb702bbef11b3b89cfbbc3707cee045065c44
parent774487611c949e6d194877e7147f6eeeec092b53
iio: pressure-core: st: Provide support for the Vdd_IO power supply

The power to some of the sensors are controlled by regulators. In most
cases these are 'always on', but if not they will fail to work until
the regulator is enabled using the relevant APIs. This patch allows for
the Vdd_IO power supply to be specified by either platform data or
Device Tree.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/st_pressure_core.c
include/linux/iio/common/st_sensors.h