Re: [PATCH v3 2/2] iio: light: veml3328: add support for new device

From: Joshua Crofts

Date: Sun May 31 2026 - 12:45:07 EST


On Sun, 31 May 2026 at 11:19, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> > + pm_runtime_set_active(dev);
> > + pm_runtime_set_autosuspend_delay(dev, 2000);
> > + pm_runtime_use_autosuspend(dev);
>
> As per other thread check this results in power down.
> If it doesn't, try moving autosupend calls after devm_pm_runtime_enable()
> and see if that is enough. Otherwise, you can either manipulate the counters
> or I think just call pm_runtime_idle() to force it off immediately.

Just to confirm, I've tested this on the actual hardware and it did autosuspend
after probe, so I'm going to say that Sashiko is a bit off for once.

--
Kind regards

CJD