aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/firmware
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-06-26 05:14:07 +0800
committerShawn Guo <shawnguo@kernel.org>2020-07-13 10:02:00 +0800
commita24015fa8b89e4605a9c6581d56b48d991e2b66b (patch)
tree5c74a2f0ccd9253bfe6b6f6669ac6a895961eecf /include/linux/firmware
parentfirmware: imx: scu-pd: add more cm4 resources (diff)
downloadlinux-dev-a24015fa8b89e4605a9c6581d56b48d991e2b66b.tar.xz
linux-dev-a24015fa8b89e4605a9c6581d56b48d991e2b66b.zip
firmware: imx: Move i.MX SCU soc driver into imx firmware folder
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>
Diffstat (limited to 'include/linux/firmware')
-rw-r--r--include/linux/firmware/imx/sci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/firmware/imx/sci.h b/include/linux/firmware/imx/sci.h
index 3c459f54a88f..22c76571a294 100644
--- a/include/linux/firmware/imx/sci.h
+++ b/include/linux/firmware/imx/sci.h
@@ -20,4 +20,5 @@ 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 */