commit | e6849e2fd88f16d9592059422173f7f6ab790e07 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Wed Aug 21 13:35:03 2019 +0000 |
committer | Lukasz Majewski <lukma@denx.de> | Thu Aug 22 00:10:09 2019 +0200 |
tree | 85eb51885ac8cbbacef4304abd27375b210f8b12 | |
parent | 753e5385ca6d0fe5b5f5a3a97cc96b0f2469ca94 [diff] |
clk: introduce enable_count As what Linux Kernel 5.3.0 provides when enable/disable clk, there is an enable_count in clk_core_disable/enable. Introduce enable_count to track the clk enable/disable count when clk_enable/disable for CCF. And Initialize enable_count to 0 when register the clk. And clk tree dump with enable_count will be supported, it will be easy for us to check the clk status with enable_count Signed-off-by: Peng Fan <peng.fan@nxp.com>