Skip to content
Snippets Groups Projects
Unverified Commit 2bdcf3db authored by Paul Sajna's avatar Paul Sajna
Browse files

device-lg-judy{ln,p},linux-postmarketos-qcom-sdm845: backport judy uart to fix getty

Part-of: !6324

[ci:skip-build]: already built successfully in CI
parent c5cc2e47
No related branches found
No related tags found
No related merge requests found
From 6f43125d51292be322c4ec83a83d61b70c792ace Mon Sep 17 00:00:00 2001
From: Paul Sajna <hello@paulsajna.com>
Date: Sun, 9 Mar 2025 09:00:29 -0700
Subject: [PATCH] arch: arm64: dts: qcom: sdm845-lg-common: enable debug uart
---
.../arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 57ed447409d36..76b6072c7418a 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -31,6 +31,8 @@ chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
+
+ stdout-path = "serial0:115200n8";
};
reserved-memory {
@@ -153,6 +155,11 @@ vreg_s4a_1p8: pm8998-smps4-regulator {
vin-supply = <&vph_pwr>;
};
+
+
+ aliases {
+ serial0 = &uart9;
+ };
};
&adsp_pas {
@@ -589,3 +596,23 @@ vol_up_pin_a: vol-up-active-state {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
};
};
+
+
+&qup_uart9_rx {
+ drive-strength = <2>;
+ bias-pull-up;
+};
+
+&qup_uart9_tx {
+ drive-strength = <2>;
+ bias-disable;
+};
+
+&uart9 {
+ label = "LS-UART1";
+ status = "okay";
+};
+
+&qupv3_id_1 {
+ status = "okay";
+};
--
GitLab
......@@ -6,7 +6,7 @@
_flavor="postmarketos-qcom-sdm845"
pkgname=linux-$_flavor
pkgver=6.14.0_rc5
pkgrel=0
pkgrel=1
pkgdesc="Mainline Kernel fork for SDM845 devices"
arch="aarch64"
_carch="arm64"
......@@ -24,6 +24,7 @@ _tag="sdm845-6.14-rc5-r2"
source="
linux-$_tag.tar.gz::https://gitlab.com/sdm845-mainline/linux/-/archive/$_tag/linux-$_tag.tar.gz
$_config
0001-enable-judy-uart.patch
"
builddir="$srcdir/linux-$_tag"
......@@ -73,4 +74,5 @@ package() {
sha512sums="
e68ab4fbb912882bffb1630ebb6d90bed58ec89645e60b395672b94850bbeb8cfa98b4bf646624729ac462777544b6682554864e0fc24f9c994ea39c2feb524b linux-sdm845-6.14-rc5-r2.tar.gz
56d17ed221eb624ea58643a239f1225594f44126a1c6af0e6ba9b57c74c4f10e7d9089d7b7fd1a3eef375a15b3263b28e821587cee25911593c05f5bacf5caeb config-postmarketos-qcom-sdm845.aarch64
1c353a76129639b9df0c66d77bcda71fbea31995166054d97b9347b890809f92e2ef0ab52a04cb2008e9945790c1b8d1f4cc6a935741be3e6790c43dcea99a81 0001-enable-judy-uart.patch
"
......@@ -2,7 +2,7 @@
# Maintainer: Newbyte <newbie13xd@gmail.com>
pkgname=device-lg-judyln
pkgdesc="LG G7 ThinQ"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
......@@ -26,6 +26,6 @@ package() {
}
sha512sums="
78ad1091bda053a049df0b811abd20f535fb766cc9978e7a76636ed06e4e05bc4b83b74faa3e248e1454ec1555bec3280d485131e1e772143e6823ff8cdc9252 deviceinfo
bbfb5ddc98f9c83eefcd2653a92d213542e3f9447e05aaab6ed214e63c06eac5cf4d56a8953000328be7a2979d0ebba8f1b5bcce1b04dc487e8bc519fad4cfa5 deviceinfo
09fb39b4698e3fd433e35f94b4c39787a4ff9af258e8a85b5a197fb2676f993da2666ffb4ae98c41f35446d52b3578e1e6ebd06cc7010287ca140bf207c3a8af modules-initfs
"
......@@ -21,7 +21,7 @@ deviceinfo_rootfs_image_sector_size="4096"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="modprobe.blacklist=ipa"
deviceinfo_kernel_cmdline="modprobe.blacklist=ipa console=ttyMSM0,115200"
deviceinfo_getty="ttyMSM0;115200"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
......
......@@ -2,7 +2,7 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-lg-judyp
pkgdesc="LG V35 ThinQ"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
......@@ -26,6 +26,6 @@ package() {
}
sha512sums="
798dde39d6b1bf00bc5d4f157216893d18d8478e23062b8fac80e55a6d4838bfaf9c41fdf2dc6c51e867294540daae5f6514d0c63f551379a86513d9a56fc814 deviceinfo
01db6c7183da9bdd7b37b442551148b7d791bfb68f51acc4bbfa802bed03ea23b84c42cec4db2f56572373473e80e1744744692d0c1ca4d1b5ece0555ae821ae deviceinfo
09fb39b4698e3fd433e35f94b4c39787a4ff9af258e8a85b5a197fb2676f993da2666ffb4ae98c41f35446d52b3578e1e6ebd06cc7010287ca140bf207c3a8af modules-initfs
"
......@@ -21,7 +21,7 @@ deviceinfo_rootfs_image_sector_size="4096"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="modprobe.blacklist=ipa"
deviceinfo_kernel_cmdline="modprobe.blacklist=ipa console=ttyMSM0,115200"
deviceinfo_getty="ttyMSM0;115200"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment