1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2022, Linaro Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef MOD_OPTEE_CLOCK_H 9 #define MOD_OPTEE_CLOCK_H 10 11 #include <fwk_element.h> 12 #include <fwk_macros.h> 13 14 #include <drivers/clk.h> 15 16 #include <stdint.h> 17 #include <stdbool.h> 18 19 /*! 20 * \brief Platform clocks configuration. 21 */ 22 struct mod_optee_clock_config { 23 /*! Clock name */ 24 const char *name; 25 /*! Optee clock reference */ 26 struct clk *clk; 27 /*! default state of the clock */ 28 bool default_enabled; 29 }; 30 31 #endif /* MOD_OPTEE_CLOCK_H */ 32