summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_netx.c
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2019-11-07 19:43:42 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-11-10 17:00:34 +0100
commit26a0ffeed95190c72da398ae9f655507dc87550f (patch)
tree777286ee0e1256b38e04cca5c8dd1caac518f2e7 /drivers/uio/uio_netx.c
parentdt-bindings: iio: imu: mpu6050: add vdd-supply (diff)
downloadlinux-26a0ffeed95190c72da398ae9f655507dc87550f.tar.xz
linux-26a0ffeed95190c72da398ae9f655507dc87550f.zip
iio: imu: mpu6050: Add support for vdd-supply regulator
MPU6050 has two power supply pins: VDD and VLOGIC, but the mpu6050 driver only supports enabling one of them at the moment. In some cases, they may need to be enabled separately. Add an additional "vdd-supply" that stays enabled for as long as the driver is loaded. We cannot turn off the VDD regulator during suspend as this would cause register settings (FSR, sampling rate, ...) to be lost. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/uio/uio_netx.c')
0 files changed, 0 insertions, 0 deletions