]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitf86ff7480c3efc7398b366b6d16158768c878d36
treeadab8f2036b0e598960d4bf54b9f97755eb2ca3b
parent2756db5e90ac4b881d5926bdeef75e84a128aa8d
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