mbox series

[0/4] ARM: at91: add support for secure suspend on sama5d2

Message ID 20220222150846.255307-1-clement.leger@bootlin.com (mailing list archive)
Headers show
Series ARM: at91: add support for secure suspend on sama5d2 | expand

Message

Clément Léger Feb. 22, 2022, 3:08 p.m. UTC
Now that OP-TEE support for sama5d2 is more complete, add support to
execute SMC calls and to set suspend mode. This series adds new files
to be able to execute SMC calls targeting OP-TEE secure monitor and
secure suspend support uses it.

Clément Léger (4):
  ARM: at91: add code to handle secure calls
  ARM: at91: pm: move "atmel.pm_modes" parsing into a common file
  ARM: at91: pm: add support for sama5d2 secure suspend
  ARM: at91: pm: fix defines to select *_pm_init functions

 arch/arm/mach-at91/Kconfig          | 14 ++++++-
 arch/arm/mach-at91/Makefile         |  5 ++-
 arch/arm/mach-at91/generic.h        |  2 +-
 arch/arm/mach-at91/pm.c             | 31 +-------------
 arch/arm/mach-at91/pm.h             |  7 ++++
 arch/arm/mach-at91/pm_common.c      | 39 ++++++++++++++++++
 arch/arm/mach-at91/pm_secure.c      | 64 +++++++++++++++++++++++++++++
 arch/arm/mach-at91/sam_secure.c     | 46 +++++++++++++++++++++
 arch/arm/mach-at91/sam_secure.h     | 18 ++++++++
 arch/arm/mach-at91/sama5.c          |  2 +
 include/linux/platform_data/atmel.h |  2 +-
 11 files changed, 195 insertions(+), 35 deletions(-)
 create mode 100644 arch/arm/mach-at91/pm_common.c
 create mode 100644 arch/arm/mach-at91/pm_secure.c
 create mode 100644 arch/arm/mach-at91/sam_secure.c
 create mode 100644 arch/arm/mach-at91/sam_secure.h