ARM: shmobile: Disable DVS support for r8a7790
Subsystems (2)
PATCH 3/7 ARM: shmobile: Disable DVS support for r8a7790
Since range of VDD is narrow, there is no effect of power consumption by DVS. So, DVS is disabled in R-CAR Gen2 series.
--- arch/arm/boot/dts/r8a7790-lager.dts | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/boot/dts/r8a7790-lager.dts +0 -4
@@ -317,7 +317,3 @@ cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; status = "okay"; }; - -&cpu0 { - cpu0-supply = <&vdd_dvfs>; -};
Signature · 1 line
1.7.9.5
Hello.
Quoted 13 lines · Gaku Inami
Since range of VDD is narrow, there is no effect of power consumption by DVS. So, DVS is disabled in R-CAR Gen2 series.
Signed-off-by Gaku Inami <[email protected]>--- arch/arm/boot/dts/r8a7790-lager.dts | 4 ---- 1 file changed, 4 deletions(-)arch/arm/boot/dts/r8a7790-lager.dts +0
-0
arch/arm/boot/dts/r8a7790-lager.dts line 323
Quoted 7 lines
arch/arm/boot/dts/r8a7790-lager.dts +0
-4@@ -317,7 +317,3 @@ cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; status = "okay"; }; - -&cpu0 { - cpu0-supply = <&vdd_dvfs>; -};
Why enable it in the first place (patch #1)?
WBR, Sergei
Hi Sergei
Quoted 5 lines
Quoted 5 lines
arch/arm/boot/dts/r8a7790-lager.dts +0
-0@@ -317,7 +317,3 @@
Quoted 9 lines
arch/arm/boot/dts/r8a7790-lager.dts line 323
Quoted 7 lines
arch/arm/boot/dts/r8a7790-lager.dts +0
-4cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; status = "okay"; }; - -&cpu0 { - cpu0-supply = <&vdd_dvfs>; -};Why enable it in the first place (patch #1)?
patch #1 is created by Benoit. At the first, I thought better to create a separate patch without changing his code. After that, I understand that this method was wrong.
I will re-post by changing the patch #1. (disable DVS)
(CC Benoit)
Quoted 13 lines · Gaku Inami
Since range of VDD is narrow, there is no effect of power consumption by DVS. So, DVS is disabled in R-CAR Gen2 series.
Signed-off-by Gaku Inami <[email protected]>--- arch/arm/boot/dts/r8a7790-lager.dts | 4 ---- 1 file changed, 4 deletions(-)arch/arm/boot/dts/r8a7790-lager.dts +0
-0
arch/arm/boot/dts/r8a7790-lager.dts line 323
Quoted 7 lines
arch/arm/boot/dts/r8a7790-lager.dts +0
-4@@ -317,7 +317,3 @@ cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; status = "okay"; }; - -&cpu0 { - cpu0-supply = <&vdd_dvfs>; -};
The role of the DT is to describe the hardware.
Not using DVS because the effect of power consumption is low or non-existent is a software policy.
So perhaps it should be kept?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hi Geert
Thank you for your feedback.
Quoted 5 lines
The role of the DT is to describe the hardware.
Not using DVS because the effect of power consumption is low or non-existent is a software policy.So perhaps it should be kept?
I understand what you mean. I will keep the setting of VDD into DT, and consider to disable DVS in a different way.
Hi,
Quoted 4 lines · Gaku Inami
Hi Geert
Thank you for your feedback.
Quoted 9 lines
Quoted 5 lines
The role of the DT is to describe the hardware.
Not using DVS because the effect of power consumption is low or non-existent is a software policy.So perhaps it should be kept?
I understand what you mean. I will keep the setting of VDD into DT, and consider to disable DVS in a different way.
Indeed, the line "cpu0-supply = <&vdd_dvfs>;" does just provide the name of the power rail that supply the ca15 cluster.
The postfix _dvfs is a little bit misleading in this case, I do agree.
If you do no want voltage scaling, it is just a matter of keeping the same voltage in the OPP table. This is what I have done in the series I sent a while back.
That being said, what is the exact voltage range supported by the CPU? AFAIR, with 28nm process some SoCs are able to scale down to 0.9v.
Thanks,
Benoit
Signature · 4 lines
Benoît Cousson BayLibre Embedded Linux Technology Lab www.baylibre.com
Hi Benoit
Thank you for your feedback.
Quoted 6 lines
Indeed, the line "cpu0-supply = <
&vdd_dvfs>;" does just provide the name of the power rail that supply the ca15 cluster.The postfix
_dvfsis a little bit misleading in this case, I do agree.If you do no want voltage scaling, it is just a matter of keeping the same voltage in the OPP table. This is what I have done in the series I sent a while back.
When I tested, the voltage scaling is not disabled with only voltage setting of OPP table. The regulator side(da9210) must also be set to the same voltage.
(When voltage scaling is activated, the environment will be unstable.)
I will post the fixed patch later.
Quoted 3 lines
That being said, what is the exact voltage range supported by the CPU? AFAIR, with 28nm process some SoCs are able to scale down to 0.9v.
I do not have this information.