Verified Commit 63c35b8a authored by Dan Johansen's avatar Dan Johansen
Browse files

update to 5.14-rc6, update gpio-rockchip patchset to v8


Signed-off-by: Dan Johansen's avatarDan Johansen <strit@manjaro.org>
parent b99de8b1
Pipeline #4454 passed with stage
in 101 minutes and 8 seconds
From 81547abb93e469951875dde8dcbda39deeaaef15 Mon Sep 17 00:00:00 2001
From: Dan Johansen <strit@manjaro.org>
Date: Mon, 10 May 2021 17:29:00 +0200
Subject: [PATCH] arm64: dts: rockchip: add usb3 node to roc-cc/rock64
---
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 5 +++++
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index a05732b59f38..6546d32cc7e6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -371,6 +371,11 @@ &usb_host0_ohci {
status = "okay";
};
+&usbdrd3 {
+ dr_mode = "host";
+ status = "okay";
+};
+
&vop {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
index 3bef1f39bc6e..59a192ca3e60 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
@@ -389,6 +389,11 @@ &usb_host0_ohci {
status = "okay";
};
+&usbdrd3 {
+ dr_mode = "host";
+ status = "okay";
+};
+
&vop {
status = "okay";
};
--
2.31.1
This diff is collapsed.
From patchwork Fri Aug 6 09:40:05 2021
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Christian Hewitt <christianshewitt@gmail.com>
X-Patchwork-Id: 12423045
X-Patchwork-Delegate: narmstrong@baylibre.com
Return-Path:
<SRS0=KUqV=M5=lists.infradead.org=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
X-Spam-Level:
X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,
DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,
FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,
INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,
USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
by smtp.lore.kernel.org (Postfix) with ESMTP id B60D5C4338F
for <linux-amlogic@archiver.kernel.org>;
Fri, 6 Aug 2021 09:40:41 +0000 (UTC)
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mail.kernel.org (Postfix) with ESMTPS id 753D560F35
for <linux-amlogic@archiver.kernel.org>;
Fri, 6 Aug 2021 09:40:41 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 753D560F35
Authentication-Results: mail.kernel.org;
dmarc=fail (p=none dis=none) header.from=gmail.com
Authentication-Results: mail.kernel.org;
spf=none smtp.mailfrom=lists.infradead.org
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.infradead.org; s=bombadil.20210309; h=Sender:
Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help:
List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To
:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:
List-Owner; bh=xalntyAKzi1JxMb9xu4ZxBDspUS03LPxhcHxjpvooX8=; b=a+Mz1Vf0kJqQd+
5txUMN+T2tf32EfsIZ9SfAKRYMsEFn0e6/X9SA/qSemqIweqqXz91MPNU2u9lnNp0bCX4fwJQ/JyO
ZedCGXujGQdjtjSbQjY6i9qjGAbZkTcW5WrbKQeSaAUlh++v/6L34eY22TQ/78dS1UuKcIYqo8DFx
xdKWjOgeiM69HNGNuakvRbsmO5+lxhVGvxUiqclkle3y+pbptkCqbhWKtuTdaGtCtegJ9z7jUzVNT
DUHeVVNNiNSB4tBTqJ7/UzRzbJJLaMWi4YZsjbXtR4hzsL39ICTfpbgodc7shsAvv6sn6fcXFHWag
J5sglWGEW9MddiK/IuEw==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux))
id 1mBwLB-00C0d7-JD; Fri, 06 Aug 2021 09:40:33 +0000
Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d])
by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux))
id 1mBwKq-00C0Ye-4j; Fri, 06 Aug 2021 09:40:13 +0000
Received: by mail-wr1-x42d.google.com with SMTP id c16so10246248wrp.13;
Fri, 06 Aug 2021 02:40:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:cc:subject:date:message-id;
bh=il1yIk46p3XJvX3l/iCGJYKMOJQDsOFZaHzkEJnhC4s=;
b=nuIeU29wdllClgvVY6ItDDkgkpA8H4BEh+o72svM8IPYyYmZshm50ziyU08GQlpoy6
zCmVfaOPjzS34DbHZFM3V5AvFXfkROl5vKglIau9BvFd8xu2HMyJxOyNtA6SUitThN+v
9bHglfZMHe4scgotcxrovRZdRYMZUwWHhe0iX8qZNGvuoqaEN8Tvp1J7UAsWDugQENxW
FAStR3oxkRhzTmYCzUJVcUWlE3EGRJb4FtuWyd1b6M4kWCQ8JYgCY/5cIRRcrwr9n/3e
lA0Y8Iaz8m4BnBSy4ebRlE2koMb5KtmNFuZRW74iC0/ZoA+zUgLljl0SiNtOkglNPup6
cesg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:cc:subject:date:message-id;
bh=il1yIk46p3XJvX3l/iCGJYKMOJQDsOFZaHzkEJnhC4s=;
b=SOa+LB+QA3P+IySxeBYkWFefaMdz17IkoMhUos9AL3yS2ETCSbgIZ5D9q5CMZ2aLFJ
mQHWS32qWfTepkj4zXYqGABBwfccmVKFkqwGi9nbGT+N8TDBPCknD6OkD3L1/NjEo7bz
Z+3fPy1qscoe02CQceGJh5Ba2KSjxVmVCaY7VRfhwruEUpFgUuRO5nbdfMg6s8fsVzzJ
qGFJ2lQXs5NYISaNbjaFjLahDw0npWdpGRWkHWZFhxCklwpVSvKiG4E/iyPNfiT8dU5d
xf/xJ3sOivH9RUpWkDRFUJi96k+M48eBh4YvGOx3iE1XO2ZMgJivI7RF+4rIE1dSvGBe
ndMw==
X-Gm-Message-State: AOAM532uNKMZXd6gxRNQiyiJoo84kmfnhXkSV1sAFZbHdIDt8CZHxIqZ
CGhTX6h/nAICyr/jkMmUuSE=
X-Google-Smtp-Source:
ABdhPJzhi0NyuKsSrjL5UsR5Pm0H4x173l7Ah+PDgzXqIso2NXSwu3FUoCGjvRK7wUSBnGn0vtdXLw==
X-Received: by 2002:a05:6000:18c2:: with SMTP id
w2mr9680891wrq.282.1628242809760;
Fri, 06 Aug 2021 02:40:09 -0700 (PDT)
Received: from localhost.localdomain ([87.200.95.144])
by smtp.gmail.com with ESMTPSA id l2sm8846032wru.67.2021.08.06.02.40.07
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 06 Aug 2021 02:40:09 -0700 (PDT)
From: Christian Hewitt <christianshewitt@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,
Kevin Hilman <khilman@baylibre.com>, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: Christian Hewitt <christianshewitt@gmail.com>,
Mathias Steiger <mathias.steiger@googlemail.com>
Subject: [PATCH] drm/meson: fix colour distortion from HDR set during vendor
u-boot
Date: Fri, 6 Aug 2021 09:40:05 +0000
Message-Id: <20210806094005.7136-1-christianshewitt@gmail.com>
X-Mailer: git-send-email 2.17.1
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20210806_024012_226756_675B4AC1
X-CRM114-Status: GOOD ( 14.19 )
X-BeenThere: linux-amlogic@lists.infradead.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: <linux-amlogic.lists.infradead.org>
List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>,
<mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe>
List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/>
List-Post: <mailto:linux-amlogic@lists.infradead.org>
List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help>
List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>,
<mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe>
MIME-Version: 1.0
Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org>
Errors-To:
linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org
Add support for the OSD1 HDR registers so meson DRM can handle the HDR
properties set by Amlogic u-boot on G12A and newer devices which result
in blue/green/pink colour distortion to display output.
This takes the original patch submissions from Mathias [0] and [1] with
corrections for formatting and the missing description and attribution
needed for merge.
[0] https://lore.kernel.org/linux-amlogic/59dfd7e6-fc91-3d61-04c4-94e078a3188c@baylibre.com/T/
[1] https://lore.kernel.org/linux-amlogic/CAOKfEHBx_fboUqkENEMd-OC-NSrf46nto+vDLgvgttzPe99kXg@mail.gmail.com/T/#u
Fixes: 728883948b0d ("drm/meson: Add G12A Support for VIU setup")
Suggested-by: Mathias Steiger <mathias.steiger@googlemail.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Tested-by: Neil Armstrong<narmstrong@baylibre.com>
Tested-by: Philip Milev <milev.philip@gmail.com>
---
drivers/gpu/drm/meson/meson_registers.h | 5 +++++
drivers/gpu/drm/meson/meson_viu.c | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/meson/meson_registers.h b/drivers/gpu/drm/meson/meson_registers.h
index 446e7961da48..0f3cafab8860 100644
--- a/drivers/gpu/drm/meson/meson_registers.h
+++ b/drivers/gpu/drm/meson/meson_registers.h
@@ -634,6 +634,11 @@
#define VPP_WRAP_OSD3_MATRIX_PRE_OFFSET2 0x3dbc
#define VPP_WRAP_OSD3_MATRIX_EN_CTRL 0x3dbd
+/* osd1 HDR */
+#define OSD1_HDR2_CTRL 0x38a0
+#define OSD1_HDR2_CTRL_VDIN0_HDR2_TOP_EN BIT(13)
+#define OSD1_HDR2_CTRL_REG_ONLY_MAT BIT(16)
+
/* osd2 scaler */
#define OSD2_VSC_PHASE_STEP 0x3d00
#define OSD2_VSC_INI_PHASE 0x3d01
diff --git a/drivers/gpu/drm/meson/meson_viu.c b/drivers/gpu/drm/meson/meson_viu.c
index aede0c67a57f..259f3e6bec90 100644
--- a/drivers/gpu/drm/meson/meson_viu.c
+++ b/drivers/gpu/drm/meson/meson_viu.c
@@ -425,9 +425,14 @@ void meson_viu_init(struct meson_drm *priv)
if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXM) ||
meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXL))
meson_viu_load_matrix(priv);
- else if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_G12A))
+ else if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_G12A)) {
meson_viu_set_g12a_osd1_matrix(priv, RGB709_to_YUV709l_coeff,
true);
+ /* fix green/pink color distortion from vendor u-boot */
+ writel_bits_relaxed(OSD1_HDR2_CTRL_REG_ONLY_MAT |
+ OSD1_HDR2_CTRL_VDIN0_HDR2_TOP_EN, 0,
+ priv->io_base + _REG(OSD1_HDR2_CTRL));
+ }
/* Initialize OSD1 fifo control register */
reg = VIU_OSD_DDR_PRIORITY_URGENT |
From abbbb268cbecbfb728aeac204091c98de5ac0b66 Mon Sep 17 00:00:00 2001
From: Dan Johansen <strit@manjaro.org>
Date: Thu, 22 Apr 2021 15:29:26 +0200
Subject: [PATCH] drm/meson: fix green/pink color distortion set from uboot
Signed-off-by: Dan Johansen <strit@manjaro.org>
---
drivers/gpu/drm/meson/meson_drv.c | 4 ++++
drivers/gpu/drm/meson/meson_registers.h | 3 +++
2 files changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c
index 453d8b4c5763..fb99faeac1ff 100644
--- a/drivers/gpu/drm/meson/meson_drv.c
+++ b/drivers/gpu/drm/meson/meson_drv.c
@@ -308,6 +308,10 @@ static int meson_drv_bind_master(struct device *dev, bool has_components)
drm->mode_config.funcs = &meson_mode_config_funcs;
drm->mode_config.helper_private = &meson_mode_config_helpers;
+ /* undo settings made in vendor Uboot */
+
+ writel_bits_relaxed(15 << 13, 0, priv->io_base + _REG(OSD1_HDR2_CTRL)); // fixes green/pink color distortion - reg_only_mat must be 0
+
/* Hardware Initialization */
meson_vpu_init(priv);
diff --git a/drivers/gpu/drm/meson/meson_registers.h b/drivers/gpu/drm/meson/meson_registers.h
index 446e7961da48..91351f9a3515 100644
--- a/drivers/gpu/drm/meson/meson_registers.h
+++ b/drivers/gpu/drm/meson/meson_registers.h
@@ -634,6 +634,9 @@
#define VPP_WRAP_OSD3_MATRIX_PRE_OFFSET2 0x3dbc
#define VPP_WRAP_OSD3_MATRIX_EN_CTRL 0x3dbd
+/* osd1 HDR */
+#define OSD1_HDR2_CTRL 0x38a0
+
/* osd2 scaler */
#define OSD2_VSC_PHASE_STEP 0x3d00
#define OSD2_VSC_INI_PHASE 0x3d01
--
2.31.1
......@@ -3,14 +3,14 @@
# Maintainer: Dan Johansen <strit@manjaro.org>
_rcver=5.14
_rcrel=5
_rcrel=6
pkgbase=linux-rc
_srcname=linux-${_rcver}-rc${_rcrel}
_kernelname=${pkgbase#linux}
_desc="AArch64 multi-platform (release candidate)"
pkgver=${_rcver}.rc${_rcrel}
pkgrel=3
pkgrel=1
arch=('aarch64')
url="http://www.kernel.org/"
license=('GPL2')
......@@ -18,7 +18,6 @@ makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'dtc')
options=('!strip')
source=("https://git.kernel.org/torvalds/t/${_srcname}.tar.gz"
'0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch'
#'0002-arm64-dts-rockchip-add-usb3-node-to-roc-cc-rock64.patch' #can be removed
'0002-arm64-dts-amlogic-add-support-for-Radxa-Zero.patch'
'0005-arm64-dts-allwinner-add-hdmi-sound-to-pine-devices.patch'
'0006-arm64-dts-allwinner-add-ohci-ehci-to-h5-nanopi.patch'
......@@ -27,18 +26,17 @@ source=("https://git.kernel.org/torvalds/t/${_srcname}.tar.gz"
'0009-nuumio-panfrost-Silence-Panfrost-gem-shrinker-loggin.patch'
'0010-arm64-dts-rockchip-Add-Firefly-Station-p1-support.patch'
'0011-typec-displayport-some-devices-have-pin-assignments-reversed.patch' #Not upstreamable
'0012-usb-typec-add-extcon-to-tcpm.patch' #Not upstreamable
'0012-usb-typec-add-extcon-to-tcpm.patch' #Not upstreamable #requires cdn_dp to be enabled
'0014-arm64-rockchip-add-DP-ALT-rockpro64.patch' #Not upstreamable
'0015-ayufan-drm-rockchip-add-support-for-modeline-32MHz-e.patch'
'0016-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch'
'0022-phy-rockchip-typec-Set-extcon-capabilities.patch' #Needs tcpm patch 0012 #Not upstreamable
'0023-usb-typec-altmodes-displayport-Add-hacky-generic-altmode.patch' #Not upstreamable
'0026-arm64-dts-rockchip-add-typec-extcon-hack.patch' #Not upstreamable
'0027-arm64-dts-rockchip-setup-USB-type-c-port-as-dual-data-role.patch' #Submitted to list
'0027-arm64-dts-rockchip-setup-USB-type-c-port-as-dual-data-role.patch' #Reported to be applied in linux-next
'0029-drm-meson-add-YUV422-output-support.patch'
'0030-arm64-dts-meson-add-initial-Beelink-GT1-Ultimate-dev.patch'
'0031-add-ugoos-device.patch'
'0032-drm-meson-fix-colour-distortion-from-HDR-set-during-vendor-u-boot.patch' #Reported as applied in linux-next
'0035-drm-panfrost-Handle-failure-in-panfrost_job_hw_submit.patch'
'0001-Bluetooth-Add-new-quirk-for-broken-local-ext-features.patch'
'0002-Bluetooth-btrtl-add-support-for-the-RTL8723CS.patch'
......@@ -51,11 +49,11 @@ source=("https://git.kernel.org/torvalds/t/${_srcname}.tar.gz"
'0009-drm-panel-fix-PineTab-display.patch'
'0001-arm64-dts-rockchip-Add-quartz64-a-dts-from-linux-nex.patch' #Applied in linux-next
'0002-fixes-and-enablement-for-rk356x.patch' #Applied in linux-next
'0003-pinctrl-rockchip-always-enable-clock-for-gpio-controller.patch'
'0004-pinctrl-rockchip-separate-struct-rockchip_pin_bank-to-a-head-file.patch'
'0005-pinctrl-rockchip-add-pinctrl-device-to-gpio-bank-struct.patch'
#'0003-pinctrl-rockchip-always-enable-clock-for-gpio-controller.patch'
#'0004-pinctrl-rockchip-separate-struct-rockchip_pin_bank-to-a-head-file.patch'
#'0005-pinctrl-rockchip-add-pinctrl-device-to-gpio-bank-struct.patch'
'0006-gpio-rockchip-driver.patch'
'0007-PCI-rockchip-Add-Rockchip-RK356X-host-controller-driver.patch' #Reported as applied in linux-next
'0007-PCI-rockchip-Add-Rockchip-RK356X-host-controller-driver.patch' #Applied in linux-next
'0008-rockchip-io-domain.patch'
'0009-dt-bindings-iio-adc-rockchip-saradc-add-description-for-rk3568.patch' #Applied in linux-next
'0010-power-supply-Add-Support-for-RK817-Charger.patch'
......@@ -65,7 +63,7 @@ source=("https://git.kernel.org/torvalds/t/${_srcname}.tar.gz"
'linux.preset'
'60-linux.hook'
'90-linux.hook')
md5sums=('81ed3ced2be4499a06f0755dee8d95da'
md5sums=('233e8313e6db6f62df7c40418f796965'
'9e6b7f44db105fef525d715213dce7cf'
'754cf09a858498e1d98b44baa043a196'
'0d47dea87f03bf36262171e01889f832'
......@@ -86,7 +84,6 @@ md5sums=('81ed3ced2be4499a06f0755dee8d95da'
'469417b64e6a2bf65bd74c6d9cad2040'
'c41b101c033ac487c15298bc5a9e95cd'
'1b92d7617e60d3c525a4b18ab4351185'
'5cda1384c772e41e07d1a4914e5e6f5c'
'a90a366662357233db7022f8a1e7ac46'
'cf64831f27bb47da29e708b7243bb340'
'e3f53e07612939729afaa4dd7ef7f7ce'
......@@ -99,17 +96,14 @@ md5sums=('81ed3ced2be4499a06f0755dee8d95da'
'9f1eb855745543ac24b94d90cf759b37'
'bae82c4f8f8ee360df7695537d542e0e'
'a1c29fc4c7ea01af094a5a90c675620b'
'4d81f513e946c1d3862f381e7a6befe5'
'7eeaa0418ba7ce38f6f6168406b262d7'
'e7385b7cf79fe6f80f0e0d7153bbf9de'
'a99d52bacc3f95ebe63108d43c8580fd'
'6338a3a993e86692e1817e1f498bd210'
'f2203a951a7c3f2444e6618e49da0b93'
'bca5c0228958767b018b612fb10a6a6d'
'dec0be99fe374fad3a8650aaf672596e'
'c56520f7f0abaa0223bad321f5633817'
'ae85e433bc4fd787c20a4df0d07d528b'
'15b2d6fd96df0a070a8f1b4fc5399b8b'
'e75c5dea86b9b0ca8cf8df3e27faa770'
'fa377a3e6ce5e3a2d10aa83a3d059676'
'86d4a35722b5410e3b29fc92dae15d4b'
'ce6c81ad1ad1f8b333fd6077d47abdaf'
'3dc88030a8f2f5a5f97266d99b149f77')
......@@ -121,7 +115,6 @@ prepare() {
patch -Np1 -i "${srcdir}/0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch" #All
# Manjaro ARM Patches
#patch -Np1 -i "${srcdir}/0002-arm64-dts-rockchip-add-usb3-node-to-roc-cc-rock64.patch" #RK3328
patch -Np1 -i "${srcdir}/0002-arm64-dts-amlogic-add-support-for-Radxa-Zero.patch" #Radxa Zero
patch -Np1 -i "${srcdir}/0005-arm64-dts-allwinner-add-hdmi-sound-to-pine-devices.patch" #Pine64
patch -Np1 -i "${srcdir}/0006-arm64-dts-allwinner-add-ohci-ehci-to-h5-nanopi.patch" #Nanopi Neo Plus 2
......@@ -134,15 +127,14 @@ prepare() {
patch -Np1 -i "${srcdir}/0014-arm64-rockchip-add-DP-ALT-rockpro64.patch" #DP Alt mode - RockPro64
patch -Np1 -i "${srcdir}/0015-ayufan-drm-rockchip-add-support-for-modeline-32MHz-e.patch" #DP Alt mode
patch -Np1 -i "${srcdir}/0016-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch" #RockPro64
patch -Np1 -i "${srcdir}/0022-phy-rockchip-typec-Set-extcon-capabilities.patch" #DP Alt mode
patch -Np1 -i "${srcdir}/0023-usb-typec-altmodes-displayport-Add-hacky-generic-altmode.patch" #DP Alt mode
patch -Np1 -i "${srcdir}/0029-drm-meson-add-YUV422-output-support.patch" #G12B
patch -Np1 -i "${srcdir}/0030-arm64-dts-meson-add-initial-Beelink-GT1-Ultimate-dev.patch" #Beelink
patch -Np1 -i "${srcdir}/0031-add-ugoos-device.patch" #Ugoos
patch -Np1 -i "${srcdir}/0032-drm-meson-fix-colour-distortion-from-HDR-set-during-vendor-u-boot.patch" #AMLogic
patch -Np1 -i "${srcdir}/0035-drm-panfrost-Handle-failure-in-panfrost_job_hw_submit.patch" #AMLogic
# Pinebook Pro patches
patch -Np1 -i "${srcdir}/0022-phy-rockchip-typec-Set-extcon-capabilities.patch" #DP Alt mode
patch -Np1 -i "${srcdir}/0023-usb-typec-altmodes-displayport-Add-hacky-generic-altmode.patch" #DP Alt mode
patch -Np1 -i "${srcdir}/0026-arm64-dts-rockchip-add-typec-extcon-hack.patch" #DP Alt mode
patch -Np1 -i "${srcdir}/0027-arm64-dts-rockchip-setup-USB-type-c-port-as-dual-data-role.patch" #USB-C charging
......@@ -160,9 +152,9 @@ prepare() {
# Quartz64 development patches, will probably change alot
patch -Np1 -i "${srcdir}/0001-arm64-dts-rockchip-Add-quartz64-a-dts-from-linux-nex.patch" #Main DTS
patch -Np1 -i "${srcdir}/0002-fixes-and-enablement-for-rk356x.patch" #Fixes to DTS's
patch -Np1 -i "${srcdir}/0003-pinctrl-rockchip-always-enable-clock-for-gpio-controller.patch" #GPIO V7
patch -Np1 -i "${srcdir}/0004-pinctrl-rockchip-separate-struct-rockchip_pin_bank-to-a-head-file.patch" #GPIO V7
patch -Np1 -i "${srcdir}/0005-pinctrl-rockchip-add-pinctrl-device-to-gpio-bank-struct.patch" #GPIO V7
#patch -Np1 -i "${srcdir}/0003-pinctrl-rockchip-always-enable-clock-for-gpio-controller.patch" #GPIO V7
#patch -Np1 -i "${srcdir}/0004-pinctrl-rockchip-separate-struct-rockchip_pin_bank-to-a-head-file.patch" #GPIO V7
#patch -Np1 -i "${srcdir}/0005-pinctrl-rockchip-add-pinctrl-device-to-gpio-bank-struct.patch" #GPIO V7
patch -Np1 -i "${srcdir}/0006-gpio-rockchip-driver.patch" #GPIO V7
patch -Np1 -i "${srcdir}/0007-PCI-rockchip-Add-Rockchip-RK356X-host-controller-driver.patch" #PCIe
patch -Np1 -i "${srcdir}/0008-rockchip-io-domain.patch" #IO Domain
......
......@@ -2480,7 +2480,7 @@ CONFIG_MEGARAID_MM=m
CONFIG_MEGARAID_MAILBOX=m
CONFIG_MEGARAID_LEGACY=m
CONFIG_MEGARAID_SAS=m
CONFIG_SCSI_MPT3SAS=y
CONFIG_SCSI_MPT3SAS=m
CONFIG_SCSI_MPT2SAS_MAX_SGE=128
CONFIG_SCSI_MPT3SAS_MAX_SGE=128
# CONFIG_SCSI_MPT2SAS is not set
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment