Skip to content

crypto: inside-secure: improve clock management

Gregory CLEMENT linux-arm-kernel linux-crypto stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: inside-secure - fix clock managementdrivers/crypto/inside-secure/safexcel.c+1 -10 replies
2/3crypto: inside-secure - improve clock initializationdrivers/crypto/inside-secure/safexcel.c+6 -50 replies
3/3crypto: inside-secure - fix clock resource by adding a register clockDocumentation/devicetree/bindings/crypto/inside-secure-safexcel.txt drivers/crypto/inside-secure/safexcel.c drivers/crypto/inside-secure/safexcel.h+31 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] crypto: inside-secure: improve clock management

Hi,

This short series fixes the way the clocks are used for the SafeXcel EIP-197 controller embedded in the Marvell Armada 7K/8K SoCs. On these SoCs a second one is needed in order to clock the registers. It was not noticed until now because we relied on the bootloader and also because the clock driver was wrong.

Thanks to this fix, it would be possible to fix the clock driver without introducing a regression.

While I was working on the clocks I found a bug in the clock management which was fixed with the first patch and should be applied to v4.16.

The second patch is a small improvement which is aim for v4.17 as well as the last patch.

Thanks,

Gregory

Gregory CLEMENT (3):
crypto: inside-secure - fix clock management
crypto: inside-secure - improve clock initialization
crypto: inside-secure - fix clock resource by adding a register clock

 .../bindings/crypto/inside-secure-safexcel.txt     |  6 ++-
 drivers/crypto/inside-secure/safexcel.c            | 47 +++++++++++++++-------
 drivers/crypto/inside-secure/safexcel.h            |  1 +
 3 files changed, 38 insertions(+), 16 deletions(-)
Signature · 1 line
2.16.1