mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-25 16:33:36 +00:00
Add resource management API, when we have multiple partition running together, resources not owned to current partition should not be used. Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
24 lines
681 B
C
24 lines
681 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>
|
|
#include <linux/firmware/imx/svc/rm.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 */
|