1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @file nRF SoC specific helpers for lrcconf management
9  */
10 
11 #ifndef ZEPHYR_SOC_NORDIC_COMMON_LRCCONF_H_
12 #define ZEPHYR_SOC_NORDIC_COMMON_LRCCONF_H_
13 
14 #include <hal/nrf_lrcconf.h>
15 
16 /**
17  * @brief Request lrcconf power domain
18  *
19  * @param node	 Pointer to the @ref sys_snode_t structure which is the ID of the
20  *		 requesting module.
21  * @param domain The mask that represents the power domain ID.
22  */
23 void soc_lrcconf_poweron_request(sys_snode_t *node, nrf_lrcconf_power_domain_mask_t domain);
24 
25 /**
26  * @brief Release lrcconf power domain
27  *
28  * @param node	 Pointer to the @ref sys_snode_t structure which is the ID of the
29  *		 requesting module.
30  * @param domain The mask that represents the power domain ID.
31  */
32 void soc_lrcconf_poweron_release(sys_snode_t *node, nrf_lrcconf_power_domain_mask_t domain);
33 
34 #endif /* ZEPHYR_SOC_NORDIC_COMMON_LRCCONF_H_ */
35