build/patch/kernel/archive/odroidxu4-5.15/0059-ODROID-N2-C4-HC4-arm64-dts-add-new-clock-1GHz-for-GP.patch

71 lines
2.0 KiB
Diff
Raw Normal View History

From b36df8414448ed8b0bc1c70d7b15340ddd69b6a2 Mon Sep 17 00:00:00 2001
From: Dongjin Kim <tobetter@gmail.com>
Date: Fri, 22 Jan 2021 11:38:06 +0900
Subject: [PATCH 59/75] ODROID-N2/C4/HC4: arm64/dts: add new clock 1GHz for GPU
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic1f4bb11a13ec003f35700d03c44f5b3e4f19a13
---
arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts | 7 +++++++
arch/arm64/boot/dts/amlogic/meson64_odroidhc4.dts | 7 +++++++
arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts | 7 +++++++
3 files changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
index b929eee1a160..8bdf282f9abf 100644
--- a/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
+++ b/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
@@ -32,6 +32,13 @@ &ethmac {
/delete-property/ reset-names;
};
+&gpu_opp_table {
+ opp-999999984 {
+ opp-hz = /bits/ 64 <999999984>;
+ opp-microvolt = <800000>;
+ };
+};
+
&vddcpu {
regulator-max-microvolt = <1030000>;
};
diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidhc4.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidhc4.dts
index b983cf00da72..aa493f73a12e 100644
--- a/arch/arm64/boot/dts/amlogic/meson64_odroidhc4.dts
+++ b/arch/arm64/boot/dts/amlogic/meson64_odroidhc4.dts
@@ -64,6 +64,13 @@ &fan0 {
pulses-per-revolutions = <2>;
};
+&gpu_opp_table {
+ opp-999999984 {
+ opp-hz = /bits/ 64 <999999984>;
+ opp-microvolt = <800000>;
+ };
+};
+
&vddcpu {
regulator-max-microvolt = <1030000>;
};
diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts
index b541ec1a88f6..bdd62c8bff2e 100644
--- a/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts
@@ -130,6 +130,13 @@ &ethmac {
/delete-property/ reset-names;
};
+&gpu_opp_table {
+ opp-999999984 {
+ opp-hz = /bits/ 64 <999999984>;
+ opp-microvolt = <800000>;
+ };
+};
+
&spdifout {
pinctrl-0 = <&spdif_out_a13_pins>;
pinctrl-names = "default";
--
2.25.1