Re: [PATCH] regulator: bd718x7: Ensure SNVS power state is used as requested

From: Matti Vaittinen
Date: Mon May 05 2025 - 02:07:15 EST


On 03/05/2025 12:23, Esben Haabendal wrote:

What do you think, should we leave it in the current state, or can we
figure out a way to allow the driver to actively change the watchdog
reset to go to SNVS power state?

I can't really think of a safe way other than adding a new property.

The IC is oldish, and AFACS, quite widely used. People seem to have found a way to make it work without (in-tree) feature for changing the reset target to the SNVS. I wouldn't try to implement this unless we have a use-case really requiring it. So, I'd suggest you to do it in boot. Still, if you have a valid case for this to be done in the driver - then I have no reason to object adding a new binding + support in the driver.

Yours,
-- Matti