[PATCH V2 0/3] perf/imx_ddr: Add system PMU support

From: Joakim Zhang
Date: Tue May 19 2020 - 22:59:27 EST


The patch set adds system PMU support for i.MX8 DDR Perf.

The sysfs location for userspace to get the PMU identifier under the
directory:
/sys/bus/event_source/devices/<PMU DEVICE>/identifier

ChangeLogs:
V1 -> V2:
*add property in dt instead of changing compatible string.

Joakim Zhang (3):
bindings: perf: imx8_ddr: add identifier property
perf/imx_ddr: Add system PMU identifier for userspace
arm64: dts: imx8/8mm/8mn/8mq: add identifier for DDR perf

.../devicetree/bindings/perf/fsl-imx-ddr.txt | 3 ++
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 +
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 +
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 +
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 1 +
drivers/perf/fsl_imx8_ddr_perf.c | 29 +++++++++++++++++++
6 files changed, 36 insertions(+)

--
2.17.1