]> git.baikalelectronics.ru Git - kernel.git/commit
iio: sx9310: Enable vdd and svdd regulators at probe
authorStephen Boyd <swboyd@chromium.org>
Mon, 3 Aug 2020 23:58:14 +0000 (17:58 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Sep 2020 18:40:43 +0000 (19:40 +0100)
commit63a1bb50d8e5801ba8904511eda358a479258673
treeadab8f2036b0e598960d4bf54b9f97755eb2ca3b
parent05da46198cf2750de500673735868e4e4318c67c
iio: sx9310: Enable vdd and svdd regulators at probe

Enable the main power supply (vdd) and digital IO power supply (svdd)
during probe so that the i2c communication and device works properly on
boards that aggressively power gate these supplies.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Daniel Campello <campello@chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/sx9310.c