]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.2-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2019 19:09:45 +0000 (21:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2019 19:09:45 +0000 (21:09 +0200)
added patches:
arm-dts-am3517-evm-fix-missing-video.patch

queue-5.2/arm-dts-am3517-evm-fix-missing-video.patch [new file with mode: 0644]
queue-5.2/series

diff --git a/queue-5.2/arm-dts-am3517-evm-fix-missing-video.patch b/queue-5.2/arm-dts-am3517-evm-fix-missing-video.patch
new file mode 100644 (file)
index 0000000..4fbb7ce
--- /dev/null
@@ -0,0 +1,65 @@
+From 24cf23276a54dd2825d3e3965c1b1b453e2a113d Mon Sep 17 00:00:00 2001
+From: Adam Ford <aford173@gmail.com>
+Date: Wed, 28 Aug 2019 13:33:51 -0500
+Subject: ARM: dts: am3517-evm: Fix missing video
+
+From: Adam Ford <aford173@gmail.com>
+
+commit 24cf23276a54dd2825d3e3965c1b1b453e2a113d upstream.
+
+A previous commit removed the panel-dpi driver, which made the
+video on the AM3517-evm stop working because it relied on the dpi
+driver for setting video timings.  Now that the simple-panel driver
+is available in omap2plus, this patch migrates the am3517-evm
+to use a similar panel and remove the manual timing requirements.
+
+Fixes: 8bf4b1621178 ("drm/omap: Remove panel-dpi driver")
+
+Signed-off-by: Adam Ford <aford173@gmail.com>
+Signed-off-by: Tony Lindgren <tony@atomide.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/boot/dts/am3517-evm.dts |   23 ++++-------------------
+ 1 file changed, 4 insertions(+), 19 deletions(-)
+
+--- a/arch/arm/boot/dts/am3517-evm.dts
++++ b/arch/arm/boot/dts/am3517-evm.dts
+@@ -124,10 +124,11 @@
+       };
+       lcd0: display@0 {
+-              compatible = "panel-dpi";
++              /* This isn't the exact LCD, but the timings meet spec */
++              /* To make it work, set CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=4 */
++              compatible = "newhaven,nhd-4.3-480272ef-atxl";
+               label = "15";
+-              status = "okay";
+-              pinctrl-names = "default";
++              backlight = <&bl>;
+               enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;    /* gpio176, lcd INI */
+               vcc-supply = <&vdd_io_reg>;
+@@ -136,22 +137,6 @@
+                               remote-endpoint = <&dpi_out>;
+                       };
+               };
+-
+-              panel-timing {
+-                      clock-frequency = <9000000>;
+-                      hactive = <480>;
+-                      vactive = <272>;
+-                      hfront-porch = <3>;
+-                      hback-porch = <2>;
+-                      hsync-len = <42>;
+-                      vback-porch = <3>;
+-                      vfront-porch = <4>;
+-                      vsync-len = <11>;
+-                      hsync-active = <0>;
+-                      vsync-active = <0>;
+-                      de-active = <1>;
+-                      pixelclk-active = <1>;
+-              };
+       };
+       bl: backlight {
index 28c0e6136f6ab3101d0ec45b441bbaec4469a7c0..241c9734d1102dfae4c6db83ff6a15bfba9c6cf2 100644 (file)
@@ -226,3 +226,4 @@ ib-hfi1-define-variables-as-unsigned-long-to-fix-kasan-warning.patch
 ib-hfi1-do-not-update-hcrc-for-a-kdeth-packet-during-fault-injection.patch
 rdma-fix-double-free-in-srq-creation-error-flow.patch
 randstruct-check-member-structs-in-is_pure_ops_struct.patch
+arm-dts-am3517-evm-fix-missing-video.patch