| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 
| 2 | /* | ||||
| 3 | * Copyright (c) 2019 MediaTek Inc. | ||||
| 4 | */ | ||||
| 5 | |||||
| 6 | #ifndef __MTK_SCPSYS_H__ | ||||
| 7 | #define __MTK_SCPSYS_H__ | ||||
| 8 | |||||
| 9 | struct scp_event_data { | ||||
| 10 | int event_type; | ||||
| 11 | int domain_id; | ||||
| 12 | struct generic_pm_domain *genpd; | ||||
| 13 | }; | ||||
| 14 | |||||
| 15 | enum scp_event_type { | ||||
| 16 | MTK_SCPSYS_PSTATE, | ||||
| 17 | }; | ||||
| 18 | |||||
| 19 | int register_scpsys_notifier(struct notifier_block *nb); | ||||
| 20 | int unregister_scpsys_notifier(struct notifier_block *nb); | ||||
| 21 | |||||
| 22 | #endif /* __MTK_SCPSYS_H__ */ | ||||
| 23 | |||||