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> |
| 14 | #include <linux/firmware/imx/types.h> |
| 15 | |
| 16 | #include <linux/firmware/imx/svc/misc.h> |
| 17 | #include <linux/firmware/imx/svc/pm.h> |
| 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); |
| 23 | #endif /* _SC_SCI_H */ |