Re: [PATCH v2 1/4] crypto: caam - do not initialise clocks on the i.MX8

From: Horia Geanta
Date: Tue Jun 11 2019 - 06:01:14 EST


On 6/7/2019 11:03 PM, Andrey Smirnov wrote:
> From: Chris Spencer <christopher.spencer@xxxxxxxxx>
>
> There are no clocks that the CAAM driver needs to initialise on the
> i.MX8.
>
RM lists 5 clocks for CAAM module (instance.clock): caam.aclk, caam.ipg_clk,
caam.ipg_clk_s, caam_exsc.aclk_exsc, caam_mem.clk

Wouldn't it be better to have these clocks in DT, instead of relying that their
root clocks (ccm_ahb_clk_root, ccm_ipg_clk_root) are critical / always on?

Thanks,
Horia