Re: [PATCH v2] bus: ti-sysc: Add generic enable/disable functions
From: Tony Lindgren
Date: Thu Apr 11 2019 - 12:59:57 EST
Hi,
* Roger Quadros <rogerq@xxxxxx> [190408 02:53]:
> For non legacy cases, add generic sysc_enable_module()
> and sysc_disable_module() functions.
...
> - Add helper to get best idle mode.
> - Add comment about not preventing clockdomain autoidle
> during enable/disable.
FYI I have a patch in works to populate clkdm_deny_idle/allow_idle
via platform data functions for ti-sysc driver for non-legacy
cases.
We still need to figure out what we want to do for cases where a
child device driver needs to manage rstctrl reset driver bits not
related for the module reset. Not sure if we need to call
clkdm_deny_idle/allow_idle for those cases too?
Regards,
Tony