public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS
@ 2023-02-28 11:41 Andre Przywara
  2023-02-28 21:08 ` Jernej Škrabec
  2023-03-14 20:37 ` Jernej Škrabec
  0 siblings, 2 replies; 3+ messages in thread
From: Andre Przywara @ 2023-02-28 11:41 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Chen-Yu Tsai, Samuel Holland,
	Jernej Skrabec
  Cc: devicetree, linux-arm-kernel, linux-sunxi

So far the OrangePi PC2 board was running at a fixed frequency, set by
U-Boot to 816 MHz, which is the best achievable frequency at the 1.1V
CPU voltage provided by the PMIC at reset.

We already describe the CPU voltage regulator in the DT, but were
missing the OPP table. Just include the default H5 OPP table, as used
by other boards. My OrangePi PC2 runs just fine with those values, and
now goes up to 1.15 GHz.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
index b5c1ff19b4c41..ce3ae19e72dbd 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
@@ -3,6 +3,7 @@
 
 /dts-v1/;
 #include "sun50i-h5.dtsi"
+#include "sun50i-h5-cpu-opp.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
-- 
2.25.1


_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS
  2023-02-28 11:41 [PATCH] arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS Andre Przywara
@ 2023-02-28 21:08 ` Jernej Škrabec
  2023-03-14 20:37 ` Jernej Škrabec
  1 sibling, 0 replies; 3+ messages in thread
From: Jernej Škrabec @ 2023-02-28 21:08 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Chen-Yu Tsai, Samuel Holland,
	Andre Przywara
  Cc: devicetree, linux-arm-kernel, linux-sunxi

Dne torek, 28. februar 2023 ob 12:41:12 CET je Andre Przywara napisal(a):
> So far the OrangePi PC2 board was running at a fixed frequency, set by
> U-Boot to 816 MHz, which is the best achievable frequency at the 1.1V
> CPU voltage provided by the PMIC at reset.
> 
> We already describe the CPU voltage regulator in the DT, but were
> missing the OPP table. Just include the default H5 OPP table, as used
> by other boards. My OrangePi PC2 runs just fine with those values, and
> now goes up to 1.15 GHz.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej



_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS
  2023-02-28 11:41 [PATCH] arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS Andre Przywara
  2023-02-28 21:08 ` Jernej Škrabec
@ 2023-03-14 20:37 ` Jernej Škrabec
  1 sibling, 0 replies; 3+ messages in thread
From: Jernej Škrabec @ 2023-03-14 20:37 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Chen-Yu Tsai, Samuel Holland,
	Andre Przywara
  Cc: devicetree, linux-arm-kernel, linux-sunxi

Dne torek, 28. februar 2023 ob 12:41:12 CET je Andre Przywara napisal(a):
> So far the OrangePi PC2 board was running at a fixed frequency, set by
> U-Boot to 816 MHz, which is the best achievable frequency at the 1.1V
> CPU voltage provided by the PMIC at reset.
> 
> We already describe the CPU voltage regulator in the DT, but were
> missing the OPP table. Just include the default H5 OPP table, as used
> by other boards. My OrangePi PC2 runs just fine with those values, and
> now goes up to 1.15 GHz.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>

Applied, thanks!

Best regards,
Jernej



_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2023-03-14 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-28 11:41 [PATCH] arm64: dts: allwinner: h5: OrangePi PC2: add OPP table to enable DVFS Andre Przywara
2023-02-28 21:08 ` Jernej Škrabec
2023-03-14 20:37 ` Jernej Škrabec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox