[v3,4/4] ARM: tegra30: peripherals: add 266.5MHz nodes

Message ID 20230329090403.5274-5-clamor95@gmail.com
State New
Headers
Series Tegra DTS improvements |

Commit Message

Svyatoslav Ryhel March 29, 2023, 9:04 a.m. UTC
  LG Optimus Vu (p895) and Optimus 4X HD (p880) have 266.5MHz RAM
clock and require this entry to work with it correctly.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 .../arm/boot/dts/tegra30-peripherals-opp.dtsi | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
  

Comments

Thierry Reding April 4, 2023, 1:33 p.m. UTC | #1
From: Thierry Reding <treding@nvidia.com>

On Wed, 29 Mar 2023 12:04:03 +0300, Svyatoslav Ryhel wrote:
> LG Optimus Vu (p895) and Optimus 4X HD (p880) have 266.5MHz RAM
> clock and require this entry to work with it correctly.
> 
> 

Applied, thanks!

[4/4] ARM: tegra30: peripherals: add 266.5MHz nodes
      (no commit info)

Best regards,
  

Patch

diff --git a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi
index d100a1a8b705..a2d557155114 100644
--- a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi
+++ b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi
@@ -210,6 +210,20 @@  opp-204000000-1250 {
 			opp-suspend;
 		};
 
+		opp-266500000-1000 {
+			opp-microvolt = <1000000 1000000 1350000>;
+			opp-hz = /bits/ 64 <266500000>;
+			opp-supported-hw = <0x0007>;
+			required-opps = <&core_opp_1000>;
+		};
+
+		opp-266500000-1250 {
+			opp-microvolt = <1250000 1250000 1350000>;
+			opp-hz = /bits/ 64 <266500000>;
+			opp-supported-hw = <0x0008>;
+			required-opps = <&core_opp_1250>;
+		};
+
 		opp-333500000-1000 {
 			opp-microvolt = <1000000 1000000 1350000>;
 			opp-hz = /bits/ 64 <333500000>;
@@ -424,6 +438,12 @@  opp-204000000 {
 			opp-suspend;
 		};
 
+		opp-266500000 {
+			opp-hz = /bits/ 64 <266500000>;
+			opp-supported-hw = <0x000F>;
+			opp-peak-kBps = <2132000>;
+		};
+
 		opp-333500000 {
 			opp-hz = /bits/ 64 <333500000>;
 			opp-supported-hw = <0x000F>;