projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f8bd0
)
perf/imx_ddr: Add driver for DDR PMU in i.MX8MPlus
author
Joakim Zhang
<qiangqing.zhang@nxp.com>
Fri, 1 Nov 2019 08:36:20 +0000
(08:36 +0000)
committer
Will Deacon
<will@kernel.org>
Mon, 4 Nov 2019 16:27:34 +0000
(16:27 +0000)
Add driver for DDR PMU in i.MX8MPlus.
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/fsl_imx8_ddr_perf.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/perf/fsl_imx8_ddr_perf.c
b/drivers/perf/fsl_imx8_ddr_perf.c
index 2a3966d059e708c23cc4e550c5676b91329307e2..3bbf806209a6bf6e4875d3bdaef80988aabf8148 100644
(file)
--- a/
drivers/perf/fsl_imx8_ddr_perf.c
+++ b/
drivers/perf/fsl_imx8_ddr_perf.c
@@
-58,9
+58,14
@@
static const struct fsl_ddr_devtype_data imx8m_devtype_data = {
.quirks = DDR_CAP_AXI_ID_FILTER,
};
+static const struct fsl_ddr_devtype_data imx8mp_devtype_data = {
+ .quirks = DDR_CAP_AXI_ID_FILTER_ENHANCED,
+};
+
static const struct of_device_id imx_ddr_pmu_dt_ids[] = {
{ .compatible = "fsl,imx8-ddr-pmu", .data = &imx8_devtype_data},
{ .compatible = "fsl,imx8m-ddr-pmu", .data = &imx8m_devtype_data},
+ { .compatible = "fsl,imx8mp-ddr-pmu", .data = &imx8mp_devtype_data},
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx_ddr_pmu_dt_ids);