diff --git a/resources/BuildResources/patches-tested/DTS/0008-revert-rockchip-add-startup-delay-to-veyron-panel-regulators.patch b/resources/BuildResources/patches-tested/DTS/0008-revert-rockchip-add-startup-delay-to-veyron-panel-regulators.patch new file mode 100644 index 0000000..efaede6 --- /dev/null +++ b/resources/BuildResources/patches-tested/DTS/0008-revert-rockchip-add-startup-delay-to-veyron-panel-regulators.patch @@ -0,0 +1,91 @@ +commit f72b90279db4b34aa18c97be826014b611969509 [log] [tgz] +author Douglas Anderson Thu Jun 20 18:20:56 2019 +committer Commit Bot Wed Jul 10 18:03:58 2019 +tree 8380fa218796abf5c89be797a6af2de31d5b897c +parent 46f55c559e7163fbf283c96bfd993d22431aa6fc [diff] + +FROMLIST: Revert "ARM: dts: rockchip: add startup delay to rk3288-veyron panel-regulators" + +This reverts commit 1f45e8c6d0161f044d679f242fe7514e2625af4a. + +This 100 ms mystery delay is not on downstream kernels and no longer +seems needed on upstream kernels either [1]. Presumably something in the +meantime has made things better. A few possibilities for patches that +have landed in the meantime that could have made this better are +commit 3157694d8c7f ("pwm-backlight: Add support for PWM delays +proprieties."), commit 5fb5caee92ba ("pwm-backlight: Enable/disable +the PWM before/after LCD enable toggle."), and commit 6d5922dd0d60 +("ARM: dts: rockchip: set PWM delay backlight settings for Veyron") + +Let's revert and get our 100 ms back. + +[1] https://lkml.kernel.org/r/2226970.BAPq4liE1j@diego + +Signed-off-by: Douglas Anderson +(am from https://lore.kernel.org/patchwork/patch/1091867/) +(also found at https://lkml.kernel.org/r/20190620182056.61552-1-dianders@chromium.org) + +BUG=chromium:941638 +TEST=Lots of reboot tests; check eDP comes up + +Change-Id: I05638f852b8e278907dda813ca19d1eb81de14e5 +Signed-off-by: Douglas Anderson +Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1693736 +Reviewed-by: Sean Paul +Reviewed-by: Matthias Kaehlcke + +diff --git a/arch/arm/boot/dts/rk3288-veyron-jaq.dts b/arch/arm/boot/dts/rk3288-veyron-jaq.dts +index 367db7e..bd97dae 100644 +--- a/arch/arm/boot/dts/rk3288-veyron-jaq.dts ++++ b/arch/arm/boot/dts/rk3288-veyron-jaq.dts + +@@ -25,7 +25,6 @@ + pinctrl-names = "default"; + pinctrl-0 = <&lcd_enable_h>; + regulator-name = "panel_regulator"; +- startup-delay-us = <100000>; + vin-supply = <&vcc33_sys>; + }; + + +diff --git a/arch/arm/boot/dts/rk3288-veyron-jerry.dts b/arch/arm/boot/dts/rk3288-veyron-jerry.dts +index 983a25f..9c78537e 100644 +--- a/arch/arm/boot/dts/rk3288-veyron-jerry.dts ++++ b/arch/arm/boot/dts/rk3288-veyron-jerry.dts + +@@ -27,7 +27,6 @@ + pinctrl-names = "default"; + pinctrl-0 = <&lcd_enable_h>; + regulator-name = "panel_regulator"; +- startup-delay-us = <100000>; + vin-supply = <&vcc33_sys>; + }; + + +diff --git a/arch/arm/boot/dts/rk3288-veyron-minnie.dts b/arch/arm/boot/dts/rk3288-veyron-minnie.dts +index 62bb12b..5a9bd39 100644 +--- a/arch/arm/boot/dts/rk3288-veyron-minnie.dts ++++ b/arch/arm/boot/dts/rk3288-veyron-minnie.dts + +@@ -34,7 +34,6 @@ + pinctrl-names = "default"; + pinctrl-0 = <&lcd_enable_h>; + regulator-name = "panel_regulator"; +- startup-delay-us = <100000>; + vin-supply = <&vcc33_sys>; + }; + + +diff --git a/arch/arm/boot/dts/rk3288-veyron-speedy.dts b/arch/arm/boot/dts/rk3288-veyron-speedy.dts +index aea10b6..cb37543 100644 +--- a/arch/arm/boot/dts/rk3288-veyron-speedy.dts ++++ b/arch/arm/boot/dts/rk3288-veyron-speedy.dts + +@@ -25,7 +25,6 @@ + pinctrl-names = "default"; + pinctrl-0 = <&lcd_enable_h>; + regulator-name = "panel_regulator"; +- startup-delay-us = <100000>; + vin-supply = <&vcc33_sys>; + }; +