
23 Aug
2019
23 Aug
'19
11:49 p.m.
On Wed, 21 Aug 2019 at 07:35, Peng Fan peng.fan@nxp.com wrote:
Since we added clk enable_count and prograte clk child enabling operation to clk parent, so add a new function sandbox_clk_enable_count to get enable_count for test usage.
And add test code to get the enable_count after we enable/disable the device clk.
Signed-off-by: Peng Fan peng.fan@nxp.com
V3: Fix build for sandbox V2: New Patch
drivers/clk/clk_sandbox_ccf.c | 15 +++++++++++++++ include/sandbox-clk.h | 3 +++ test/dm/clk_ccf.c | 28 ++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org