Re: [PATCH] regulator: implement basic reference counter

2023-03-27 Thread Eugen Hristev
On 3/18/23 22:20, Simon Glass wrote: Hi Eugen, On Thu, 16 Mar 2023 at 07:53, Eugen Hristev wrote: Some devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be

Re: [PATCH] regulator: implement basic reference counter

2023-03-18 Thread Simon Glass
Hi Eugen, On Thu, 16 Mar 2023 at 07:53, Eugen Hristev wrote: > > Some devices share a regulator supply, when the first one will request > regulator disable, the second device will have it's supply cut off before > graciously shutting down. Hence there will be timeouts and other failed >

[PATCH] regulator: implement basic reference counter

2023-03-16 Thread Eugen Hristev
Some devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be timeouts and other failed operations. Implement a reference counter mechanism similar with what is done in