Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
reset.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 EPAM Systems
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef DRIVERS_ARM_SCMI_RESET_H_
14#define DRIVERS_ARM_SCMI_RESET_H_
15
17
24
25/* PROTOCOL_ATTRIBUTES */
27#define SCMI_RESET_ATTR_NUM_DOMAINS GENMASK(15, 0)
29#define SCMI_RESET_ATTR_GET_NUM_DOMAINS(attr) FIELD_GET(SCMI_RESET_ATTR_NUM_DOMAINS, (attr))
30
31/* RESET Domain Attributes Flags */
33#define SCMI_RESET_AUTONOMOUS BIT(0)
35#define SCMI_RESET_EXPLICIT_ASSERT BIT(1)
37#define SCMI_RESET_ASYNCHRONOUS_RESET BIT(2)
38
40#define SCMI_RESET_ARCH_COLD_RESET 0
41
43#define SCMI_RESET_PROTOCOL_SUPPORTED_VERSION 0x30001
44
61
72 struct scmi_reset_domain_attr *dom_attr);
73
85 uint32_t reset_state);
86
90
91#endif /* DRIVERS_ARM_SCMI_RESET_H_ */
Header file for the SCMI (System Control and Management Interface) driver API.
#define SCMI_SHORT_NAME_MAX_SIZE
Maximum size of strings to describe SCMI names, including NUL terminator.
Definition protocol.h:29
int scmi_reset_domain_get_attr(struct scmi_protocol *proto, uint32_t id, struct scmi_reset_domain_attr *dom_attr)
SCMI reset domain protocol get attributes of the reset domain.
int scmi_reset_domain(struct scmi_protocol *proto, uint32_t id, uint32_t flags, uint32_t reset_state)
SCMI reset domain protocol reset domain.
flags
Definition parser.h:97
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
SCMI protocol structure.
Definition protocol.h:100
SCMI Reset domain attributes.
Definition reset.h:49
char name[SCMI_SHORT_NAME_MAX_SIZE]
Reset domain name.
Definition reset.h:53
uint32_t latency
Maximum time (in microseconds) required for the reset to take effect.
Definition reset.h:51
bool is_notifications_sup
Reset notifications support.
Definition reset.h:57
bool is_async_sup
Asynchronous reset support.
Definition reset.h:55
bool is_latency_valid
Reset latency is valid.
Definition reset.h:59