xref: /openbmc/linux/include/linux/firmware/imx/sci.h (revision d1492bbd)
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 
15 #include <linux/firmware/imx/svc/misc.h>
16 #include <linux/firmware/imx/svc/pm.h>
17 
18 int imx_scu_enable_general_irq_channel(struct device *dev);
19 int imx_scu_irq_register_notifier(struct notifier_block *nb);
20 int imx_scu_irq_unregister_notifier(struct notifier_block *nb);
21 int imx_scu_irq_group_enable(u8 group, u32 mask, u8 enable);
22 #endif /* _SC_SCI_H */
23