aboutsummaryrefslogtreecommitdiff
path: root/drivers/interconnect/imx/imx.h
diff options
context:
space:
mode:
authorPeng Fan2022-07-03 17:11:28 +0800
committerGeorgi Djakov2022-07-15 17:53:15 +0300
commit12db59e8e0a2472307f47586f7767054a46d95f5 (patch)
treec3236ec1d3400611a0af4e79a4828bb18b2c9272 /drivers/interconnect/imx/imx.h
parent6eeaf28c798541e97da0ab7c42b537836de082e0 (diff)
interconnect: imx: introduce imx_icc_provider
Introduce imx_icc_provider as a wrapper of icc_provider to add i.MX specific information. Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20220703091132.1412063-7-peng.fan@oss.nxp.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/imx/imx.h')
-rw-r--r--drivers/interconnect/imx/imx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/interconnect/imx/imx.h b/drivers/interconnect/imx/imx.h
index 75da51076c68..0ad2c654c222 100644
--- a/drivers/interconnect/imx/imx.h
+++ b/drivers/interconnect/imx/imx.h
@@ -10,10 +10,16 @@
#ifndef __DRIVERS_INTERCONNECT_IMX_H
#define __DRIVERS_INTERCONNECT_IMX_H
+#include <linux/interconnect-provider.h>
#include <linux/kernel.h>
#define IMX_ICC_MAX_LINKS 4
+struct imx_icc_provider {
+ void __iomem *noc_base;
+ struct icc_provider provider;
+};
+
/*
* struct imx_icc_node_adj - Describe a dynamic adjustable node
*/