PDK API Guide for J721E
tisci_core.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017-2023 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  */
54 #ifndef MESSAGES_CORE_H
55 #define MESSAGES_CORE_H
56 
57 
59 #define TISCI_MSG_FLAG_FW_CAP_GENERIC_CAP TISCI_BIT(0)
60 #define TISCI_MSG_FLAG_FW_CAP_LPM_DEEP_SLEEP TISCI_BIT(1)
61 #define TISCI_MSG_FLAG_FW_CAP_LPM_MCU_ONLY TISCI_BIT(2)
62 #define TISCI_MSG_FLAG_FW_CAP_LPM_STANDBY TISCI_BIT(3)
63 #define TISCI_MSG_FLAG_FW_CAP_LPM_PARTIAL_IO_ON TISCI_BIT(4)
64 
74  struct tisci_header hdr;
75 } __attribute__((__packed__));
76 
89  struct tisci_header hdr;
90  char str[32];
91  uint16_t version;
92  uint8_t abi_major;
93  uint8_t abi_minor;
94  uint8_t sub_version;
95  uint8_t patch_version;
96 } __attribute__((__packed__));
97 
106  uint32_t extboot_status;
107 } __attribute__((__packed__));
108 
119 } __attribute__((__packed__));
120 
139 } __attribute__((__packed__));
140 
151 } __attribute__((__packed__));
152 
163 } __attribute__((__packed__));
164 
182 } __attribute__((__packed__));
183 
194 } __attribute__((__packed__));
195 
215 } __attribute__((__packed__));
216 
227 } __attribute__((__packed__));
228 
248 } __attribute__((__packed__));
249 
260 } __attribute__((__packed__));
261 
262 
274 } __attribute__((__packed__));
275 
290  uint32_t msmc_start_low;
291  uint32_t msmc_start_high;
292  uint32_t msmc_end_low;
293  uint32_t msmc_end_high;
294 } __attribute__((__packed__));
295 
307 } __attribute__((__packed__));
308 
321 } __attribute__((__packed__));
322 
333 } __attribute__((__packed__));
334 
345  uint64_t fw_caps;
346 } __attribute__((__packed__));
347 
348 #endif /* MESSAGES_CORE_H */
349 
350 /* @} */
uint8_t abi_minor
Definition: tisci_core.h:93
uint16_t tisci_boardcfg_size
Definition: tisci_core.h:180
struct tisci_header hdr
Definition: tisci_core.h:74
uint32_t msmc_start_high
Definition: tisci_core.h:291
uint64_t fw_caps
Definition: tisci_core.h:345
uint16_t trace_src_enables
Definition: tisci_core.h:320
uint16_t tisci_boardcfg_security_size
Definition: tisci_core.h:213
devgrp_t tisci_boardcfg_devgrp
Definition: tisci_core.h:181
struct tisci_header hdr
Definition: tisci_core.h:193
uint16_t tisci_boardcfg_pm_size
Definition: tisci_core.h:246
struct tisci_header hdr
Definition: tisci_core.h:134
uint32_t tisci_boardcfgp_high
Definition: tisci_core.h:179
struct tisci_header hdr
Definition: tisci_core.h:289
TISCI_MSG_BOARD_CONFIG_RM request to provide the location and size of the tisci_boardcfg Resource Man...
Definition: tisci_core.h:133
uint32_t tisci_boardcfg_rmp_high
Definition: tisci_core.h:136
uint8_t abi_major
Definition: tisci_core.h:92
uint32_t tisci_boardcfg_pmp_low
Definition: tisci_core.h:244
TISCI_MSG_GET_TRACE_CONFIG request response providing the debug config from base board config.
Definition: tisci_core.h:317
devgrp_t tisci_boardcfg_rm_devgrp
Definition: tisci_core.h:138
TISCI_MSG_VERSION request to provide version info about currently running firmware.
Definition: tisci_core.h:88
struct tisci_header hdr
Definition: tisci_core.h:177
TISCI_MSG_QUERY_MSMC request to provide currently available MSMC memory if present in the SoC.
Definition: tisci_core.h:272
uint32_t tisci_boardcfg_securityp_high
Definition: tisci_core.h:212
uint32_t tisci_boardcfgp_low
Definition: tisci_core.h:178
Empty response for TISCI_MSG_BOARD_CONFIG_SECURITY.
Definition: tisci_core.h:225
TISCI_MSG_BOARD_CONFIG_PM request to provide the location and size of the tisci_boardcfg Power Manage...
Definition: tisci_core.h:242
uint16_t trace_dst_enables
Definition: tisci_core.h:319
uint8_t devgrp_t
Defines the sysfw DEVGRP type. This is meant to be used in code or data structures that require disti...
Definition: sciclient.h:242
char str[32]
Definition: tisci_core.h:90
struct tisci_header hdr
Definition: tisci_core.h:162
struct tisci_header hdr
Definition: tisci_core.h:243
struct tisci_header hdr
Definition: tisci_core.h:344
Response to notification message about firmware availability.
Definition: tisci_core.h:117
struct tisci_header hdr
Definition: tisci_core.h:150
TISCI_MSG_BOARD_CONFIG request to provide the location and size of the tisci_boardcfg structure.
Definition: tisci_core.h:176
uint32_t msmc_start_low
Definition: tisci_core.h:290
struct tisci_header hdr
Definition: tisci_core.h:318
struct tisci_header hdr
Definition: tisci_core.h:306
uint32_t msmc_end_high
Definition: tisci_core.h:293
uint16_t tisci_boardcfg_rm_size
Definition: tisci_core.h:137
Empty response for TISCI_MSG_BOARD_CONFIG_RM.
Definition: tisci_core.h:149
uint32_t tisci_boardcfg_pmp_high
Definition: tisci_core.h:245
uint32_t msmc_end_low
Definition: tisci_core.h:292
Notification message to indicate the DMSC is available.
Definition: tisci_core.h:104
TISCI_MSG_GET_TRACE_CONFIG request to get the debug trace config from base board config.
Definition: tisci_core.h:305
struct tisci_header hdr
Definition: tisci_core.h:105
struct tisci_header hdr
Definition: tisci_core.h:259
struct tisci_header hdr
Definition: tisci_core.h:273
struct tisci_header hdr
Definition: tisci_core.h:332
Empty response for TISCI_MSG_BOARD_CONFIG.
Definition: tisci_core.h:192
Empty response for TISCI_MSG_BOARD_CONFIG_RESASG.
Definition: tisci_core.h:161
uint8_t patch_version
Definition: tisci_core.h:95
uint32_t extboot_status
Definition: tisci_core.h:106
devgrp_t tisci_boardcfg_security_devgrp
Definition: tisci_core.h:214
TISCI_MSG_QUERY_FW_CAPS request to provide the firmware/SOC capabilities.
Definition: tisci_core.h:331
struct tisci_header hdr
Definition: tisci_core.h:89
devgrp_t tisci_boardcfg_pm_devgrp
Definition: tisci_core.h:247
uint32_t tisci_boardcfg_rmp_low
Definition: tisci_core.h:135
TISCI_MSG_BOARD_CONFIG_SECURITY request to provide the location and size of the tisci_boardcfg securi...
Definition: tisci_core.h:209
struct tisci_header hdr
Definition: tisci_core.h:226
Empty response for TISCI_MSG_BOARD_CONFIG_PM.
Definition: tisci_core.h:258
uint8_t sub_version
Definition: tisci_core.h:94
uint16_t version
Definition: tisci_core.h:91
struct tisci_header hdr
Definition: tisci_core.h:210
struct tisci_header hdr
Definition: tisci_core.h:118
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:89
TISCI_MSG_QUERY_MSMC request response providing currently available MSMC memory if present in the SoC...
Definition: tisci_core.h:288
struct tisci_msg_version_req __attribute__((__packed__))
TISCI_MSG_QUERY_FW_CAPS request response providing currently available SOC/firmware capabilities.
Definition: tisci_core.h:343
Notification message to indicate the DMSC is available.
Definition: tisci_core.h:73
uint32_t tisci_boardcfg_securityp_low
Definition: tisci_core.h:211