summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/st_magn_i2c.c
diff options
context:
space:
mode:
authorAnson Huang <anson.huang@nxp.com>2019-01-08 12:16:04 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-01-12 22:00:23 +0300
commit1dca9bdec6cbec80de7ddd0f2df05886c1fa82bc (patch)
tree8244f3d1435e413c642b5f02755a715d8cb2d37f /drivers/iio/magnetometer/st_magn_i2c.c
parent192778fb969c2b9bc33d559b9c7aecdd1498c1ba (diff)
downloadlinux-1dca9bdec6cbec80de7ddd0f2df05886c1fa82bc.tar.xz
iio: magnetometer: mag3110: add vdd/vddio regulator operation support
The magnetometer's power supplies could be controllable on some platforms, such as i.MX6Q-SABRESD board, the mag3110's power supplies are controlled by a GPIO fixed regulator, need to make sure the regulators are enabled before any communication with mag3110, this patch adds vdd/vddio regulator operation support. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/magnetometer/st_magn_i2c.c')
0 files changed, 0 insertions, 0 deletions