From: Greg Kroah-Hartman Date: Tue, 1 Oct 2019 19:09:45 +0000 (+0200) Subject: 5.2-stable patches X-Git-Tag: v4.4.195~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0aaab26e217b8cb87a56e2511972ce813cdddfd4;p=thirdparty%2Fkernel%2Fstable-queue.git 5.2-stable patches added patches: arm-dts-am3517-evm-fix-missing-video.patch --- 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 index 00000000000..4fbb7ce8132 --- /dev/null +++ b/queue-5.2/arm-dts-am3517-evm-fix-missing-video.patch @@ -0,0 +1,65 @@ +From 24cf23276a54dd2825d3e3965c1b1b453e2a113d Mon Sep 17 00:00:00 2001 +From: Adam Ford +Date: Wed, 28 Aug 2019 13:33:51 -0500 +Subject: ARM: dts: am3517-evm: Fix missing video + +From: Adam Ford + +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 +Signed-off-by: Tony Lindgren +Signed-off-by: Greg Kroah-Hartman + +--- + 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 { diff --git a/queue-5.2/series b/queue-5.2/series index 28c0e6136f6..241c9734d11 100644 --- a/queue-5.2/series +++ b/queue-5.2/series @@ -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