summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2021-08-23 12:06:48 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-08-23 12:06:48 -0500
commit68ba09b2e8fa5196ea47d3834e64e0c9868552d5 (patch)
tree4cf53fbf0427aa78b28ecf72bb4fc5c8f4cf6d2f
parentfab840e687dce6f1dfab027f9f28af218cf67e63 (diff)
downloadkernel-68ba09b2e8fa5196ea47d3834e64e0c9868552d5.tar.gz
kernel-68ba09b2e8fa5196ea47d3834e64e0c9868552d5.tar.xz
kernel-68ba09b2e8fa5196ea47d3834e64e0c9868552d5.zip
Linux v5.14-rc7
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rwxr-xr-xkernel.spec2
-rw-r--r--patch-5.14.0-redhat.patch66
2 files changed, 67 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index 6e81ce8ab..ce907840e 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -2629,7 +2629,7 @@ then\
%{_sbindir}/weak-modules --add-kernel %{KVERREL}%{?1:+%{1}} || exit $?\
fi\
%endif\
-/bin/kernel-install add %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
+/bin/kernel-install -v add %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
%{nil}
#
diff --git a/patch-5.14.0-redhat.patch b/patch-5.14.0-redhat.patch
index 97503f85e..0c7b96383 100644
--- a/patch-5.14.0-redhat.patch
+++ b/patch-5.14.0-redhat.patch
@@ -4366,3 +4366,69 @@ index e4f5bd388a3c..000000000000
-}
-
-char LICENSE[] SEC("license") = "GPL";
+From b894705796f2b6106035e0619bfba627f2cfca18 Mon Sep 17 00:00:00 2001
+From: Matthias Brugger <mbrugger@suse.com>
+Date: Thu, 15 Jul 2021 18:41:01 +0200
+Subject: [PATCH] arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
+
+The CDN DP needs a PHY and a extcon to work correctly. But no extcon is
+provided by the device-tree, which leads to an error:
+cdn-dp fec00000.dp: [drm:cdn_dp_probe [rockchipdrm]] *ERROR* missing extcon or phy
+cdn-dp: probe of fec00000.dp failed with error -22
+
+Disable the CDN DP to make graphic work on the Pinebook Pro.
+
+Reported-by: Guillaume Gardet <guillaume.gardet@arm.com>
+Signed-off-by: Matthias Brugger <mbrugger@suse.com>
+---
+ arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+index 2115e03a59d7..dae8c252bc2b 100644
+--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
++++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+@@ -385,10 +385,6 @@ mains_charger: dc-charger {
+ };
+ };
+
+-&cdn_dp {
+- status = "okay";
+-};
+-
+ &cpu_b0 {
+ cpu-supply = <&vdd_cpu_b>;
+ };
+--
+GitLab
+
+From b735f326216640ea0610f20245db2f4505619177 Mon Sep 17 00:00:00 2001
+From: Dan Johansen <strit@manjaro.org>
+Date: Fri, 6 Aug 2021 00:04:27 +0200
+Subject: [PATCH] arm64: dts: rockchip: Setup USB typec port as datarole on
+
+Some chargers try to put the charged device into device data
+role. Before this commit this condition caused the tcpm state machine to
+issue a hard reset due to a capability missmatch.
+
+Signed-off-by: Dan Johansen <strit@manjaro.org>
+---
+ arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+index 2b5f001ff4a6..2115e03a59d7 100644
+--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
++++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+@@ -711,7 +711,7 @@ fusb0: fusb30x@22 {
+
+ connector {
+ compatible = "usb-c-connector";
+- data-role = "host";
++ data-role = "dual";
+ label = "USB-C";
+ op-sink-microwatt = <1000000>;
+ power-role = "dual";
+--
+GitLab
+