Lines Matching +full:op +full:- +full:tee
1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
18 #include <linux/platform_data/gpio-omap.h>
34 #include "omap-secure.h"
53 return -ENOMEM; in am43xx_map_scu()
61 pr_warn("WARNING: This platform does not support off-mode, entering DeepSleep suspend.\n"); in am33xx_check_off_mode_enable()
70 * Check for am437x-gp-evm which has the right Hardware design to in am43xx_check_off_mode_enable()
73 if (of_machine_is_compatible("ti,am437x-gp-evm") && enable_off_mode) in am43xx_check_off_mode_enable()
76 pr_warn("WARNING: This platform does not support off-mode, entering DeepSleep suspend.\n"); in am43xx_check_off_mode_enable()
88 return -ENODEV; in amx3_common_init()
114 return -ENODEV; in am33xx_suspend_init()
209 * Note that even on systems with OP-TEE available this resume call is in am43xx_suspend()
211 * is restored as the secure monitor. On systems with OP-TEE ROM will in am43xx_suspend()
212 * restore OP-TEE during this call. in am43xx_suspend()
287 * breaking suspend-resume in am43xx_restore_context()
332 * wkup_m3_ipc and booted am335x-pm-firmware.elf.
336 pr_warn("PM not initialized for pm33xx, wkup_m3_ipc, or am335x-pm-firmware.elf\n"); in amx3_suspend_block()
338 return -EINVAL; in amx3_suspend_block()
377 devinfo.id = -1; in amx3_common_pm_init()
392 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); in amx3_idle_init()
407 if (of_property_read_bool(state_node, "ti,idle-wkup-m3")) in amx3_idle_init()
416 return -ENOMEM; in amx3_idle_init()
429 return -EINVAL; in amx3_idle_enter()
432 idle_fn(idle_state->wfi_flags); in amx3_idle_enter()