arm64: dts: ls1028a: Update the clock providers for the Mali DP500
Subsystems (2)
PATCH v2 1/2 arm64: dts: ls1028a: Update the clock providers for the Mali DP500
In order to maximise performance of the LCD Controller's 64-bit AXI bus, for any give speed bin of the device, the AXI master interface clock(ACLK) clock can be up to CPU_frequency/2, which is already capable of optimal performance. In general, ACLK is always expected to be equal to CPU_frequency/2. APB slave interface clock(PCLK) and Main processing clock(PCLK) both are tied to the same clock as ACLK.
This change followed the LS1028A Architecture Specification Manual.
---
change in v2:
- add details commit description for this change.
- v1: Link: https://lore.kernel.org/patchwork/patch/1119145/
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +2 -15
@@ -86,20 +86,6 @@ clocks = <&osc_27m>; }; - aclk: clock-axi { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <650000000>; - clock-output-names= "aclk"; - }; - - pclk: clock-apb { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <650000000>; - clock-output-names= "pclk"; - }; - reboot { compatible ="syscon-reboot"; regmap = <&dcfg>;
@@ -679,7 +665,8 @@ interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>, <0 223 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "DE", "SE"; - clocks = <&dpclk 0>, <&aclk>, <&aclk>, <&pclk>; + clocks = <&dpclk 0>, <&clockgen 2 2>, <&clockgen 2 2>, + <&clockgen 2 2>; clock-names = "pxlclk", "mclk", "aclk", "pclk"; arm,malidp-output-port-lines = /bits/ 8 <8 8 8>; arm,malidp-arqos-value = <0xd000d000>;
Signature · 1 line
2.17.1
PATCH v2 2/2 arm64: dts: ls1028a: Update the DT node definition for dpclk
Update DT node name clock-controller to clock-display, also change the property #clock-cells value to zero.
This update according the feedback of the Display output interface clock driver upstream.
--- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +3 -3
@@ -79,10 +79,10 @@ clock-output-names = "phy_27m"; }; - dpclk: clock-controller@f1f0000 { + dpclk: clock-display@f1f0000 { compatible = "fsl,ls1028a-plldig"; reg = <0x0 0xf1f0000 0x0 0xffff>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&osc_27m>; };
@@ -665,7 +665,7 @@ interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>, <0 223 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "DE", "SE"; - clocks = <&dpclk 0>, <&clockgen 2 2>, <&clockgen 2 2>, + clocks = <&dpclk>, <&clockgen 2 2>, <&clockgen 2 2>, <&clockgen 2 2>; clock-names = "pxlclk", "mclk", "aclk", "pclk"; arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;
Signature · 1 line
2.17.1
Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclk
Quoted 1 line · Wen He
Update DT node name clock-controller to clock-display,
The node name clock-controller is so good, and I do not understand why you need to change it.
Shawn
Quoted 41 lines
also change
the property #clock-cells value to zero.This update according the feedback of the Display output interface clock driver upstream.
Signed-off-by Wen He <[email protected]>--- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +3
-3@@ -79,10 +79,10 @@ clock-output-names = "phy_27m"; }; - dpclk: clock-controller@f1f0000 { + dpclk: clock-display@f1f0000 { compatible = "fsl,ls1028a-plldig"; reg = <0x0 0xf1f0000 0x0 0xffff>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&osc_27m>; };@@ -665,7 +665,7 @@ interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>, <0 223 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "DE", "SE"; - clocks = <&dpclk 0>, <&clockgen 2 2>, <&clockgen 2 2>, + clocks = <&dpclk>, <&clockgen 2 2>, <&clockgen 2 2>, <&clockgen 2 2>; clock-names = "pxlclk", "mclk", "aclk", "pclk"; arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;Signature · 1 line
2.17.1
RE: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclk
Quoted 14 lines
-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: 2019年10月7日 20:35
To: Wen He <[email protected]>
Cc: [email protected]; Leo Li <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclk
Quoted 6 lines
Quoted 1 line · Wen He
Update DT node name clock-controller to clock-display,
The node name clock-controller is so good, and I do not understand why you need to change it.
The node name clock-controller used for the system clockgen and this clock only used for the Display core.
To clearly the node, that why I have to use clock-display to instead of the clock-controller
Best Regards,
Wen
Quoted 54 lines
Shawn
Quoted 9 lines
also change
the property #clock-cells value to zero.This update according the feedback of the Display output interface clock driver upstream.
Link:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore
.kernel.org%2Fpatchwork%2Fpatch%2F1113832%2F&data=02%7C01%7Cwen.he
Quoted 1 line
_1%40nxp.com%7C61934346fa6646d28bac08d74b22e08c%7C686ea1d3bc2b
4c6fa92cQuoted 1 line
d99c5c301635%7C0%7C0%7C637060485478218390&sdata=%2FLG2KvA LdOGp6T06
Quoted 36 lines
2fuKGQXYegswsEOWPAvzWnLkftM%3D&reserved=0
Signed-off-by Wen He <[email protected]>--- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +3
-4@@ -79,10 +79,10 @@ clock-output-names = "phy_27m"; }; - dpclk: clock-controller@f1f0000 { + dpclk: clock-display@f1f0000 { compatible = "fsl,ls1028a-plldig"; reg = <0x0 0xf1f0000 0x0 0xffff>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&osc_27m>; };@@ -665,7 +665,7 @@ interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>, <0 223 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "DE", "SE"; - clocks = <&dpclk 0>, <&clockgen 2 2>, <&clockgen 2 2>, + clocks = <&dpclk>, <&clockgen 2 2>, <&clockgen 2 2>, <&clockgen 2 2>; clock-names = "pxlclk", "mclk", "aclk", "pclk"; arm,malidp-output-port-lines = /bits/ 8 <8 8 8>; --2.17.1
Re: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclk
Quoted 17 lines · Wen He
Quoted 17 lines
-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: 2019年10月7日 20:35
To: Wen He <[email protected]>
Cc: [email protected]; Leo Li <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclkQuoted 1 line · Wen He
Update DT node name clock-controller to clock-display,
Quoted 7 lines
Quoted 3 lines
The node name clock-controller is so good, and I do not understand why you need to change it.
The node name clock-controller used for the system clockgen and this clock only used for the Display core.
To clearly the node, that why I have to use clock-display to instead of the clock-controller
Label is being used to specify things, and node name should just be as generic as possible.
Shawn
RE: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclk
Quoted 37 lines
-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: 2019年10月14日 14:22
To: Wen He <[email protected]>
Cc: [email protected]; Leo Li <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: Re: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclkCaution: EXT Email
Quoted 21 lines · Wen He
Quoted 20 lines
-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: 2019年10月7日 20:35
To: Wen He <[email protected]>
Cc: [email protected]; Leo Li <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclkQuoted 1 line · Wen He
Update DT node name clock-controller to clock-display,
The node name clock-controller is so good, and I do not understand why you need to change it.
Quoted 7 lines
Quoted 4 lines
The node name clock-controller used for the system clockgen and this clock only used for the Display core.
To clearly the node, that why I have to use clock-display to instead of the clock-controllerLabel is being used to specify things, and node name should just be as generic as possible.
Understand, will correction it.
Thanks && Best Regards,
Wen
Quoted 2 lines
Shawn
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 10 lines · Wen He
In order to maximise performance of the LCD Controller's 64-bit AXI bus, for any give speed bin of the device, the AXI master interface clock(ACLK) clock can be up to CPU_frequency/2, which is already capable of optimal performance. In general, ACLK is always expected to be equal to CPU_frequency/2. APB slave interface clock(PCLK) and Main processing clock(PCLK) both are tied to the same clock as ACLK.
This change followed the LS1028A Architecture Specification Manual.
Signed-off-by Wen He <[email protected]>
@Leo, agree?
Shawn
Quoted 46 lines
---
change in v2:
- add details commit description for this change.
- v1: Link: https://lore.kernel.org/patchwork/patch/1119145/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-)arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +2
-15@@ -86,20 +86,6 @@ clocks = <&osc_27m>; }; - aclk: clock-axi { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <650000000>; - clock-output-names= "aclk"; - }; - - pclk: clock-apb { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <650000000>; - clock-output-names= "pclk"; - }; - reboot { compatible ="syscon-reboot"; regmap = <&dcfg>;@@ -679,7 +665,8 @@ interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>, <0 223 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "DE", "SE"; - clocks = <&dpclk 0>, <&aclk>, <&aclk>, <&pclk>; + clocks = <&dpclk 0>, <&clockgen 2 2>, <&clockgen 2 2>, + <&clockgen 2 2>; clock-names = "pxlclk", "mclk", "aclk", "pclk"; arm,malidp-output-port-lines = /bits/ 8 <8 8 8>; arm,malidp-arqos-value = <0xd000d000>;Signature · 1 line
2.17.1
Leo Li
Acked-byQuoted 21 lines
-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: Monday, October 7, 2019 7:32 AM
To: Wen He <[email protected]>
Cc: [email protected]; Leo Li <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; [email protected]; [email protected]; linux-arm- [email protected]
Subject: Re: [v2 1/2] arm64: dts: ls1028a: Update the clock providers for the Mali DP500Quoted 7 lines · Wen He
In order to maximise performance of the LCD Controller's 64-bit AXI bus, for any give speed bin of the device, the AXI master interface clock(ACLK) clock can be up to CPU_frequency/2, which is already capable of optimal performance. In general, ACLK is always expected to be equal to CPU_frequency/2. APB slave interface clock(PCLK) and Main processing clock(PCLK) both are tied to the same clock as ACLK.
Quoted 5 lines
Quoted 3 lines
This change followed the LS1028A Architecture Specification Manual.
Signed-off-by Wen He <[email protected]>@Leo, agree?
Yes.
Quoted 60 lines
Shawn
Quoted 6 lines
---
change in v2:
- add details commit description for this change.
- v1: Link:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore
.kernel.org%2Fpatchwork%2Fpatch%2F1119145%2F&data=02%7C01%7Cleoyan
Quoted 1 line
g.li%40nxp.com%7C628134d8d86548af60ab08d74b227a54%7C686ea1d3bc2b4 c6fa9
Quoted 1 line
2cd99c5c301635%7C0%7C0%7C637060483779667257&sdata=vX2DqsXlKE SqesXy
Quoted 44 lines
LwTqnBFt0GftY0XNphkmx5dR7vA%3D&reserved=0
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-)arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +2
-16@@ -86,20 +86,6 @@ clocks = <&osc_27m>; }; - aclk: clock-axi { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <650000000>; - clock-output-names= "aclk"; - }; - - pclk: clock-apb { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <650000000>; - clock-output-names= "pclk"; - }; - reboot { compatible ="syscon-reboot"; regmap = <&dcfg>;@@ -679,7 +665,8 @@ interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>, <0 223 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "DE", "SE"; - clocks = <&dpclk 0>, <&aclk>, <&aclk>, <&pclk>; + clocks = <&dpclk 0>, <&clockgen 2 2>, <&clockgen 2 2>, + <&clockgen 2 2>; clock-names = "pxlclk", "mclk", "aclk", "pclk"; arm,malidp-output-port-lines = /bits/ 8 <8 8 8>; arm,malidp-arqos-value = <0xd000d000>; --2.17.1
Shawn Guo
AppliedQuoted 10 lines · Wen He
In order to maximise performance of the LCD Controller's 64-bit AXI bus, for any give speed bin of the device, the AXI master interface clock(ACLK) clock can be up to CPU_frequency/2, which is already capable of optimal performance. In general, ACLK is always expected to be equal to CPU_frequency/2. APB slave interface clock(PCLK) and Main processing clock(PCLK) both are tied to the same clock as ACLK.
This change followed the LS1028A Architecture Specification Manual.
Signed-off-by Wen He <[email protected]>
Applied, thanks.