* [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
@ 2026-03-24 2:06 Paul Sajna
2026-03-24 2:06 ` [PATCH v6 01/15] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
` (12 more replies)
0 siblings, 13 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Konrad Dybcio, Dmitry Baryshkov, Amir Dahan,
Pavel Machek
Rollup of improved hardware support via devicetree for LG G7 ThinQ
(judyln) from sdm845-mainline kernel fork
Notably, this patch-series enables full DRM acceleration and wifi,
among other small improvements in individual commits
after this patch-series the main things that remain to be worked
on include touchscreen, audio, and modem.
Depends upon panel driver patch-series https://lore.kernel.org/all/20250910-judyln-panel-v1-1-825c74403bbb@postmarketos.org/T/#r9a976ca01e309b6c03100e984a26a0ffc2fe2002
Co-developed-by: Amir Dahan <system64fumo@tuta.io>
Co-developed-by: Christopher Brown <crispybrown@gmail.com>
Signed-off-by: Amir Dahan <system64fumo@tuta.io>
Signed-off-by: Christopher Brown <crispybrown@gmail.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
Changes in v6:
- Mistakes were made with b4 and branch was rebuilt, hopefully correctly
- Split more things that got mixed into the sort commit (qups and venus)
- Added more backlight properties from downstream
- Framebuffer added back in
- Update compatible for panel
- Add qcom,te-source
- Reference memory region in framebuffer instead of reg
- Correction to rmtfs_mem
- Set lab/ibb to 5.5V
- Fixed flashlight/torch
- Update commit message for gsi-loader=self
- Update LG to capitalized in firmware paths
- Remove qcom,snoc-host-cap-skip-quirk dependency (break wifi)
- Enable dma controllers
- Link to v5: https://lore.kernel.org/r/20251203-judyln-dts-v5-0-80c1ffca8487@postmarketos.org
Changes in v5:
- update system64's email
- reduce lab/ibb voltage range
- status should go last
- remove rebase leftovers
- fix flashlight
- Link to v4: https://lore.kernel.org/r/20251125-judyln-dts-v4-0-a5a60500b267@postmarketos.org
Changes in v4:
- add panel identifier in addition to ddic
- make sde_te pull-down
- fixup flash current
- remove framebuffer reserved-mem
- remove manual lower guard
- depend upon https://lore.kernel.org/all/20251110-skip-host-cam-qmi-req-v2-0-0daf485a987a@ixit.cz/T
- reword commits
- Link to v3: https://lore.kernel.org/r/20250928-judyln-dts-v3-0-b14cf9e9a928@postmarketos.org
Changes in v3:
- change firmware paths to lowercase 'lg' (matching dt-bindings)
- fix signoffs
- add wifi dmesg to commit message
- remove regulator-always-on from ibb
- remove framebuffer
- remove msm ids
- don't continue commit subject into commit messages
- split bluetooth node
- add sbu uart details to commit message
- change ipa gsi-loader to self
- Link to v2: https://lore.kernel.org/r/20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org
Changes in v2:
- sort at the start
- drop unnecessary labels
- drop unnecessary gmu
- multi-led
- split fb-panel changes
- expand upon firmware commit message
- use qcom,calibration-variant instead of
qcom,ath10k-calibration-variant
- change firmware paths to include "LG"
- remove framebuffer reservation
- add lab/ibb
- Link to v1: https://lore.kernel.org/r/20250913-judyln-dts-v1-0-23b4b7790dce@postmarketos.org
---
Amir Dahan (1):
arm64: dts: qcom: sdm845-lg-common: Add LEDs
Christopher Brown (1):
arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger
Paul Sajna (13):
arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties
arm64: dts: qcom: sdm845-lg-common: Enable venus
arm64: dts: qcom: sdm845-lg-common: Enable qups
arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
arm64: dts: qcom: sdm845-lg-judyln: Add display panel
arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
arm64: dts: qcom: sdm845-lg-common: Add chassis-type
arm64: dts: qcom: sdm845-lg-common: Add camera flash
arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
arm64: dts: qcom: sdm845-lg-{judyln, judyp}: reference memory region in fb
arm64: dts: qcom: sdm845-lg-commmon: enable dma controllers
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 228 +++++++++++++++++++------
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 129 +++++++++++++-
arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts | 2 +-
3 files changed, 295 insertions(+), 64 deletions(-)
---
base-commit: 674feabdc26e80c4dbc884d7b6e2d2a4b93919e6
change-id: 20250911-judyln-dts-17c41e59dc0f
prerequisite-message-id: <20250910-judyln-panel-v1-1-825c74403bbb@postmarketos.org>
prerequisite-patch-id: e51151ea7f8fdad6ad7d90713febc5c6b6fc4f9c
prerequisite-patch-id: b3dd44250da9cd12bc5b2d0d7e865dbe19ceed92
prerequisite-patch-id: fd6c8077806cb03fcf37d0e0d730314c2760e334
Best regards,
--
Paul Sajna <sajattack@postmarketos.org>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH v6 01/15] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 2:06 ` [PATCH v6 02/15] arm64: dts: qcom: sdm845-lg-common: Enable venus Paul Sajna
` (11 subsequent siblings)
12 siblings, 0 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Konrad Dybcio, Dmitry Baryshkov
Improve adherance to style guidelines below:
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 124 ++++++++++++-------------
1 file changed, 62 insertions(+), 62 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 0ee2f4b99fbd..93ed8f240461 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -38,11 +38,6 @@ reserved-memory {
#size-cells = <2>;
ranges;
- qseecom_mem: memory@b2000000 {
- reg = <0 0xb2000000 0 0x1800000>;
- no-map;
- };
-
gpu_mem: memory@8c415000 {
reg = <0 0x8c415000 0 0x2000>;
no-map;
@@ -99,6 +94,11 @@ memory@9d400000 {
no-map;
};
+ qseecom_mem: memory@b2000000 {
+ reg = <0 0xb2000000 0 0x1800000>;
+ no-map;
+ };
+
rmtfs_mem: rmtfs-region@f0800000 {
compatible = "qcom,rmtfs-mem";
reg = <0 0xf0800000 0 0x202000>;
@@ -467,14 +467,22 @@ &mss_pil {
status = "okay";
};
+&pm8998_gpios {
+ vol_up_pin_a: vol-up-active-state {
+ pins = "gpio6";
+ function = "normal";
+ input-enable;
+ bias-pull-up;
+ qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
+ };
+};
+
&pm8998_resin {
linux,code = <KEY_VOLUMEDOWN>;
status = "okay";
};
&sdhc_2 {
- status = "okay";
-
cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
@@ -482,55 +490,8 @@ &sdhc_2 {
vmmc-supply = <&vreg_l21a_2p95>;
vqmmc-supply = <&vddpx_2>;
-};
-
-/*
- * UFS works partially and only with clk_ignore_unused.
- * Sometimes it crashes with I/O errors.
- */
-&ufs_mem_hc {
- status = "okay";
-
- reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
-
- vcc-supply = <&vreg_l20a_2p95>;
- vcc-max-microamp = <600000>;
-};
-
-&ufs_mem_phy {
- status = "okay";
-
- vdda-phy-supply = <&vdda_ufs1_core>;
- vdda-pll-supply = <&vdda_ufs1_1p2>;
-};
-
-&usb_1 {
- status = "okay";
-};
-
-&usb_1_dwc3 {
- /* TODO: these devices have usb id pin */
- dr_mode = "peripheral";
-};
-
-&usb_1_hsphy {
- status = "okay";
-
- vdd-supply = <&vdda_usb1_ss_core>;
- vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
- vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
-
- qcom,imp-res-offset-value = <8>;
- qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
- qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
- qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
-};
-&usb_1_qmpphy {
status = "okay";
-
- vdda-phy-supply = <&vdda_usb1_ss_1p2>;
- vdda-pll-supply = <&vdda_usb1_ss_core>;
};
/* PINCTRL - additions to nodes defined in sdm845.dtsi */
@@ -571,12 +532,51 @@ sd_card_det_n: sd-card-det-n-state {
};
};
-&pm8998_gpios {
- vol_up_pin_a: vol-up-active-state {
- pins = "gpio6";
- function = "normal";
- input-enable;
- bias-pull-up;
- qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
- };
+/*
+ * UFS works partially and only with clk_ignore_unused.
+ * Sometimes it crashes with I/O errors.
+ */
+&ufs_mem_hc {
+ reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
+
+ vcc-supply = <&vreg_l20a_2p95>;
+ vcc-max-microamp = <600000>;
+
+ status = "okay";
+};
+
+&ufs_mem_phy {
+ vdda-phy-supply = <&vdda_ufs1_core>;
+ vdda-pll-supply = <&vdda_ufs1_1p2>;
+
+ status = "okay";
+};
+
+&usb_1 {
+ status = "okay";
+};
+
+&usb_1_dwc3 {
+ /* TODO: these devices have usb id pin */
+ dr_mode = "peripheral";
+};
+
+&usb_1_hsphy {
+ vdd-supply = <&vdda_usb1_ss_core>;
+ vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
+ vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
+
+ qcom,imp-res-offset-value = <8>;
+ qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
+ qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
+ qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
+
+ status = "okay";
+};
+
+&usb_1_qmpphy {
+ vdda-phy-supply = <&vdda_usb1_ss_1p2>;
+ vdda-pll-supply = <&vdda_usb1_ss_core>;
+
+ status = "okay";
};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 02/15] arm64: dts: qcom: sdm845-lg-common: Enable venus
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2026-03-24 2:06 ` [PATCH v6 01/15] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 10:48 ` Konrad Dybcio
2026-03-24 2:06 ` [PATCH v6 03/15] arm64: dts: qcom: sdm845-lg-common: Enable qups Paul Sajna
` (10 subsequent siblings)
12 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna
Qualcomm video en/de-coder
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 93ed8f240461..87ac41ec2e46 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -580,3 +580,7 @@ &usb_1_qmpphy {
status = "okay";
};
+
+&venus {
+ status = "okay";
+};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 03/15] arm64: dts: qcom: sdm845-lg-common: Enable qups
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2026-03-24 2:06 ` [PATCH v6 01/15] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
2026-03-24 2:06 ` [PATCH v6 02/15] arm64: dts: qcom: sdm845-lg-common: Enable venus Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 20:57 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 04/15] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
` (9 subsequent siblings)
12 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna
Qualcomm serial communicators required for i2c, serial, and spi
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 87ac41ec2e46..eb8de8d01177 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -482,6 +482,14 @@ &pm8998_resin {
status = "okay";
};
+&qupv3_id_0 {
+ status = "okay";
+};
+
+&qupv3_id_1 {
+ status = "okay";
+};
+
&sdhc_2 {
cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 04/15] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (2 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 03/15] arm64: dts: qcom: sdm845-lg-common: Enable qups Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 10:50 ` Konrad Dybcio
2026-03-24 2:06 ` [PATCH v6 05/15] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Paul Sajna
` (8 subsequent siblings)
12 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Dmitry Baryshkov
uart9 is debug serial on USB SBU1/2
UART RX is SBU1 and UART TX is SBU2 of the USB-C port).
1.8V Logic Level
Tested using pololu usb07a https://www.pololu.com/product/2585
and CH340 USB-UART
uart6 is bluetooth
Bluetooth: hci0: setting up wcn399x
Bluetooth: hci0: QCA Product ID :0x0000000a
Bluetooth: hci0: QCA SOC Version :0x40010214
Bluetooth: hci0: QCA ROM Version :0x00000201
Bluetooth: hci0: QCA Patch Version:0x00000001
Bluetooth: hci0: QCA controller version 0x02140201
Bluetooth: hci0: QCA Downloading qca/crbtfw21.tlv
Bluetooth: hci0: QCA Downloading qca/judyln/crnv21.bin
Bluetooth: hci0: QCA setup on UART is completed
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 37 ++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 8 ++++++
2 files changed, 45 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index eb8de8d01177..57badeff16a5 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -27,10 +27,17 @@
/delete-node/ &wlan_msa_mem;
/ {
+ aliases {
+ serial0 = &uart9;
+ serial1 = &uart6;
+ };
+
chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
+
+ stdout-path = "serial0:115200n8";
};
reserved-memory {
@@ -490,6 +497,16 @@ &qupv3_id_1 {
status = "okay";
};
+&qup_uart9_rx {
+ drive-strength = <2>;
+ bias-pull-up;
+};
+
+&qup_uart9_tx {
+ drive-strength = <2>;
+ bias-disable;
+};
+
&sdhc_2 {
cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
@@ -540,6 +557,26 @@ sd_card_det_n: sd-card-det-n-state {
};
};
+&uart6 {
+ pinctrl-0 = <&qup_uart6_4pin>;
+
+ status = "okay";
+
+ bluetooth: bluetooth {
+ compatible = "qcom,wcn3990-bt";
+
+ vddio-supply = <&vreg_s4a_1p8>;
+ vddxo-supply = <&vreg_l7a_1p8>;
+ vddrf-supply = <&vreg_l17a_1p3>;
+ vddch0-supply = <&vreg_l25a_3p3>;
+ max-speed = <3200000>;
+ };
+};
+
+&uart9 {
+ status = "okay";
+};
+
/*
* UFS works partially and only with clk_ignore_unused.
* Sometimes it crashes with I/O errors.
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index 09bfcef42402..e530a08f5e27 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -43,6 +43,14 @@ &adsp_pas {
firmware-name = "qcom/sdm845/judyln/adsp.mbn";
};
+&bluetooth {
+ /*
+ * This path is relative to the qca/
+ * subdir under lib/firmware.
+ */
+ firmware-name = "judyln/crnv21.bin";
+};
+
&cdsp_pas {
firmware-name = "qcom/sdm845/judyln/cdsp.mbn";
};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 05/15] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (3 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 04/15] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 2:06 ` [PATCH v6 06/15] arm64: dts: qcom: sdm845-lg-common: Add LEDs Paul Sajna
` (7 subsequent siblings)
12 siblings, 0 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Konrad Dybcio
From: Christopher Brown <crispybrown@gmail.com>
Values based on lineageos kernel
https://github.com/LineageOS/android_kernel_lge_sdm845/blob/lineage-22.2/arch/arm64/boot/dts/lge/sdm845-battery/LGE_BLT39_LGC_3000mAh.dtsi
Signed-off-by: Christopher Brown <crispybrown@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index e530a08f5e27..55bfddab3afd 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -37,6 +37,14 @@ key-thinq {
interrupts = <89 IRQ_TYPE_LEVEL_LOW>;
};
};
+
+ battery: battery {
+ compatible = "simple-battery";
+
+ charge-full-design-microamp-hours = <3000000>;
+ voltage-min-design-microvolt = <3200000>;
+ voltage-max-design-microvolt = <4400000>;
+ };
};
&adsp_pas {
@@ -63,6 +71,12 @@ &mss_pil {
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
};
+&pmi8998_charger {
+ monitored-battery = <&battery>;
+
+ status = "okay";
+};
+
&tlmm {
thinq_key_default: thinq-key-default-state {
pins = "gpio89";
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 06/15] arm64: dts: qcom: sdm845-lg-common: Add LEDs
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (4 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 05/15] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 2:06 ` [PATCH v6 07/15] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
` (6 subsequent siblings)
12 siblings, 0 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Amir Dahan, Pavel Machek, Konrad Dybcio
From: Amir Dahan <system64fumo@protonmail.com>
Add the multicolor status LED in the phone's notch.
Signed-off-by: Amir Dahan <system64fumo@tuta.io>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 28 ++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 57badeff16a5..7b0e14d3f57e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -6,6 +6,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
@@ -489,6 +490,33 @@ &pm8998_resin {
status = "okay";
};
+&pmi8998_lpg {
+ status = "okay";
+
+ multi-led {
+ color = <LED_COLOR_ID_RGB>;
+ function = LED_FUNCTION_STATUS;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@3 {
+ reg = <3>;
+ color = <LED_COLOR_ID_BLUE>;
+ };
+
+ led@4 {
+ reg = <4>;
+ color = <LED_COLOR_ID_GREEN>;
+ };
+
+ led@5 {
+ reg = <5>;
+ color = <LED_COLOR_ID_RED>;
+ };
+ };
+};
+
&qupv3_id_0 {
status = "okay";
};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 07/15] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (5 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 06/15] arm64: dts: qcom: sdm845-lg-common: Add LEDs Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 10:51 ` Konrad Dybcio
2026-03-24 2:06 ` [PATCH v6 08/15] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
` (5 subsequent siblings)
12 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna
These regulators are required for the LCD
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index 55bfddab3afd..bbfa709048f7 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -67,6 +67,23 @@ &gpu_zap_shader {
firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
};
+&ibb {
+ regulator-min-microvolt = <5500000>;
+ regulator-max-microvolt = <5500000>;
+ regulator-over-current-protection;
+ regulator-pull-down;
+ regulator-soft-start;
+ qcom,discharge-resistor-kohms = <300>;
+};
+
+&lab {
+ regulator-min-microvolt = <5500000>;
+ regulator-max-microvolt = <5500000>;
+ regulator-over-current-protection;
+ regulator-pull-down;
+ regulator-soft-start;
+};
+
&mss_pil {
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 08/15] arm64: dts: qcom: sdm845-lg-judyln: Add display panel
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (6 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 07/15] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 20:58 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
` (4 subsequent siblings)
12 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Konrad Dybcio
Also include other supporting msm drm nodes, gpio and backlight
Co-developed-by: Amir Dahan <system64fumo@tuta.io>
Signed-off-by: Amir Dahan <system64fumo@tuta.io>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 13 +++--
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 68 +++++++++++++++++++++++++-
2 files changed, 75 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 7b0e14d3f57e..a5a04ec11eb7 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -450,10 +450,6 @@ &cdsp_pas {
status = "okay";
};
-&dispcc {
- status = "disabled";
-};
-
&gcc {
protected-clocks = <GCC_QSPI_CORE_CLK>,
<GCC_QSPI_CORE_CLK_SRC>,
@@ -517,6 +513,15 @@ led@5 {
};
};
+&pmi8998_wled {
+ qcom,current-limit-microamp = <20000>;
+ qcom,ovp-millivolt = <29600>;
+ qcom,switching-freq = <800>;
+ qcom,num-strings = <3>;
+ qcom,cabc;
+ status = "okay";
+};
+
&qupv3_id_0 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index bbfa709048f7..46119630d721 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -21,8 +21,6 @@ framebuffer@9d400000 {
height = <3120>;
stride = <(1440 * 4)>;
format = "a8r8g8b8";
- lab-supply = <&lab>;
- ibb-supply = <&ibb>;
};
};
@@ -67,6 +65,51 @@ &gpu_zap_shader {
firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
};
+&mdss {
+ status = "okay";
+};
+
+&mdss_dsi0 {
+ vdda-supply = <&vdda_mipi_dsi0_1p2>;
+
+ status = "okay";
+
+ display_panel: panel@0 {
+ reg = <0>;
+ compatible = "lg,sw49410-lh609qh1", "lg,sw49410";
+
+ backlight = <&pmi8998_wled>;
+ reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
+ width-mm = <65>;
+ height-mm = <140>;
+
+ vsp-supply = <&lab>;
+ vsn-supply = <&ibb>;
+
+ pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>;
+ pinctrl-1 = <&sde_dsi_sleep &sde_te_active_sleep>;
+ pinctrl-names = "default", "sleep";
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&mdss_dsi0_out>;
+ };
+ };
+ };
+};
+
+&mdss_dsi0_phy {
+ vdds-supply = <&vdda_mipi_dsi0_pll>;
+
+ status = "okay";
+};
+
+&mdss_dsi0_out {
+ data-lanes = <0 1 2 3>;
+ remote-endpoint = <&panel_in>;
+ qcom,te-source = "mdp_vsync_e";
+};
+
&ibb {
regulator-min-microvolt = <5500000>;
regulator-max-microvolt = <5500000>;
@@ -102,4 +145,25 @@ thinq_key_default: thinq-key-default-state {
drive-strength = <2>;
bias-pull-up;
};
+
+ sde_dsi_active: sde-dsi-active-state {
+ pins = "gpio6";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ sde_dsi_sleep: sde-dsi-sleep-state {
+ pins = "gpio6";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+
+ sde_te_active_sleep: sde-te-active-sleep-state {
+ pins = "gpio10";
+ function = "mdp_vsync";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (7 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 08/15] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 10:49 ` Konrad Dybcio
2026-03-24 20:56 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 10/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
` (3 subsequent siblings)
12 siblings, 2 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna
Add paths for Qualcomm firmware, including:
ipa, modem, venus, gpu
GPU and bluetooth are confirmed working, others may need more
testing/fixes
But regardless they will need the firmware paths specified here
and firmware added upstream before they will work, so might as well
get started on it now.
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 2 ++
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 16 ++++++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index a5a04ec11eb7..dd42ed0bf63e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -464,6 +464,8 @@ &gpu {
&ipa {
qcom,gsi-loader = "modem";
+ memory-region = <&ipa_fw_mem>;
+
status = "okay";
};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index 46119630d721..7948fe3dbaa2 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -46,7 +46,7 @@ battery: battery {
};
&adsp_pas {
- firmware-name = "qcom/sdm845/judyln/adsp.mbn";
+ firmware-name = "qcom/sdm845/LG/judyln/adsp.mbn";
};
&bluetooth {
@@ -58,11 +58,15 @@ &bluetooth {
};
&cdsp_pas {
- firmware-name = "qcom/sdm845/judyln/cdsp.mbn";
+ firmware-name = "qcom/sdm845/LG/judyln/cdsp.mbn";
};
&gpu_zap_shader {
- firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
+ firmware-name = "qcom/sdm845/LG/judyln/a630_zap.mbn";
+};
+
+&ipa {
+ firmware-name = "qcom/sdm845/LG/judyln/ipa_fws.mbn";
};
&mdss {
@@ -128,7 +132,7 @@ &lab {
};
&mss_pil {
- firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
+ firmware-name = "qcom/sdm845/LG/judyln/mba.mbn", "qcom/sdm845/LG/judyln/modem.mbn";
};
&pmi8998_charger {
@@ -167,3 +171,7 @@ sde_te_active_sleep: sde-te-active-sleep-state {
bias-pull-down;
};
};
+
+&venus {
+ firmware-name = "qcom/sdm845/LG/judyln/venus.mbn";
+};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 10/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (8 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 21:07 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 11/15] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Paul Sajna
` (2 subsequent siblings)
12 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Konrad Dybcio, Dmitry Baryshkov
Wi-Fi now works with this patch, relevant firmware and
qcom,snoc-host-cap-skip-quirk
qcom,snoc-host-cap-skip-quirk has not been approved/merged in mainline,
so it is not included here.
ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40030001
ath10k_snoc 18800000.wifi: qmi fw_version 0x20060285 fw_build_timestamp 2020-10-12 23:35 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.2.0.c4-00645-QCAHLSWMTPLZ-1.336037.2
ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
ath10k_snoc 18800000.wifi: firmware ver api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
ath10k_snoc 18800000.wifi: htt-ver 3.83 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
ath10k_snoc 18800000.wifi: invalid MAC address; choosing random
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 10 ++++++++++
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 4 ++++
2 files changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index dd42ed0bf63e..50668bb73b09 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -664,3 +664,13 @@ &usb_1_qmpphy {
&venus {
status = "okay";
};
+
+&wifi {
+ vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
+ vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
+ vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
+ vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
+ vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
+
+ status = "okay";
+};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index 7948fe3dbaa2..adf41aa0146a 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -175,3 +175,7 @@ sde_te_active_sleep: sde-te-active-sleep-state {
&venus {
firmware-name = "qcom/sdm845/LG/judyln/venus.mbn";
};
+
+&wifi {
+ qcom,calibration-variant = "lg_judyln";
+};
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 11/15] arm64: dts: qcom: sdm845-lg-common: Add chassis-type
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (9 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 10/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 2:06 ` [PATCH v6 12/15] arm64: dts: qcom: sdm845-lg-common: Add camera flash Paul Sajna
2026-03-24 2:13 ` [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
12 siblings, 0 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Konrad Dybcio, Dmitry Baryshkov
The sdm845-lg devices are all phones, therefore handset chassis
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 50668bb73b09..fab5ffb3404f 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -28,6 +28,8 @@
/delete-node/ &wlan_msa_mem;
/ {
+ chassis-type = "handset";
+
aliases {
serial0 = &uart9;
serial1 = &uart6;
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v6 12/15] arm64: dts: qcom: sdm845-lg-common: Add camera flash
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (10 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 11/15] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Paul Sajna
@ 2026-03-24 2:06 ` Paul Sajna
2026-03-24 2:13 ` [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
12 siblings, 0 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Paul Sajna, Konrad Dybcio
Camera doesn't work yet (imx351), but we can use the flash as a flashlight.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index fab5ffb3404f..7e803886ca8f 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -490,6 +490,19 @@ &pm8998_resin {
status = "okay";
};
+&pmi8998_flash {
+ status = "okay";
+
+ led-0 {
+ function = LED_FUNCTION_FLASH;
+ color = <LED_COLOR_ID_WHITE>;
+ led-sources = <1>, <2>;
+ led-max-microamp = <100000>;
+ flash-max-microamp = <500000>;
+ flash-max-timeout-us = <500000>;
+ };
+};
+
&pmi8998_lpg {
status = "okay";
--
2.53.0
^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (11 preceding siblings ...)
2026-03-24 2:06 ` [PATCH v6 12/15] arm64: dts: qcom: sdm845-lg-common: Add camera flash Paul Sajna
@ 2026-03-24 2:13 ` Paul Sajna
2026-03-24 9:40 ` Konrad Dybcio
2026-03-24 14:26 ` Konstantin Ryabitsev
12 siblings, 2 replies; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 2:13 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Konrad Dybcio, Dmitry Baryshkov, Amir Dahan, Pavel Machek
b4 got rate-limited by my email provider for the last 3 patches, I'm not sure what the best way to send just those is now :/
March 24, 2026 at 2:06 AM, "Paul Sajna" <sajattack@postmarketos.org mailto:sajattack@postmarketos.org?to=%22Paul%20Sajna%22%20%3Csajattack%40postmarketos.org%3E > wrote:
>
> Rollup of improved hardware support via devicetree for LG G7 ThinQ
> (judyln) from sdm845-mainline kernel fork
>
> Notably, this patch-series enables full DRM acceleration and wifi,
> among other small improvements in individual commits
>
> after this patch-series the main things that remain to be worked
> on include touchscreen, audio, and modem.
>
> Depends upon panel driver patch-series https://lore.kernel.org/all/20250910-judyln-panel-v1-1-825c74403bbb@postmarketos.org/T/#r9a976ca01e309b6c03100e984a26a0ffc2fe2002
>
> Co-developed-by: Amir Dahan <system64fumo@tuta.io>
> Co-developed-by: Christopher Brown <crispybrown@gmail.com>
> Signed-off-by: Amir Dahan <system64fumo@tuta.io>
> Signed-off-by: Christopher Brown <crispybrown@gmail.com>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> Changes in v6:
> - Mistakes were made with b4 and branch was rebuilt, hopefully correctly
> - Split more things that got mixed into the sort commit (qups and venus)
> - Added more backlight properties from downstream
> - Framebuffer added back in
> - Update compatible for panel
> - Add qcom,te-source
> - Reference memory region in framebuffer instead of reg
> - Correction to rmtfs_mem
> - Set lab/ibb to 5.5V
> - Fixed flashlight/torch
> - Update commit message for gsi-loader=self
> - Update LG to capitalized in firmware paths
> - Remove qcom,snoc-host-cap-skip-quirk dependency (break wifi)
> - Enable dma controllers
> - Link to v5: https://lore.kernel.org/r/20251203-judyln-dts-v5-0-80c1ffca8487@postmarketos.org
>
> Changes in v5:
> - update system64's email
> - reduce lab/ibb voltage range
> - status should go last
> - remove rebase leftovers
> - fix flashlight
> - Link to v4: https://lore.kernel.org/r/20251125-judyln-dts-v4-0-a5a60500b267@postmarketos.org
>
> Changes in v4:
> - add panel identifier in addition to ddic
> - make sde_te pull-down
> - fixup flash current
> - remove framebuffer reserved-mem
> - remove manual lower guard
> - depend upon https://lore.kernel.org/all/20251110-skip-host-cam-qmi-req-v2-0-0daf485a987a@ixit.cz/T
> - reword commits
> - Link to v3: https://lore.kernel.org/r/20250928-judyln-dts-v3-0-b14cf9e9a928@postmarketos.org
>
> Changes in v3:
> - change firmware paths to lowercase 'lg' (matching dt-bindings)
> - fix signoffs
> - add wifi dmesg to commit message
> - remove regulator-always-on from ibb
> - remove framebuffer
> - remove msm ids
> - don't continue commit subject into commit messages
> - split bluetooth node
> - add sbu uart details to commit message
> - change ipa gsi-loader to self
> - Link to v2: https://lore.kernel.org/r/20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org
>
> Changes in v2:
> - sort at the start
> - drop unnecessary labels
> - drop unnecessary gmu
> - multi-led
> - split fb-panel changes
> - expand upon firmware commit message
> - use qcom,calibration-variant instead of
> qcom,ath10k-calibration-variant
> - change firmware paths to include "LG"
> - remove framebuffer reservation
> - add lab/ibb
>
> - Link to v1: https://lore.kernel.org/r/20250913-judyln-dts-v1-0-23b4b7790dce@postmarketos.org
>
> ---
> Amir Dahan (1):
> arm64: dts: qcom: sdm845-lg-common: Add LEDs
>
> Christopher Brown (1):
> arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger
>
> Paul Sajna (13):
> arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties
> arm64: dts: qcom: sdm845-lg-common: Enable venus
> arm64: dts: qcom: sdm845-lg-common: Enable qups
> arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
> arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
> arm64: dts: qcom: sdm845-lg-judyln: Add display panel
> arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
> arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
> arm64: dts: qcom: sdm845-lg-common: Add chassis-type
> arm64: dts: qcom: sdm845-lg-common: Add camera flash
> arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
> arm64: dts: qcom: sdm845-lg-{judyln, judyp}: reference memory region in fb
> arm64: dts: qcom: sdm845-lg-commmon: enable dma controllers
>
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 228 +++++++++++++++++++------
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 129 +++++++++++++-
> arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts | 2 +-
> 3 files changed, 295 insertions(+), 64 deletions(-)
> ---
> base-commit: 674feabdc26e80c4dbc884d7b6e2d2a4b93919e6
> change-id: 20250911-judyln-dts-17c41e59dc0f
> prerequisite-message-id: <20250910-judyln-panel-v1-1-825c74403bbb@postmarketos.org>
> prerequisite-patch-id: e51151ea7f8fdad6ad7d90713febc5c6b6fc4f9c
> prerequisite-patch-id: b3dd44250da9cd12bc5b2d0d7e865dbe19ceed92
> prerequisite-patch-id: fd6c8077806cb03fcf37d0e0d730314c2760e334
>
> Best regards,
> --
> Paul Sajna <sajattack@postmarketos.org>
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
2026-03-24 2:13 ` [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
@ 2026-03-24 9:40 ` Konrad Dybcio
2026-03-24 14:26 ` Konstantin Ryabitsev
1 sibling, 0 replies; 30+ messages in thread
From: Konrad Dybcio @ 2026-03-24 9:40 UTC (permalink / raw)
To: Paul Sajna, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Dmitry Baryshkov, Amir Dahan, Pavel Machek
On 3/24/26 3:13 AM, Paul Sajna wrote:
> b4 got rate-limited by my email provider for the last 3 patches, I'm not sure what the best way to send just those is now :/
Send them by hand, --in-reply-to the cover letter
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 02/15] arm64: dts: qcom: sdm845-lg-common: Enable venus
2026-03-24 2:06 ` [PATCH v6 02/15] arm64: dts: qcom: sdm845-lg-common: Enable venus Paul Sajna
@ 2026-03-24 10:48 ` Konrad Dybcio
0 siblings, 0 replies; 30+ messages in thread
From: Konrad Dybcio @ 2026-03-24 10:48 UTC (permalink / raw)
To: Paul Sajna, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown
On 3/24/26 3:06 AM, Paul Sajna wrote:
> Qualcomm video en/de-coder
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> index 93ed8f240461..87ac41ec2e46 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> @@ -580,3 +580,7 @@ &usb_1_qmpphy {
>
> status = "okay";
> };
> +
> +&venus {
> + status = "okay";
This patch isn't useful without patch 9
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-24 2:06 ` [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
@ 2026-03-24 10:49 ` Konrad Dybcio
2026-03-24 16:17 ` Paul Sajna
2026-03-24 20:56 ` Dmitry Baryshkov
1 sibling, 1 reply; 30+ messages in thread
From: Konrad Dybcio @ 2026-03-24 10:49 UTC (permalink / raw)
To: Paul Sajna, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown
On 3/24/26 3:06 AM, Paul Sajna wrote:
> Add paths for Qualcomm firmware, including:
> ipa, modem, venus, gpu
>
> GPU and bluetooth are confirmed working, others may need more
> testing/fixes
>
> But regardless they will need the firmware paths specified here
> and firmware added upstream before they will work, so might as well
> get started on it now.
What about the other board (judyp)?
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 04/15] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
2026-03-24 2:06 ` [PATCH v6 04/15] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
@ 2026-03-24 10:50 ` Konrad Dybcio
0 siblings, 0 replies; 30+ messages in thread
From: Konrad Dybcio @ 2026-03-24 10:50 UTC (permalink / raw)
To: Paul Sajna, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown,
Dmitry Baryshkov
On 3/24/26 3:06 AM, Paul Sajna wrote:
> uart9 is debug serial on USB SBU1/2
>
> UART RX is SBU1 and UART TX is SBU2 of the USB-C port).
> 1.8V Logic Level
> Tested using pololu usb07a https://www.pololu.com/product/2585
> and CH340 USB-UART
>
> uart6 is bluetooth
>
> Bluetooth: hci0: setting up wcn399x
> Bluetooth: hci0: QCA Product ID :0x0000000a
> Bluetooth: hci0: QCA SOC Version :0x40010214
> Bluetooth: hci0: QCA ROM Version :0x00000201
> Bluetooth: hci0: QCA Patch Version:0x00000001
> Bluetooth: hci0: QCA controller version 0x02140201
> Bluetooth: hci0: QCA Downloading qca/crbtfw21.tlv
> Bluetooth: hci0: QCA Downloading qca/judyln/crnv21.bin
> Bluetooth: hci0: QCA setup on UART is completed
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
[...]
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> index 09bfcef42402..e530a08f5e27 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> @@ -43,6 +43,14 @@ &adsp_pas {
> firmware-name = "qcom/sdm845/judyln/adsp.mbn";
> };
>
> +&bluetooth {
> + /*
> + * This path is relative to the qca/
> + * subdir under lib/firmware.
> + */
> + firmware-name = "judyln/crnv21.bin";
What about the other board?
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 07/15] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2026-03-24 2:06 ` [PATCH v6 07/15] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
@ 2026-03-24 10:51 ` Konrad Dybcio
0 siblings, 0 replies; 30+ messages in thread
From: Konrad Dybcio @ 2026-03-24 10:51 UTC (permalink / raw)
To: Paul Sajna, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown
On 3/24/26 3:06 AM, Paul Sajna wrote:
> These regulators are required for the LCD
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
2026-03-24 2:13 ` [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2026-03-24 9:40 ` Konrad Dybcio
@ 2026-03-24 14:26 ` Konstantin Ryabitsev
1 sibling, 0 replies; 30+ messages in thread
From: Konstantin Ryabitsev @ 2026-03-24 14:26 UTC (permalink / raw)
To: Paul Sajna
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, ~postmarketos/upstreaming, Amir Dahan,
Christopher Brown, Konrad Dybcio, Dmitry Baryshkov, Amir Dahan,
Pavel Machek
On Tue, Mar 24, 2026 at 02:13:43AM +0000, Paul Sajna wrote:
> b4 got rate-limited by my email provider for the last 3 patches, I'm not sure what the best way to send just those is now :/
You can use the web submission endpoint.
https://b4.docs.kernel.org/en/latest/contributor/send.html
-K
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-24 10:49 ` Konrad Dybcio
@ 2026-03-24 16:17 ` Paul Sajna
2026-03-24 20:55 ` Dmitry Baryshkov
0 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-24 16:17 UTC (permalink / raw)
To: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown
March 24, 2026 at 10:49 AM, "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com mailto:konrad.dybcio@oss.qualcomm.com?to=%22Konrad%20Dybcio%22%20%3Ckonrad.dybcio%40oss.qualcomm.com%3E > wrote:
> What about the other board (judyp)?
>
> Konrad
>
I don't have it.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-24 16:17 ` Paul Sajna
@ 2026-03-24 20:55 ` Dmitry Baryshkov
2026-03-25 2:35 ` Paul Sajna
0 siblings, 1 reply; 30+ messages in thread
From: Dmitry Baryshkov @ 2026-03-24 20:55 UTC (permalink / raw)
To: Paul Sajna
Cc: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg,
linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown
On Tue, Mar 24, 2026 at 04:17:09PM +0000, Paul Sajna wrote:
> March 24, 2026 at 10:49 AM, "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com mailto:konrad.dybcio@oss.qualcomm.com?to=%22Konrad%20Dybcio%22%20%3Ckonrad.dybcio%40oss.qualcomm.com%3E > wrote:
> > What about the other board (judyp)?
> >
> > Konrad
> >
>
> I don't have it.
You don't need it to define firmware paths.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-24 2:06 ` [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
2026-03-24 10:49 ` Konrad Dybcio
@ 2026-03-24 20:56 ` Dmitry Baryshkov
2026-03-25 2:03 ` Paul Sajna
1 sibling, 1 reply; 30+ messages in thread
From: Dmitry Baryshkov @ 2026-03-24 20:56 UTC (permalink / raw)
To: Paul Sajna
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, ~postmarketos/upstreaming, Amir Dahan,
Christopher Brown
On Mon, Mar 23, 2026 at 07:06:39PM -0700, Paul Sajna wrote:
> Add paths for Qualcomm firmware, including:
> ipa, modem, venus, gpu
>
> GPU and bluetooth are confirmed working, others may need more
> testing/fixes
>
> But regardless they will need the firmware paths specified here
> and firmware added upstream before they will work, so might as well
> get started on it now.
Please move this to become patch #2.
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 2 ++
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 16 ++++++++++++----
> 2 files changed, 14 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> index a5a04ec11eb7..dd42ed0bf63e 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> @@ -464,6 +464,8 @@ &gpu {
>
> &ipa {
> qcom,gsi-loader = "modem";
> + memory-region = <&ipa_fw_mem>;
> +
> status = "okay";
> };
This looks like a separate fix.
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> index 46119630d721..7948fe3dbaa2 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> @@ -46,7 +46,7 @@ battery: battery {
> };
>
> &adsp_pas {
> - firmware-name = "qcom/sdm845/judyln/adsp.mbn";
> + firmware-name = "qcom/sdm845/LG/judyln/adsp.mbn";
> };
>
> &bluetooth {
> @@ -58,11 +58,15 @@ &bluetooth {
> };
>
> &cdsp_pas {
> - firmware-name = "qcom/sdm845/judyln/cdsp.mbn";
> + firmware-name = "qcom/sdm845/LG/judyln/cdsp.mbn";
> };
>
> &gpu_zap_shader {
> - firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
> + firmware-name = "qcom/sdm845/LG/judyln/a630_zap.mbn";
> +};
> +
> +&ipa {
> + firmware-name = "qcom/sdm845/LG/judyln/ipa_fws.mbn";
> };
>
> &mdss {
> @@ -128,7 +132,7 @@ &lab {
> };
>
> &mss_pil {
> - firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
> + firmware-name = "qcom/sdm845/LG/judyln/mba.mbn", "qcom/sdm845/LG/judyln/modem.mbn";
> };
>
> &pmi8998_charger {
> @@ -167,3 +171,7 @@ sde_te_active_sleep: sde-te-active-sleep-state {
> bias-pull-down;
> };
> };
> +
> +&venus {
> + firmware-name = "qcom/sdm845/LG/judyln/venus.mbn";
> +};
>
> --
> 2.53.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 03/15] arm64: dts: qcom: sdm845-lg-common: Enable qups
2026-03-24 2:06 ` [PATCH v6 03/15] arm64: dts: qcom: sdm845-lg-common: Enable qups Paul Sajna
@ 2026-03-24 20:57 ` Dmitry Baryshkov
0 siblings, 0 replies; 30+ messages in thread
From: Dmitry Baryshkov @ 2026-03-24 20:57 UTC (permalink / raw)
To: Paul Sajna
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, ~postmarketos/upstreaming, Amir Dahan,
Christopher Brown
On Mon, Mar 23, 2026 at 07:06:33PM -0700, Paul Sajna wrote:
> Qualcomm serial communicators required for i2c, serial, and spi
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> index 87ac41ec2e46..eb8de8d01177 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> @@ -482,6 +482,14 @@ &pm8998_resin {
> status = "okay";
> };
>
> +&qupv3_id_0 {
> + status = "okay";
> +};
> +
> +&qupv3_id_1 {
> + status = "okay";
> +};
> +
> &sdhc_2 {
> cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
>
>
> --
> 2.53.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 08/15] arm64: dts: qcom: sdm845-lg-judyln: Add display panel
2026-03-24 2:06 ` [PATCH v6 08/15] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
@ 2026-03-24 20:58 ` Dmitry Baryshkov
0 siblings, 0 replies; 30+ messages in thread
From: Dmitry Baryshkov @ 2026-03-24 20:58 UTC (permalink / raw)
To: Paul Sajna
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, ~postmarketos/upstreaming, Amir Dahan,
Christopher Brown, Konrad Dybcio
On Mon, Mar 23, 2026 at 07:06:38PM -0700, Paul Sajna wrote:
> Also include other supporting msm drm nodes, gpio and backlight
>
> Co-developed-by: Amir Dahan <system64fumo@tuta.io>
> Signed-off-by: Amir Dahan <system64fumo@tuta.io>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 13 +++--
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 68 +++++++++++++++++++++++++-
> 2 files changed, 75 insertions(+), 6 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 10/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2026-03-24 2:06 ` [PATCH v6 10/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
@ 2026-03-24 21:07 ` Dmitry Baryshkov
0 siblings, 0 replies; 30+ messages in thread
From: Dmitry Baryshkov @ 2026-03-24 21:07 UTC (permalink / raw)
To: Paul Sajna
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, ~postmarketos/upstreaming, Amir Dahan,
Christopher Brown, Konrad Dybcio
On Mon, Mar 23, 2026 at 07:06:40PM -0700, Paul Sajna wrote:
> Wi-Fi now works with this patch, relevant firmware and
> qcom,snoc-host-cap-skip-quirk
>
> qcom,snoc-host-cap-skip-quirk has not been approved/merged in mainline,
> so it is not included here.
Let's ping that thread once more.
>
> ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40030001
> ath10k_snoc 18800000.wifi: qmi fw_version 0x20060285 fw_build_timestamp 2020-10-12 23:35 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.2.0.c4-00645-QCAHLSWMTPLZ-1.336037.2
> ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
> ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
> ath10k_snoc 18800000.wifi: firmware ver api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
> ath10k_snoc 18800000.wifi: htt-ver 3.83 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
> ath10k_snoc 18800000.wifi: invalid MAC address; choosing random
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 10 ++++++++++
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 4 ++++
> 2 files changed, 14 insertions(+)
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-24 20:56 ` Dmitry Baryshkov
@ 2026-03-25 2:03 ` Paul Sajna
2026-03-25 3:18 ` Dmitry Baryshkov
0 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-25 2:03 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, ~postmarketos/upstreaming, Amir Dahan,
Christopher Brown
March 24, 2026 at 8:56 PM, "Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com mailto:dmitry.baryshkov@oss.qualcomm.com?to=%22Dmitry%20Baryshkov%22%20%3Cdmitry.baryshkov%40oss.qualcomm.com%3E > wrote:
> > &ipa {
> > qcom,gsi-loader = "modem";
> > + memory-region = <&ipa_fw_mem>;
> > +
> > status = "okay";
> > };
> >
> This looks like a separate fix.
Should I put it in the gsi-loader commit, or keep it completely separate?
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-24 20:55 ` Dmitry Baryshkov
@ 2026-03-25 2:35 ` Paul Sajna
2026-03-25 3:18 ` Dmitry Baryshkov
0 siblings, 1 reply; 30+ messages in thread
From: Paul Sajna @ 2026-03-25 2:35 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg,
linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown
March 24, 2026 at 8:55 PM, "Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com mailto:dmitry.baryshkov@oss.qualcomm.com?to=%22Dmitry%20Baryshkov%22%20%3Cdmitry.baryshkov%40oss.qualcomm.com%3E > wrote:
>
> On Tue, Mar 24, 2026 at 04:17:09PM +0000, Paul Sajna wrote:
>
> >
> > March 24, 2026 at 10:49 AM, "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com mailto:konrad.dybcio@oss.qualcomm.com?to=%22Konrad%20Dybcio%22%20%3Ckonrad.dybcio%40oss.qualcomm.com%3E > wrote:
> > What about the other board (judyp)?
> >
> > Konrad
> >
> >
> > I don't have it.
> >
> You don't need it to define firmware paths.
>
> --
> With best wishes
> Dmitry
>
Should I put firmware-paths for both boards in 1 commit or 2?
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-25 2:35 ` Paul Sajna
@ 2026-03-25 3:18 ` Dmitry Baryshkov
0 siblings, 0 replies; 30+ messages in thread
From: Dmitry Baryshkov @ 2026-03-25 3:18 UTC (permalink / raw)
To: Paul Sajna
Cc: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg,
linux-arm-msm, devicetree, linux-kernel, phone-devel,
~postmarketos/upstreaming, Amir Dahan, Christopher Brown
On Wed, Mar 25, 2026 at 02:35:33AM +0000, Paul Sajna wrote:
> March 24, 2026 at 8:55 PM, "Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com mailto:dmitry.baryshkov@oss.qualcomm.com?to=%22Dmitry%20Baryshkov%22%20%3Cdmitry.baryshkov%40oss.qualcomm.com%3E > wrote:
>
>
> >
> > On Tue, Mar 24, 2026 at 04:17:09PM +0000, Paul Sajna wrote:
> >
> > >
> > > March 24, 2026 at 10:49 AM, "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com mailto:konrad.dybcio@oss.qualcomm.com?to=%22Konrad%20Dybcio%22%20%3Ckonrad.dybcio%40oss.qualcomm.com%3E > wrote:
> > > What about the other board (judyp)?
> > >
> > > Konrad
> > >
> > >
> > > I don't have it.
> > >
> > You don't need it to define firmware paths.
> >
> > --
> > With best wishes
> > Dmitry
> >
>
> Should I put firmware-paths for both boards in 1 commit or 2?
Either is fine. My slight preference would be towards two commits.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2026-03-25 2:03 ` Paul Sajna
@ 2026-03-25 3:18 ` Dmitry Baryshkov
0 siblings, 0 replies; 30+ messages in thread
From: Dmitry Baryshkov @ 2026-03-25 3:18 UTC (permalink / raw)
To: Paul Sajna
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, ~postmarketos/upstreaming, Amir Dahan,
Christopher Brown
On Wed, Mar 25, 2026 at 02:03:47AM +0000, Paul Sajna wrote:
> March 24, 2026 at 8:56 PM, "Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com mailto:dmitry.baryshkov@oss.qualcomm.com?to=%22Dmitry%20Baryshkov%22%20%3Cdmitry.baryshkov%40oss.qualcomm.com%3E > wrote:
>
>
> > > &ipa {
> > > qcom,gsi-loader = "modem";
> > > + memory-region = <&ipa_fw_mem>;
> > > +
> > > status = "okay";
> > > };
> > >
> > This looks like a separate fix.
>
> Should I put it in the gsi-loader commit, or keep it completely separate?
I think, together.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2026-03-25 3:18 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 2:06 [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2026-03-24 2:06 ` [PATCH v6 01/15] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
2026-03-24 2:06 ` [PATCH v6 02/15] arm64: dts: qcom: sdm845-lg-common: Enable venus Paul Sajna
2026-03-24 10:48 ` Konrad Dybcio
2026-03-24 2:06 ` [PATCH v6 03/15] arm64: dts: qcom: sdm845-lg-common: Enable qups Paul Sajna
2026-03-24 20:57 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 04/15] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
2026-03-24 10:50 ` Konrad Dybcio
2026-03-24 2:06 ` [PATCH v6 05/15] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Paul Sajna
2026-03-24 2:06 ` [PATCH v6 06/15] arm64: dts: qcom: sdm845-lg-common: Add LEDs Paul Sajna
2026-03-24 2:06 ` [PATCH v6 07/15] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
2026-03-24 10:51 ` Konrad Dybcio
2026-03-24 2:06 ` [PATCH v6 08/15] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
2026-03-24 20:58 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 09/15] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
2026-03-24 10:49 ` Konrad Dybcio
2026-03-24 16:17 ` Paul Sajna
2026-03-24 20:55 ` Dmitry Baryshkov
2026-03-25 2:35 ` Paul Sajna
2026-03-25 3:18 ` Dmitry Baryshkov
2026-03-24 20:56 ` Dmitry Baryshkov
2026-03-25 2:03 ` Paul Sajna
2026-03-25 3:18 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 10/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
2026-03-24 21:07 ` Dmitry Baryshkov
2026-03-24 2:06 ` [PATCH v6 11/15] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Paul Sajna
2026-03-24 2:06 ` [PATCH v6 12/15] arm64: dts: qcom: sdm845-lg-common: Add camera flash Paul Sajna
2026-03-24 2:13 ` [PATCH v6 00/15] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2026-03-24 9:40 ` Konrad Dybcio
2026-03-24 14:26 ` Konstantin Ryabitsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox