]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2018 10:26:52 +0000 (12:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2018 10:26:52 +0000 (12:26 +0200)
added patches:
arm64-dts-rockchip-remove-vdd_log-from-rk3399-puma.patch

queue-4.14/arm64-dts-rockchip-remove-vdd_log-from-rk3399-puma.patch [new file with mode: 0644]
queue-4.14/series

diff --git a/queue-4.14/arm64-dts-rockchip-remove-vdd_log-from-rk3399-puma.patch b/queue-4.14/arm64-dts-rockchip-remove-vdd_log-from-rk3399-puma.patch
new file mode 100644 (file)
index 0000000..76fbc48
--- /dev/null
@@ -0,0 +1,48 @@
+From 87eba0716011e528f7841026f2cc65683219d0ad Mon Sep 17 00:00:00 2001
+From: Klaus Goger <klaus.goger@theobroma-systems.com>
+Date: Tue, 5 Dec 2017 08:11:58 +0100
+Subject: arm64: dts: rockchip: remove vdd_log from rk3399-puma
+
+From: Klaus Goger <klaus.goger@theobroma-systems.com>
+
+commit 87eba0716011e528f7841026f2cc65683219d0ad upstream.
+
+vdd_log has no consumer and therefore will not be set to a specific
+voltage. Still the PWM output pin gets configured and thence the vdd_log
+output voltage will changed from it's default. Depending on the idle
+state of the PWM this will slightly over or undervoltage the logic supply
+of the RK3399 and cause instability with GbE (undervoltage) and PCIe
+(overvoltage). Since the default value set by a voltage divider is the
+correct supply voltage and we don't need to change it during runtime we
+remove the rail from the devicetree completely so the PWM pin will not
+be configured.
+
+Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
+Signed-off-by: Heiko Stuebner <heiko@sntech.de>
+Cc: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi |   11 -----------
+ 1 file changed, 11 deletions(-)
+
+--- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
++++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
+@@ -155,17 +155,6 @@
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+       };
+-
+-      vdd_log: vdd-log {
+-              compatible = "pwm-regulator";
+-              pwms = <&pwm2 0 25000 0>;
+-              regulator-name = "vdd_log";
+-              regulator-min-microvolt = <800000>;
+-              regulator-max-microvolt = <1400000>;
+-              regulator-always-on;
+-              regulator-boot-on;
+-              status = "okay";
+-      };
+ };
+ &cpu_b0 {
index c3da8bd329277d6d198984569fc4c3d886614d2b..86308cc2a80ab47b252573d7cb6b61ccbc22f4b6 100644 (file)
@@ -59,3 +59,4 @@ s390-add-sysfs-attributes-for-spectre.patch
 s390-correct-nospec-auto-detection-init-order.patch
 s390-correct-module-section-names-for-expoline-code-revert.patch
 microblaze-setup-dependencies-for-asm-optimized-lib-functions.patch
+arm64-dts-rockchip-remove-vdd_log-from-rk3399-puma.patch