crypto: hisilicon/sec - enabling clock gating of the address prefetch module
authorWeili Qian <qianweili@huawei.com>
Sat, 24 Sep 2022 10:34:45 +0000 (18:34 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2022 11:05:23 +0000 (19:05 +0800)
commit94adb03fd58bbe355e3d7a9d0f701889313e4a51
tree6db13dd40defa0fb126865e4ff3b5436735c7816
parentf57e292897cac13b6ddee078aea21173b234ecb7
crypto: hisilicon/sec - enabling clock gating of the address prefetch module

Change the value of clock gating register to 0x7fff to enable
clock gating of the address prefetch module. When the device is
idle, the clock is turned off to save power.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_main.c