* [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes
@ 2019-06-19 18:46 Zhi Li
2019-06-24 2:02 ` Shawn Guo
0 siblings, 1 reply; 4+ messages in thread
From: Zhi Li @ 2019-06-19 18:46 UTC (permalink / raw)
To: Shawn Guo,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
dl-linux-imx, linux-arm-kernel
Add ddr performance monitor
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
---
Resent without base64 encode
Notes:
No change from v9 to v12
Change from v8 to v9
* put ddr-pmu under ddr_subsystem bus
Change from v3 to v8
* none
Change from v2 to v3
* ddr_pmu0 -> ddr-pmu
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 0683ee2..a33e08c 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -378,6 +378,20 @@
};
};
+ ddr_subsyss: bus@5c000000 {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x5c000000 0x0 0x5c000000 0x1000000>;
+
+ ddr-pmu@5c020000 {
+ compatible = "fsl,imx8-ddr-pmu";
+ reg = <0x5c020000 0x10000>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ };
+
lsio_subsys: bus@5d000000 {
compatible = "simple-bus";
#address-cells = <1>;
--
2.5.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes
2019-06-19 18:46 [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes Zhi Li
@ 2019-06-24 2:02 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2019-06-24 2:02 UTC (permalink / raw)
To: Zhi Li
Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
dl-linux-imx, linux-arm-kernel
On Wed, Jun 19, 2019 at 01:46:00PM -0500, Zhi Li wrote:
> Add ddr performance monitor
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
> ---
>
> Resent without base64 encode
>
> Notes:
> No change from v9 to v12
>
> Change from v8 to v9
> * put ddr-pmu under ddr_subsystem bus
>
> Change from v3 to v8
> * none
>
> Change from v2 to v3
> * ddr_pmu0 -> ddr-pmu
>
> arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> index 0683ee2..a33e08c 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> @@ -378,6 +378,20 @@
> };
> };
>
> + ddr_subsyss: bus@5c000000 {
> + compatible = "simple-bus";
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0x5c000000 0x0 0x5c000000 0x1000000>;
> +
> + ddr-pmu@5c020000 {
> + compatible = "fsl,imx8-ddr-pmu";
> + reg = <0x5c020000 0x10000>;
> + interrupt-parent = <&gic>;
> + interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
> + };
> + };
> +
> lsio_subsys: bus@5d000000 {
> compatible = "simple-bus";
> #address-cells = <1>;
The patch format is corrupted. All tabs are turned into spaces here. I
manually apply the patch, but please avoid it next time.
Shawn
> --
> 2.5.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH V12 1/4] dt-bindings: perf: imx8-ddr: add imx8qxp ddr performance monitor
@ 2019-05-01 18:43 Frank Li
2019-05-01 18:43 ` [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes Frank Li
0 siblings, 1 reply; 4+ messages in thread
From: Frank Li @ 2019-05-01 18:43 UTC (permalink / raw)
To: andrew.smirnov, mark.rutland, will.deacon, shawnguo, s.hauer,
kernel, festevam, dl-linux-imx, robh+dt, Aisheng Dong,
devicetree, lznuaa, linux-arm-kernel
Cc: Frank Li
Added binding doc for imx8qxp ddr performance monitor
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
Notes:
No change from v10 to v12
Change from v8 to v9
* use 32bit address width
No change from v4 to v8
Change from v4 to v4
* remove "standard xxx"
Change from v2 to v3
* ddr_pmu0 -> ddr-pmu
.../devicetree/bindings/perf/fsl-imx-ddr.txt | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt
diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt
new file mode 100644
index 0000000..9b9cda6a
--- /dev/null
+++ b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt
@@ -0,0 +1,22 @@
+* Freescale(NXP) IMX8 DDR performance monitor
+
+Required properties:
+
+- compatible: should be one of:
+ "fsl,imx8-ddr-pmu"
+ "fsl,imx8m-ddr-pmu"
+
+- reg: physical address and size
+
+- interrupts: single interrupt
+ generated by the control block
+
+Example:
+
+ ddr-pmu@5c020000 {
+ compatible = "fsl,imx8-ddr-pmu";
+ reg = <0x5c020000 0x10000>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
--
2.5.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes
2019-05-01 18:43 [PATCH V12 1/4] dt-bindings: perf: imx8-ddr: add imx8qxp ddr performance monitor Frank Li
@ 2019-05-01 18:43 ` Frank Li
2019-06-18 6:37 ` Shawn Guo
0 siblings, 1 reply; 4+ messages in thread
From: Frank Li @ 2019-05-01 18:43 UTC (permalink / raw)
To: andrew.smirnov, mark.rutland, will.deacon, shawnguo, s.hauer,
kernel, festevam, dl-linux-imx, robh+dt, Aisheng Dong,
devicetree, lznuaa, linux-arm-kernel
Cc: Frank Li
Add ddr performance monitor
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
---
Notes:
No change from v9 to v12
Change from v8 to v9
* put ddr-pmu under ddr_subsystem bus
Change from v3 to v8
* none
Change from v2 to v3
* ddr_pmu0 -> ddr-pmu
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 0683ee2..a33e08c 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -378,6 +378,20 @@
};
};
+ ddr_subsyss: bus@5c000000 {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x5c000000 0x0 0x5c000000 0x1000000>;
+
+ ddr-pmu@5c020000 {
+ compatible = "fsl,imx8-ddr-pmu";
+ reg = <0x5c020000 0x10000>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ };
+
lsio_subsys: bus@5d000000 {
compatible = "simple-bus";
#address-cells = <1>;
--
2.5.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes
2019-05-01 18:43 ` [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes Frank Li
@ 2019-06-18 6:37 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2019-06-18 6:37 UTC (permalink / raw)
To: Frank Li
Cc: mark.rutland, Aisheng Dong, devicetree, andrew.smirnov, s.hauer,
will.deacon, robh+dt, dl-linux-imx, kernel, lznuaa, festevam,
linux-arm-kernel
On Wed, May 01, 2019 at 06:43:32PM +0000, Frank Li wrote:
> Add ddr performance monitor
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Please resend without using 'Content-Transfer-Encoding: base64'.
Shawn
> ---
>
> Notes:
> No change from v9 to v12
>
> Change from v8 to v9
> * put ddr-pmu under ddr_subsystem bus
>
> Change from v3 to v8
> * none
>
> Change from v2 to v3
> * ddr_pmu0 -> ddr-pmu
>
> arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> index 0683ee2..a33e08c 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
> @@ -378,6 +378,20 @@
> };
> };
>
> + ddr_subsyss: bus@5c000000 {
> + compatible = "simple-bus";
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0x5c000000 0x0 0x5c000000 0x1000000>;
> +
> + ddr-pmu@5c020000 {
> + compatible = "fsl,imx8-ddr-pmu";
> + reg = <0x5c020000 0x10000>;
> + interrupt-parent = <&gic>;
> + interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
> + };
> + };
> +
> lsio_subsys: bus@5d000000 {
> compatible = "simple-bus";
> #address-cells = <1>;
> --
> 2.5.2
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-24 2:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-19 18:46 [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes Zhi Li
2019-06-24 2:02 ` Shawn Guo
-- strict thread matches above, loose matches on Subject: below --
2019-05-01 18:43 [PATCH V12 1/4] dt-bindings: perf: imx8-ddr: add imx8qxp ddr performance monitor Frank Li
2019-05-01 18:43 ` [PATCH V12 3/4] arm64: dts: imx8qxp: added ddr performance monitor nodes Frank Li
2019-06-18 6:37 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).