mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-16 20:36:22 +07:00
a24015fa8b
The i.MX SCU soc driver depends on SCU firmware driver, so it has to use platform driver model for proper defer probe operation, since it has no device binding in DT file, a simple platform device is created together inside the platform driver. To make it more clean, we can just move the entire SCU soc driver into imx firmware folder and initialized by i.MX SCU firmware driver. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
25 lines
723 B
C
25 lines
723 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);
|
|
int imx_scu_soc_init(struct device *dev);
|
|
#endif /* _SC_SCI_H */
|