mbox series

[v2,0/2] Add power management support in CAAM driver

Message ID 20230724065230.83017-1-meenakshi.aggarwal@nxp.com
Headers show
Series Add power management support in CAAM driver | expand

Message

Meenakshi Aggarwal July 24, 2023, 6:52 a.m. UTC
From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>

This patch set add support of Power Management in CAAM driver

We are saving the state of the CAAM:
 - JRs MID
 - Address of input and output rings
in suspend function and getting same state in resume function
on platforms where power of CAAM is turned off.

Changes in v2:
	- not protecting PM code under macro CONFIG_PM_SLEEP
	as CONFIG_PM_SLEEP is on by default

Franck LENORMAND (1):
  crypto: caam - Change structure type representing DECO MID

Horia Geanta (1):
  crypto: caam - add power management support

 drivers/crypto/caam/ctrl.c   | 106 +++++++++++++++++++
 drivers/crypto/caam/intern.h |  25 ++++-
 drivers/crypto/caam/jr.c     | 193 +++++++++++++++++++++++++++++++----
 drivers/crypto/caam/regs.h   |   9 +-
 4 files changed, 306 insertions(+), 27 deletions(-)

Comments

Herbert Xu Aug. 4, 2023, 9:25 a.m. UTC | #1
On Mon, Jul 24, 2023 at 08:52:28AM +0200, meenakshi.aggarwal@nxp.com wrote:
> From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
> 
> This patch set add support of Power Management in CAAM driver
> 
> We are saving the state of the CAAM:
>  - JRs MID
>  - Address of input and output rings
> in suspend function and getting same state in resume function
> on platforms where power of CAAM is turned off.
> 
> Changes in v2:
> 	- not protecting PM code under macro CONFIG_PM_SLEEP
> 	as CONFIG_PM_SLEEP is on by default
> 
> Franck LENORMAND (1):
>   crypto: caam - Change structure type representing DECO MID
> 
> Horia Geanta (1):
>   crypto: caam - add power management support
> 
>  drivers/crypto/caam/ctrl.c   | 106 +++++++++++++++++++
>  drivers/crypto/caam/intern.h |  25 ++++-
>  drivers/crypto/caam/jr.c     | 193 +++++++++++++++++++++++++++++++----
>  drivers/crypto/caam/regs.h   |   9 +-
>  4 files changed, 306 insertions(+), 27 deletions(-)
> 
> -- 
> 2.25.1

All applied.  Thanks.