David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2016 Freescale Semiconductor, Inc. |
| 4 | * Copyright 2017~2018 NXP |
| 5 | * |
| 6 | * Header file containing the public System Controller Interface (SCI) |
| 7 | * definitions. |
| 8 | */ |
| 9 | |
| 10 | #ifndef _SC_SCI_H |
| 11 | #define _SC_SCI_H |
| 12 | |
| 13 | #include <linux/firmware/imx/ipc.h> |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 14 | |
| 15 | #include <linux/firmware/imx/svc/misc.h> |
| 16 | #include <linux/firmware/imx/svc/pm.h> |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 17 | #include <linux/firmware/imx/svc/rm.h> |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 18 | |
| 19 | int imx_scu_enable_general_irq_channel(struct device *dev); |
| 20 | int imx_scu_irq_register_notifier(struct notifier_block *nb); |
| 21 | int imx_scu_irq_unregister_notifier(struct notifier_block *nb); |
| 22 | int imx_scu_irq_group_enable(u8 group, u32 mask, u8 enable); |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 23 | int imx_scu_soc_init(struct device *dev); |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 24 | #endif /* _SC_SCI_H */ |