Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm / mach-at91 / sam_secure.h
blob1a0b5ebbfc3970e849d7c8793f86c674a71b86ad
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2022, Microchip
4 */
6 #ifndef SAM_SECURE_H
7 #define SAM_SECURE_H
9 #include <linux/arm-smccc.h>
11 /* Secure Monitor mode APIs */
12 #define SAMA5_SMC_SIP_SET_SUSPEND_MODE 0x400
13 #define SAMA5_SMC_SIP_GET_SUSPEND_MODE 0x401
15 void __init sam_secure_init(void);
16 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1);
17 bool sam_linux_is_optee_available(void);
19 #endif /* SAM_SECURE_H */