Issue seen with FET re-enable during auto discharge time
Hi Mark,
In one of our system, we are using TPS65090 which has FET switches for power control. This has also the auto discharger resistance for turning -off.
We observed that when we disable the FET and re-enable before it completely off (during power discharge time), it does not get enabled. It enable only if wait for it to completely off.
Does this mean we should also provide the disable time for tuning off (optional) so that disable_regulator() should return after actually tuning off? In downstream, we stressed this after putting delay and it worked fine.
Thanks,
Laxman
Quoted 1 line · Laxman Dewangan
Hi Mark,
Please send messages to advertised maintainer addresses; for me upstream things sent to my work address will not get dealt with so quickly.
Quoted 4 lines
In one of our system, we are using TPS65090 which has FET switches for power control. This has also the auto discharger resistance for turning -off.
Quoted 8 lines
We observed that when we disable the FET and re-enable before it completely off (during power discharge time), it does not get enabled. It enable only if wait for it to completely off.
Does this mean we should also provide the disable time for tuning off (optional) so that
disable_regulator()should return after actually tuning off?
In downstream, we stressed this after putting delay and it worked fine.
This is the first time I've heard of hardware with that sort of breakage, you probably want to interview the hardware engineers... in any case I'd not implement this just as a delay, it seems better to return immediately on disable and instead store or set a timer for the earliest time that we can reenable the regulator. The delay can then be implemented on enable if required. This will be more consistent with the normal behaviour so will avoid surprises for consumers. Of course this is pretty uncommon so perhaps it's as well to start off with the trivial implementation...