mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-17 03:44:00 +00:00
i.MX8 SoCs DTS file needs system control macro definitions, so move them into dt-binding headfile, then include/linux/firmware/imx/types.h can be removed and those drivers using it should be changed accordingly. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
22 lines
642 B
C
22 lines
642 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2016 Freescale Semiconductor, Inc.
|
|
* Copyright 2017~2018 NXP
|
|
*
|
|
* Header file containing the public System Controller Interface (SCI)
|
|
* definitions.
|
|
*/
|
|
|
|
#ifndef _SC_SCI_H
|
|
#define _SC_SCI_H
|
|
|
|
#include <linux/firmware/imx/ipc.h>
|
|
|
|
#include <linux/firmware/imx/svc/misc.h>
|
|
#include <linux/firmware/imx/svc/pm.h>
|
|
|
|
int imx_scu_enable_general_irq_channel(struct device *dev);
|
|
int imx_scu_irq_register_notifier(struct notifier_block *nb);
|
|
int imx_scu_irq_unregister_notifier(struct notifier_block *nb);
|
|
int imx_scu_irq_group_enable(u8 group, u32 mask, u8 enable);
|
|
#endif /* _SC_SCI_H */
|