From 3c76abb8c508482834e1c8ef9ec1c89dd0665baa Mon Sep 17 00:00:00 2001 From: Piotr Szczepanik Date: Wed, 9 Sep 2020 21:51:31 +0200 Subject: [PATCH] Bumped voltages for low OPPs for rk3399 in current/dev (#2197) --- .../rk3399-bump-voltages-for-low-opps.patch | 40 +++++++++++++++++++ .../rk3399-bump-voltages-for-low-opps.patch | 40 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 patch/kernel/rockchip64-current/rk3399-bump-voltages-for-low-opps.patch create mode 100644 patch/kernel/rockchip64-dev/rk3399-bump-voltages-for-low-opps.patch diff --git a/patch/kernel/rockchip64-current/rk3399-bump-voltages-for-low-opps.patch b/patch/kernel/rockchip64-current/rk3399-bump-voltages-for-low-opps.patch new file mode 100644 index 0000000000..a7c9dee53d --- /dev/null +++ b/patch/kernel/rockchip64-current/rk3399-bump-voltages-for-low-opps.patch @@ -0,0 +1,40 @@ +The change is in line with the following commit from Rockchip's BSP: +https://github.com/rockchip-linux/kernel/commit/7a8a38540302b746cdb1238023d807190c1ee485 + +"It is better to make the voltage greater than 810mV +and it will be more stable." + +diff --git a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi +index 30f353c10..996fe66a5 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi ++++ b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi +@@ -10,12 +10,12 @@ + + opp00 { + opp-hz = /bits/ 64 <408000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>; +@@ -45,12 +45,12 @@ + + opp00 { + opp-hz = /bits/ 64 <408000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>; diff --git a/patch/kernel/rockchip64-dev/rk3399-bump-voltages-for-low-opps.patch b/patch/kernel/rockchip64-dev/rk3399-bump-voltages-for-low-opps.patch new file mode 100644 index 0000000000..a7c9dee53d --- /dev/null +++ b/patch/kernel/rockchip64-dev/rk3399-bump-voltages-for-low-opps.patch @@ -0,0 +1,40 @@ +The change is in line with the following commit from Rockchip's BSP: +https://github.com/rockchip-linux/kernel/commit/7a8a38540302b746cdb1238023d807190c1ee485 + +"It is better to make the voltage greater than 810mV +and it will be more stable." + +diff --git a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi +index 30f353c10..996fe66a5 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi ++++ b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi +@@ -10,12 +10,12 @@ + + opp00 { + opp-hz = /bits/ 64 <408000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>; +@@ -45,12 +45,12 @@ + + opp00 { + opp-hz = /bits/ 64 <408000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; +- opp-microvolt = <800000>; ++ opp-microvolt = <825000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>;