xref: /rk3399_ARM-atf/drivers/ti/pd/include/ti_psc_soc_device.h (revision a28114d66a6d43db4accef5fd5d6dab6c059e584)
1 /*
2  * Copyright (c) 2025-2026 Texas Instruments Incorporated - https://www.ti.com
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 /*
8  * PSC SoC Device Definitions
9  *
10  * This header defines the SoC-specific device data structure for Power
11  * and Sleep Controller (PSC) devices, including power domain, module
12  * index, and PSC controller information.
13  */
14 
15 #ifndef TI_PSC_SOC_DEVICE_H
16 #define TI_PSC_SOC_DEVICE_H
17 
18 #include <ti_pm_types.h>
19 
20 /*
21  * SoC specific const device data.
22  *
23  * This stores the SoC specific const data for each device.
24  */
25 struct ti_soc_device_data {
26 	/* PSC index */
27 	uint8_t psc_idx;
28 	/* PSC powerdomain */
29 	uint8_t pd;
30 	/* PSC module index */
31 	ti_lpsc_idx_t mod;
32 };
33 
34 #endif /* TI_PSC_SOC_DEVICE_H */
35