[PATCH 0/4] iio: light: stk3310: support powering off during suspend
Aren Moynihan
aren at peacevolution.org
Sun Apr 14 10:53:00 PDT 2024
In the Pine64 PinePhone, the stk3310 chip is powered by a regulator that is
disabled at system boot and can be shut off during suspend. To ensure that
the chip properly initializes, both after boot and suspend, we need to
manage this regulator.
Additionally if the chip is shut off in suspend, we need to make sure that
it gets reinitialized with the same parameters after resume.
Aren Moynihan (2):
dt-bindings: iio: light: stk33xx: add regulator for vdd supply
iio: light: stk3310: log error if reading the chip id fails
Ondrej Jirman (2):
iio: light: stk3310: Implement vdd supply and power it off during
suspend
arm64: dts: allwinner: pinephone: Add power supply to stk3311
.../bindings/iio/light/stk33xx.yaml | 1 +
.../dts/allwinner/sun50i-a64-pinephone.dtsi | 1 +
drivers/iio/light/stk3310.c | 60 +++++++++++++++++--
3 files changed, 58 insertions(+), 4 deletions(-)
--
2.44.0
More information about the linux-arm-kernel
mailing list