crypto: rockchip - Check for clocks numbers and their frequencies
authorCorentin Labbe <clabbe@baylibre.com>
Tue, 27 Sep 2022 07:55:08 +0000 (07:55 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Oct 2022 04:36:34 +0000 (12:36 +0800)
commite220e6719438f7a99fe0a73e6e126481380202fa
tree779bf1495b7a6de52de56c5e3967708bcab2efd9
parent2d3c756adcd7a7ee15b6a55cf01b363e3f134e79
crypto: rockchip - Check for clocks numbers and their frequencies

Add the number of clocks needed for each compatible.
Rockchip's datasheet give maximum frequencies for some clocks, so add
checks for verifying they are within limits. Let's start with rk3288 for
clock frequency check, other will came later.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/rockchip/rk3288_crypto.c
drivers/crypto/rockchip/rk3288_crypto.h