* [PATCH v3 01/11] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-03 21:31 ` Dmitry Baryshkov
2025-09-29 5:05 ` [PATCH v3 02/11] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
` (12 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
Improve adherance to style guidelines below:
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
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 99dafc6716e76e25aad0755e6004dc952779689f..82d6543835324ed92300c4ed24c51f4b79321f99 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 lower guard */
memory@f0800000 {
reg = <0 0xf0800000 0 0x1000>;
@@ -482,14 +482,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";
@@ -497,55 +505,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 */
@@ -586,12 +547,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.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 01/11] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties
2025-09-29 5:05 ` [PATCH v3 01/11] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
@ 2025-10-03 21:31 ` Dmitry Baryshkov
0 siblings, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:31 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:24PM -0700, Paul Sajna wrote:
> Improve adherance to style guidelines below:
> https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
>
> 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(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 02/11] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2025-09-29 5:05 ` [PATCH v3 01/11] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-03 21:30 ` Dmitry Baryshkov
2025-10-03 21:35 ` Dmitry Baryshkov
2025-09-29 5:05 ` [PATCH v3 03/11] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Paul Sajna
` (11 subsequent siblings)
13 siblings, 2 replies; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
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
Add bluetooth firmware path
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 45 ++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 8 +++++
2 files changed, 53 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 82d6543835324ed92300c4ed24c51f4b79321f99..4c631df56f262ba9e730f6720abd94d374b14692 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 {
@@ -595,3 +602,41 @@ &usb_1_qmpphy {
status = "okay";
};
+
+&qupv3_id_0 {
+ status = "okay";
+};
+
+&qupv3_id_1 {
+ status = "okay";
+};
+
+&qup_uart9_rx {
+ drive-strength = <2>;
+ bias-pull-up;
+};
+
+&qup_uart9_tx {
+ drive-strength = <2>;
+ bias-disable;
+};
+
+&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";
+};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index a12723310c8b630a4961de671ea8b60f1f8b512b..f91578ce7195dc3bfd1ba0a722fb48f950816246 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -66,3 +66,11 @@ thinq_key_default: thinq-key-default-state {
bias-pull-up;
};
};
+
+&bluetooth {
+ /*
+ * This path is relative to the qca/
+ * subdir under lib/firmware.
+ */
+ firmware-name = "judyln/crnv21.bin";
+};
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 02/11] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
2025-09-29 5:05 ` [PATCH v3 02/11] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
@ 2025-10-03 21:30 ` Dmitry Baryshkov
2025-10-03 21:35 ` Dmitry Baryshkov
1 sibling, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:30 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:25PM -0700, 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
>
> Add bluetooth firmware path
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
If the series get resent, could you please add the boot messages from
the bluetooth (hci0)?
The patch itself:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 45 ++++++++++++++++++++++++++
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 8 +++++
> 2 files changed, 53 insertions(+)
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 02/11] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
2025-09-29 5:05 ` [PATCH v3 02/11] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
2025-10-03 21:30 ` Dmitry Baryshkov
@ 2025-10-03 21:35 ` Dmitry Baryshkov
1 sibling, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:35 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:25PM -0700, 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
>
> Add bluetooth firmware path
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 45 ++++++++++++++++++++++++++
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 8 +++++
> 2 files changed, 53 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> index 82d6543835324ed92300c4ed24c51f4b79321f99..4c631df56f262ba9e730f6720abd94d374b14692 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 {
> @@ -595,3 +602,41 @@ &usb_1_qmpphy {
>
> status = "okay";
> };
> +
> +&qupv3_id_0 {
Hmm, I r-b'd the patch, but I was too quick. Please keep the nodes
sorted. qupv3 comes before usb (and maybe before some other nodes).
> + status = "okay";
> +};
> +
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 03/11] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
2025-09-29 5:05 ` [PATCH v3 01/11] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Paul Sajna
2025-09-29 5:05 ` [PATCH v3 02/11] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-03 21:31 ` Dmitry Baryshkov
2025-09-29 5:05 ` [PATCH v3 04/11] arm64: dts: qcom: sdm845-lg-common: Add leds Paul Sajna
` (10 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
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>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index f91578ce7195dc3bfd1ba0a722fb48f950816246..df65b0e32b195d2f668883542cfcabbb9bde8204 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 {
@@ -57,6 +65,11 @@ &mss_pil {
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
};
+&pmi8998_charger {
+ status = "okay";
+ monitored-battery = <&battery>;
+};
+
&tlmm {
thinq_key_default: thinq-key-default-state {
pins = "gpio89";
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 03/11] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger
2025-09-29 5:05 ` [PATCH v3 03/11] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Paul Sajna
@ 2025-10-03 21:31 ` Dmitry Baryshkov
0 siblings, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:31 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:26PM -0700, Paul Sajna wrote:
> 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>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> index f91578ce7195dc3bfd1ba0a722fb48f950816246..df65b0e32b195d2f668883542cfcabbb9bde8204 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 {
> @@ -57,6 +65,11 @@ &mss_pil {
> firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
> };
>
> +&pmi8998_charger {
> + status = "okay";
> + monitored-battery = <&battery>;
Could you please move status after all other properties and insert an
empty line before it?
> +};
> +
> &tlmm {
> thinq_key_default: thinq-key-default-state {
> pins = "gpio89";
>
> --
> 2.51.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 04/11] arm64: dts: qcom: sdm845-lg-common: Add leds
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (2 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 03/11] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-01 9:01 ` Konrad Dybcio
2025-09-29 5:05 ` [PATCH v3 05/11] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
` (9 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
From: Amir Dahan <system64fumo@protonmail.com>
Add the multicolor status led in the phone's notch
Signed-off-by: Amir Dahan <system64fumo@protonmail.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 4c631df56f262ba9e730f6720abd94d374b14692..2a612922ecf7ce3f8a0734cb1a31a8a81efdb4f2 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>
@@ -504,6 +505,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>;
+ };
+ };
+};
+
&sdhc_2 {
cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 04/11] arm64: dts: qcom: sdm845-lg-common: Add leds
2025-09-29 5:05 ` [PATCH v3 04/11] arm64: dts: qcom: sdm845-lg-common: Add leds Paul Sajna
@ 2025-10-01 9:01 ` Konrad Dybcio
2025-10-02 5:13 ` Paul Sajna
0 siblings, 1 reply; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-01 9:01 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, Amir Dahan,
Christopher Brown
On 9/29/25 7:05 AM, Paul Sajna wrote:
> From: Amir Dahan <system64fumo@protonmail.com>
>
> Add the multicolor status led in the phone's notch
>
> Signed-off-by: Amir Dahan <system64fumo@protonmail.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 4c631df56f262ba9e730f6720abd94d374b14692..2a612922ecf7ce3f8a0734cb1a31a8a81efdb4f2 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>
>
> @@ -504,6 +505,33 @@ &pm8998_resin {
> status = "okay";
> };
>
> +&pmi8998_lpg {
> + status = "okay";
Could you read back register 0xd000+0x45 (LED_SRC_SEL) on downstream
and make sure the value matches upstream?
A msm8998 kernel fork I have laying around on my computer always seems
to write '1' in there (which it claims corresponds to VPH_PWR as input)
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 04/11] arm64: dts: qcom: sdm845-lg-common: Add leds
2025-10-01 9:01 ` Konrad Dybcio
@ 2025-10-02 5:13 ` Paul Sajna
2025-10-06 8:34 ` Konrad Dybcio
0 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-10-02 5:13 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, Amir Dahan,
Christopher Brown
October 1, 2025 at 9:01 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:
>
> On 9/29/25 7:05 AM, Paul Sajna wrote:
>
> >
> > From: Amir Dahan <system64fumo@protonmail.com>
> >
> > Add the multicolor status led in the phone's notch
> >
> > Signed-off-by: Amir Dahan <system64fumo@protonmail.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 4c631df56f262ba9e730f6720abd94d374b14692..2a612922ecf7ce3f8a0734cb1a31a8a81efdb4f2 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>
> >
> > @@ -504,6 +505,33 @@ &pm8998_resin {
> > status = "okay";
> > };
> >
> > +&pmi8998_lpg {
> > + status = "okay";
> >
> Could you read back register 0xd000+0x45 (LED_SRC_SEL) on downstream
> and make sure the value matches upstream?
>
> A msm8998 kernel fork I have laying around on my computer always seems
> to write '1' in there (which it claims corresponds to VPH_PWR as input)
>
> Konrad
>
I need more explanation on how to do this please.
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 04/11] arm64: dts: qcom: sdm845-lg-common: Add leds
2025-10-02 5:13 ` Paul Sajna
@ 2025-10-06 8:34 ` Konrad Dybcio
0 siblings, 0 replies; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-06 8:34 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, Amir Dahan,
Christopher Brown
On 10/2/25 7:13 AM, Paul Sajna wrote:
> October 1, 2025 at 9:01 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:
>
>
>>
>> On 9/29/25 7:05 AM, Paul Sajna wrote:
>>
>>>
>>> From: Amir Dahan <system64fumo@protonmail.com>
>>>
>>> Add the multicolor status led in the phone's notch
>>>
>>> Signed-off-by: Amir Dahan <system64fumo@protonmail.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 4c631df56f262ba9e730f6720abd94d374b14692..2a612922ecf7ce3f8a0734cb1a31a8a81efdb4f2 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>
>>>
>>> @@ -504,6 +505,33 @@ &pm8998_resin {
>>> status = "okay";
>>> };
>>>
>>> +&pmi8998_lpg {
>>> + status = "okay";
>>>
>> Could you read back register 0xd000+0x45 (LED_SRC_SEL) on downstream
>> and make sure the value matches upstream?
>>
>> A msm8998 kernel fork I have laying around on my computer always seems
>> to write '1' in there (which it claims corresponds to VPH_PWR as input)
>>
>> Konrad
>>
>
> I need more explanation on how to do this please.
diff --git a/drivers/leds/leds-qpnp.c b/drivers/leds/leds-qpnp.c
index 8de71a8e621a..f6914abef562 100644
--- a/drivers/leds/leds-qpnp.c
+++ b/drivers/leds/leds-qpnp.c
@@ -1788,6 +1788,10 @@ static int qpnp_rgb_set(struct qpnp_led_data *led)
}
}
+ u32 val;
+ regmap_read(led->regmap, RGB_LED_SRC_SEL(led->base), &val);
+ pr_err("RGB_LED_SRC_SEL = 0x%x\n", val);
+
led->rgb_cfg->pwm_cfg->blinking = false;
qpnp_dump_regs(led, rgb_pwm_debug_regs, ARRAY_SIZE(rgb_pwm_debug_regs));
Konrad
^ permalink raw reply related [flat|nested] 54+ messages in thread
* [PATCH v3 05/11] arm64: dts: qcom: sdm845-lg-judyln: Add display panel
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (3 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 04/11] arm64: dts: qcom: sdm845-lg-common: Add leds Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-03 21:34 ` Dmitry Baryshkov
2025-09-29 5:05 ` [PATCH v3 06/11] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
` (8 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
Also include other supporting msm drm nodes, including backlight
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
Co-developed-by: Amir Dahan <system64fumo@protonmail.com>
Signed-off-by: Amir Dahan <system64fumo@protonmail.com>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 8 +--
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 82 ++++++++++++++++++++++----
2 files changed, 73 insertions(+), 17 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 2a612922ecf7ce3f8a0734cb1a31a8a81efdb4f2..aa338612433f9ac3b07363b79d8a3b8e0eedd98b 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -461,10 +461,6 @@ &cdsp_pas {
status = "okay";
};
-&dispcc {
- status = "disabled";
-};
-
&gcc {
protected-clocks = <GCC_QSPI_CORE_CLK>,
<GCC_QSPI_CORE_CLK_SRC>,
@@ -532,6 +528,10 @@ led@5 {
};
};
+&pmi8998_wled {
+ status = "okay";
+};
+
&sdhc_2 {
cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index df65b0e32b195d2f668883542cfcabbb9bde8204..f45eb1dfe55c562142092a4239758609fa3f2e47 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -13,19 +13,6 @@ / {
model = "LG G7 ThinQ";
compatible = "lg,judyln", "qcom,sdm845";
- chosen {
- framebuffer@9d400000 {
- compatible = "simple-framebuffer";
- reg = <0x0 0x9d400000 0x0 (1440 * 3120 * 4)>;
- width = <1440>;
- height = <3120>;
- stride = <(1440 * 4)>;
- format = "a8r8g8b8";
- lab-supply = <&lab>;
- ibb-supply = <&ibb>;
- };
- };
-
/* Additional ThinQ key */
gpio-keys {
pinctrl-0 = <&vol_up_pin_a &thinq_key_default>;
@@ -61,6 +48,47 @@ zap-shader {
};
};
+&mdss {
+ status = "okay";
+};
+
+&mdss_dsi0 {
+ vdda-supply = <&vdda_mipi_dsi0_1p2>;
+
+ status = "okay";
+
+ display_panel: panel@0 {
+ reg = <0>;
+ compatible = "lg,sw49410";
+
+ backlight = <&pmi8998_wled>;
+ reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
+ width-mm = <65>;
+ height-mm = <140>;
+
+ pinctrl-0 = <&sde_dsi_active &sde_te_active>;
+ pinctrl-1 = <&sde_dsi_sleep &sde_te_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 {
+ remote-endpoint = <&panel_in>;
+ data-lanes = <0 1 2 3>;
+};
+
&mss_pil {
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
};
@@ -78,6 +106,34 @@ 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: sde-te-active-state {
+ pins = "gpio10";
+ function = "mdp_vsync";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ sde_te_sleep: sde-te-sleep-state {
+ pins = "gpio10";
+ function = "mdp_vsync";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
};
&bluetooth {
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 05/11] arm64: dts: qcom: sdm845-lg-judyln: Add display panel
2025-09-29 5:05 ` [PATCH v3 05/11] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
@ 2025-10-03 21:34 ` Dmitry Baryshkov
0 siblings, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:34 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:28PM -0700, Paul Sajna wrote:
> Also include other supporting msm drm nodes, including backlight
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> Co-developed-by: Amir Dahan <system64fumo@protonmail.com>
> Signed-off-by: Amir Dahan <system64fumo@protonmail.com>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 8 +--
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 82 ++++++++++++++++++++++----
> 2 files changed, 73 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> index 2a612922ecf7ce3f8a0734cb1a31a8a81efdb4f2..aa338612433f9ac3b07363b79d8a3b8e0eedd98b 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> @@ -461,10 +461,6 @@ &cdsp_pas {
> status = "okay";
> };
>
> -&dispcc {
> - status = "disabled";
> -};
> -
> &gcc {
> protected-clocks = <GCC_QSPI_CORE_CLK>,
> <GCC_QSPI_CORE_CLK_SRC>,
> @@ -532,6 +528,10 @@ led@5 {
> };
> };
>
> +&pmi8998_wled {
> + status = "okay";
> +};
> +
> &sdhc_2 {
> cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> index df65b0e32b195d2f668883542cfcabbb9bde8204..f45eb1dfe55c562142092a4239758609fa3f2e47 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> @@ -13,19 +13,6 @@ / {
> model = "LG G7 ThinQ";
> compatible = "lg,judyln", "qcom,sdm845";
>
> - chosen {
> - framebuffer@9d400000 {
> - compatible = "simple-framebuffer";
> - reg = <0x0 0x9d400000 0x0 (1440 * 3120 * 4)>;
> - width = <1440>;
> - height = <3120>;
> - stride = <(1440 * 4)>;
> - format = "a8r8g8b8";
> - lab-supply = <&lab>;
> - ibb-supply = <&ibb>;
> - };
> - };
I think, you can keep simple-framebuffer. It will be used by the initial
booting and then will be replaced with the MDSS.
> -
> /* Additional ThinQ key */
> gpio-keys {
> pinctrl-0 = <&vol_up_pin_a &thinq_key_default>;
> @@ -61,6 +48,47 @@ zap-shader {
> };
> };
>
> +&mdss {
> + status = "okay";
> +};
> +
> +&mdss_dsi0 {
> + vdda-supply = <&vdda_mipi_dsi0_1p2>;
> +
> + status = "okay";
> +
> + display_panel: panel@0 {
You don't need this label
> + reg = <0>;
> + compatible = "lg,sw49410";
> +
> + backlight = <&pmi8998_wled>;
> + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
> + width-mm = <65>;
> + height-mm = <140>;
> +
> + pinctrl-0 = <&sde_dsi_active &sde_te_active>;
> + pinctrl-1 = <&sde_dsi_sleep &sde_te_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 {
'mdss_dsi0_out' < 'mdss_dsi0_phy'
> + remote-endpoint = <&panel_in>;
> + data-lanes = <0 1 2 3>;
> +};
> +
> &mss_pil {
> firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
> };
> @@ -78,6 +106,34 @@ thinq_key_default: thinq-key-default-state {
> drive-strength = <2>;
> bias-pull-up;
> };
> +
> + sde_dsi_active: sde-dsi-active-state {
Please keep these entries sorted out.
> + 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: sde-te-active-state {
> + pins = "gpio10";
> + function = "mdp_vsync";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + sde_te_sleep: sde-te-sleep-state {
> + pins = "gpio10";
> + function = "mdp_vsync";
> + drive-strength = <2>;
> + bias-pull-down;
> + };
> };
>
> &bluetooth {
>
> --
> 2.51.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 06/11] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (4 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 05/11] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-03 21:49 ` Dmitry Baryshkov
2025-09-29 5:05 ` [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
` (7 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
Add paths for Qualcomm firmware, including:
ipa, modem, bluetooth, venus, gpu
Enable adsp and cdsp nodes since their firmware is present
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.
Paths changed to qcom/sdm845/lg/judyln
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 | 26 +++++++++++++++++---------
2 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index aa338612433f9ac3b07363b79d8a3b8e0eedd98b..0f0a3f471f48e26cc48feb1551093599fcb35d7f 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -173,6 +173,10 @@ &adsp_pas {
status = "okay";
};
+&cdsp_pas {
+ status = "okay";
+};
+
&apps_rsc {
regulators-0 {
compatible = "qcom,pm8998-rpmh-regulators";
@@ -479,6 +483,8 @@ zap-shader {
&ipa {
qcom,gsi-loader = "modem";
+ memory-region = <&ipa_fw_mem>;
+
status = "okay";
};
@@ -668,3 +674,7 @@ bluetooth: bluetooth {
&uart9 {
status = "okay";
};
+
+&venus {
+ 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 f45eb1dfe55c562142092a4239758609fa3f2e47..d60094f864605f7e454693d73efb63b9a099ecad 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -35,19 +35,23 @@ battery: battery {
};
&adsp_pas {
- firmware-name = "qcom/sdm845/judyln/adsp.mbn";
+ firmware-name = "qcom/sdm845/lg/judyln/adsp.mbn";
};
&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 {
status = "okay";
};
@@ -90,7 +94,7 @@ &mdss_dsi0_out {
};
&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 {
@@ -137,9 +141,13 @@ sde_te_sleep: sde-te-sleep-state {
};
&bluetooth {
- /*
- * This path is relative to the qca/
- * subdir under lib/firmware.
- */
- firmware-name = "judyln/crnv21.bin";
+/*
+ * This path is relative to the qca/
+ * subdir under lib/firmware.
+ */
+ firmware-name = "judyln/crnv21.bin";
+};
+
+&venus {
+ firmware-name = "qcom/sdm845/lg/judyln/venus.mbn";
};
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 06/11] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path
2025-09-29 5:05 ` [PATCH v3 06/11] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
@ 2025-10-03 21:49 ` Dmitry Baryshkov
0 siblings, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:49 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:29PM -0700, Paul Sajna wrote:
> Add paths for Qualcomm firmware, including:
> ipa, modem, bluetooth, venus, gpu
>
> Enable adsp and cdsp nodes since their firmware is present
>
> 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.
>
> Paths changed to qcom/sdm845/lg/judyln
>
> 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 | 26 +++++++++++++++++---------
> 2 files changed, 27 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> index aa338612433f9ac3b07363b79d8a3b8e0eedd98b..0f0a3f471f48e26cc48feb1551093599fcb35d7f 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> @@ -173,6 +173,10 @@ &adsp_pas {
> status = "okay";
> };
>
> +&cdsp_pas {
> + status = "okay";
> +};
Please move it down. Also please check the order of other nodes in the
patch.
> +
> @@ -137,9 +141,13 @@ sde_te_sleep: sde-te-sleep-state {
> };
>
> &bluetooth {
> - /*
> - * This path is relative to the qca/
> - * subdir under lib/firmware.
> - */
> - firmware-name = "judyln/crnv21.bin";
> +/*
> + * This path is relative to the qca/
> + * subdir under lib/firmware.
> + */
What happened? this should be a part of the earlier patch.
> + firmware-name = "judyln/crnv21.bin";
> +};
> +
> +&venus {
> + firmware-name = "qcom/sdm845/lg/judyln/venus.mbn";
> };
>
> --
> 2.51.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (5 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 06/11] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes, change path Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-01 9:14 ` Konrad Dybcio
2025-09-29 5:05 ` [PATCH v3 08/11] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Paul Sajna
` (6 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
Wi-Fi now works with this patch and relevant firmware
[ 21.488274] ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40030001
[ 21.498477] 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
[ 22.973165] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
[ 22.983265] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[ 22.992048] ath10k_snoc 18800000.wifi: firmware ver api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
[ 23.045368] ath10k_snoc 18800000.wifi: htt-ver 3.83 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
[ 23.130581] ath10k_snoc 18800000.wifi: invalid MAC address; choosing random
[ 23.139008] ath: EEPROM regdomain: 0x819a
[ 23.139018] ath: EEPROM indicates we should expect a country code
[ 23.139029] ath: doing EEPROM country->regdmn map search
[ 23.139035] ath: country maps to regdmn code: 0x5e
[ 23.139042] ath: Country alpha2 being used: KR
[ 23.139047] ath: Regpair used: 0x5e
[ 29.382642] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_sqe.fw from new location
[ 29.395932] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_gmu.bin from new location
[ 31.774723] Bluetooth: RFCOMM TTY layer initialized
[ 31.779713] Bluetooth: RFCOMM socket layer initialized
[ 31.784947] Bluetooth: RFCOMM ver 1.11
[ 39.138098] wlan0: authenticate with e8:9f:80:dd:68:22 (local address=ce:db:e1:ab:08:30)
[ 39.146318] wlan0: send auth to e8:9f:80:dd:68:22 (try 1/3)
[ 39.180484] wlan0: authenticate with e8:9f:80:dd:68:22 (local address=ce:db:e1:ab:08:30)
[ 39.188697] wlan0: send auth to e8:9f:80:dd:68:22 (try 1/3)
[ 39.196651] wlan0: authenticated
[ 39.202286] wlan0: associate with e8:9f:80:dd:68:22 (try 1/3)
[ 39.211036] wlan0: RX AssocResp from e8:9f:80:dd:68:22 (capab=0x111 status=0 aid=4)
[ 39.290235] wlan0: associated
[ 39.293363] wlan0: Limiting TX power to 21 (24 - 3) dBm as advertised by e8:9f:80:dd:68:22
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 12 ++++++++++++
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 4 ++++
2 files changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 0f0a3f471f48e26cc48feb1551093599fcb35d7f..2aa8f7d2f80c58b5b1f66d797879c43cd6d4533e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -678,3 +678,15 @@ &uart9 {
&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>;
+
+ qcom,snoc-host-cap-skip-quirk;
+
+ 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 d60094f864605f7e454693d73efb63b9a099ecad..3106fdc9b679bc6a43a1a490c61b73a63003f7e1 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -151,3 +151,7 @@ &bluetooth {
&venus {
firmware-name = "qcom/sdm845/lg/judyln/venus.mbn";
};
+
+&wifi {
+ qcom,calibration-variant = "lg_judyln";
+};
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-09-29 5:05 ` [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
@ 2025-10-01 9:14 ` Konrad Dybcio
2025-10-02 4:51 ` Paul Sajna
0 siblings, 1 reply; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-01 9:14 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, Amir Dahan,
Christopher Brown
On 9/29/25 7:05 AM, Paul Sajna wrote:
> Wi-Fi now works with this patch and relevant firmware
>
> [ 21.488274] ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40030001
> [ 21.498477] 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
> [ 22.973165] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
> [ 22.983265] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
> [ 22.992048] ath10k_snoc 18800000.wifi: firmware ver api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
> [ 23.045368] ath10k_snoc 18800000.wifi: htt-ver 3.83 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
> [ 23.130581] ath10k_snoc 18800000.wifi: invalid MAC address; choosing random
I was only interested in this hunk ^
please trim the timestamps, too
[...]
> +&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>;
> +
> + qcom,snoc-host-cap-skip-quirk;
As the dt-checker points out, there is no such property
If your wi-fi works regardless of that, you probably don't need
to set the one you intended to
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-01 9:14 ` Konrad Dybcio
@ 2025-10-02 4:51 ` Paul Sajna
2025-10-02 9:37 ` Konrad Dybcio
0 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-10-02 4:51 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, Amir Dahan,
Christopher Brown
October 1, 2025 at 9:14 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
>
> As the dt-checker points out, there is no such property
>
> If your wi-fi works regardless of that, you probably don't need
> to set the one you intended to
>
> Konrad
>
Perhaps this only exists in the postmarketos tree, but it definitely exists, and doesn't work without it. I'll remove it for upstreaming for now but hopefully someone sorts that out. upstream.
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-02 4:51 ` Paul Sajna
@ 2025-10-02 9:37 ` Konrad Dybcio
2025-10-02 19:26 ` Paul Sajna
2025-11-25 6:40 ` Paul Sajna
0 siblings, 2 replies; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-02 9:37 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, Amir Dahan,
Christopher Brown
On 10/2/25 6:51 AM, Paul Sajna wrote:
> October 1, 2025 at 9:14 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
>
>
>>
>> As the dt-checker points out, there is no such property
>>
>> If your wi-fi works regardless of that, you probably don't need
>> to set the one you intended to
>>
>> Konrad
>>
>
> Perhaps this only exists in the postmarketos tree, but it definitely exists, and doesn't work without it. I'll remove it for upstreaming for now but hopefully someone sorts that out. upstream.
So you didn't test the tree you sent? :/
fwiw
drivers/net/wireless/ath/ath10k/snoc.c:
qcom,snoc-host-cap-8bit-quirk
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-02 9:37 ` Konrad Dybcio
@ 2025-10-02 19:26 ` Paul Sajna
2025-10-03 17:13 ` Dmitry Baryshkov
2025-11-25 6:40 ` Paul Sajna
1 sibling, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-10-02 19:26 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, Amir Dahan,
Christopher Brown
October 2, 2025 at 9:37 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:
>
> On 10/2/25 6:51 AM, Paul Sajna wrote:
>
> >
> > October 1, 2025 at 9:14 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
> >
> >
> >
> > >
> > > As the dt-checker points out, there is no such property
> > >
> > > If your wi-fi works regardless of that, you probably don't need
> > > to set the one you intended to
> > >
> > > Konrad
> > >
> >
> > Perhaps this only exists in the postmarketos tree, but it definitely exists, and doesn't work without it. I'll remove it for upstreaming for now but hopefully someone sorts that out. upstream.
> >
> So you didn't test the tree you sent? :/
>
> fwiw
>
> drivers/net/wireless/ath/ath10k/snoc.c:
> qcom,snoc-host-cap-8bit-quirk
>
> Konrad
>
I think I'll probably just drop this until a bunch of other stuff is upstreamed. mdss is totally broken on mainline, wi-fi doesn't work, fuel gauge is missing, etc. etc.
I tried the 8-bit quirk and it didn't help.
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-02 19:26 ` Paul Sajna
@ 2025-10-03 17:13 ` Dmitry Baryshkov
2025-10-03 18:52 ` Paul Sajna
0 siblings, 1 reply; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 17:13 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, Amir Dahan,
Christopher Brown
On Thu, Oct 02, 2025 at 07:26:16PM +0000, Paul Sajna wrote:
> October 2, 2025 at 9:37 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:
>
>
> >
> > On 10/2/25 6:51 AM, Paul Sajna wrote:
> >
> > >
> > > October 1, 2025 at 9:14 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
> > >
> > >
> > >
> > > >
> > > > As the dt-checker points out, there is no such property
> > > >
> > > > If your wi-fi works regardless of that, you probably don't need
> > > > to set the one you intended to
> > > >
> > > > Konrad
> > > >
> > >
> > > Perhaps this only exists in the postmarketos tree, but it definitely exists, and doesn't work without it. I'll remove it for upstreaming for now but hopefully someone sorts that out. upstream.
> > >
> > So you didn't test the tree you sent? :/
> >
> > fwiw
> >
> > drivers/net/wireless/ath/ath10k/snoc.c:
> > qcom,snoc-host-cap-8bit-quirk
> >
> > Konrad
> >
>
> I think I'll probably just drop this until a bunch of other stuff is upstreamed. mdss is totally broken on mainline, wi-fi doesn't work, fuel gauge is missing, etc. etc.
Please make sure that the parts you are sending upstream are actually
working on the upstream tree. Otherwise somebody might try running
upstream without extra patches and be surprised about it not working.
The patchseres in question was submitted in 2020 and got rejected. Since
that time we have added support for machine-specific firmware-N.bin, so
Kalle's suggestion can now be implemented easily.
Regarding the MDSS. Is it being solved by adding reset to the MDSS node?
Or are there any other issues?
>
> I tried the 8-bit quirk and it didn't help.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-03 17:13 ` Dmitry Baryshkov
@ 2025-10-03 18:52 ` Paul Sajna
2025-10-03 19:36 ` Dmitry Baryshkov
0 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-10-03 18:52 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, Amir Dahan,
Christopher Brown
October 3, 2025 at 5:13 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:
> Regarding the MDSS. Is it being solved by adding reset to the MDSS node?
> Or are there any other issues?
Yes I'm referring to the reset / pmdomain issue. Joel Selvaraj is looking into it in the sdm845 tree. He said he tried doing what other SOCs did and it just got stuck in a reboot loop. More investigation required. Currently he's reverted the pmdomain commits in our tree.
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-03 18:52 ` Paul Sajna
@ 2025-10-03 19:36 ` Dmitry Baryshkov
2025-10-03 19:55 ` Paul Sajna
0 siblings, 1 reply; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 19:36 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, Amir Dahan,
Christopher Brown
On Fri, Oct 03, 2025 at 06:52:03PM +0000, Paul Sajna wrote:
> October 3, 2025 at 5:13 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:
>
>
>
> > Regarding the MDSS. Is it being solved by adding reset to the MDSS node?
> > Or are there any other issues?
>
> Yes I'm referring to the reset / pmdomain issue. Joel Selvaraj is looking into it in the sdm845 tree. He said he tried doing what other SOCs did and it just got stuck in a reboot loop. More investigation required. Currently he's reverted the pmdomain commits in our tree.
Which pmdomain commits?
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-03 19:36 ` Dmitry Baryshkov
@ 2025-10-03 19:55 ` Paul Sajna
2025-10-03 20:14 ` Dmitry Baryshkov
0 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-10-03 19:55 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, Amir Dahan,
Christopher Brown
October 3, 2025 at 7:36 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 Fri, Oct 03, 2025 at 06:52:03PM +0000, Paul Sajna wrote:
>
> >
> > October 3, 2025 at 5:13 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:
> >
> >
> >
> > Regarding the MDSS. Is it being solved by adding reset to the MDSS node?
> > Or are there any other issues?
> >
> > Yes I'm referring to the reset / pmdomain issue. Joel Selvaraj is looking into it in the sdm845 tree. He said he tried doing what other SOCs did and it just got stuck in a reboot loop. More investigation required. Currently he's reverted the pmdomain commits in our tree.
> >
> Which pmdomain commits?
>
> --
> With best wishes
> Dmitry
>
https://gitlab.com/sdm845-mainline/linux/-/commit/002ebddd695a53999550e241b71950f1aa0e1ac4
https://gitlab.com/sdm845-mainline/linux/-/commit/09813cde376d9d8f30eaf761534532101a0a7755
https://gitlab.com/sdm845-mainline/linux/-/commit/0e789b491ba04c31de5c71249487593e386baa67
https://gitlab.com/sdm845-mainline/linux/-/commit/13a4b7fb62600e1c0738fdb0b7176555ff05aadf
All got reverted in the sdm845-mainline tree, I believe related to fixing mdss
https://gitlab.com/sdm845-mainline/linux/-/commits/sdm845%2F6.17-wip
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-03 19:55 ` Paul Sajna
@ 2025-10-03 20:14 ` Dmitry Baryshkov
0 siblings, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 20:14 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, Amir Dahan,
Christopher Brown
On Fri, Oct 03, 2025 at 07:55:21PM +0000, Paul Sajna wrote:
> October 3, 2025 at 7:36 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 Fri, Oct 03, 2025 at 06:52:03PM +0000, Paul Sajna wrote:
> >
> > >
> > > October 3, 2025 at 5:13 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:
> > >
> > >
> > >
> > > Regarding the MDSS. Is it being solved by adding reset to the MDSS node?
> > > Or are there any other issues?
> > >
> > > Yes I'm referring to the reset / pmdomain issue. Joel Selvaraj is looking into it in the sdm845 tree. He said he tried doing what other SOCs did and it just got stuck in a reboot loop. More investigation required. Currently he's reverted the pmdomain commits in our tree.
> > >
> > Which pmdomain commits?
> >
> > --
> > With best wishes
> > Dmitry
> >
>
> https://gitlab.com/sdm845-mainline/linux/-/commit/002ebddd695a53999550e241b71950f1aa0e1ac4
> https://gitlab.com/sdm845-mainline/linux/-/commit/09813cde376d9d8f30eaf761534532101a0a7755
> https://gitlab.com/sdm845-mainline/linux/-/commit/0e789b491ba04c31de5c71249487593e386baa67
> https://gitlab.com/sdm845-mainline/linux/-/commit/13a4b7fb62600e1c0738fdb0b7176555ff05aadf
Thanks for the pointers.
>
> All got reverted in the sdm845-mainline tree, I believe related to fixing mdss
> https://gitlab.com/sdm845-mainline/linux/-/commits/sdm845%2F6.17-wip
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-10-02 9:37 ` Konrad Dybcio
2025-10-02 19:26 ` Paul Sajna
@ 2025-11-25 6:40 ` Paul Sajna
2025-11-25 6:51 ` Paul Sajna
1 sibling, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-11-25 6:40 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, Amir Dahan,
Christopher Brown
October 2, 2025 at 9:37 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:
>
> On 10/2/25 6:51 AM, Paul Sajna wrote:
>
> >
> > October 1, 2025 at 9:14 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
> >
> >
> >
> > >
> > > As the dt-checker points out, there is no such property
> > >
> > > If your wi-fi works regardless of that, you probably don't need
> > > to set the one you intended to
> > >
> > > Konrad
> > >
> >
> > Perhaps this only exists in the postmarketos tree, but it definitely exists, and doesn't work without it. I'll remove it for upstreaming for now but hopefully someone sorts that out. upstream.
> >
> So you didn't test the tree you sent? :/
>
> fwiw
>
> drivers/net/wireless/ath/ath10k/snoc.c:
> qcom,snoc-host-cap-8bit-quirk
>
> Konrad
>
with qcom,snoc-host-cap-8bit-quirk I get
```
ath10k_snoc 18800000.wifi: msa info req rejected: 90
```
without it I get
```
ath10k_snoc 18800000.wifi: host capability request rejected: 1
```
Please help me understand how I should proceed.
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-11-25 6:40 ` Paul Sajna
@ 2025-11-25 6:51 ` Paul Sajna
2025-11-26 0:38 ` Dmitry Baryshkov
0 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-11-25 6:51 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, Amir Dahan,
Christopher Brown
November 25, 2025 at 6:40 AM, "Paul Sajna" <sajattack@postmarketos.org mailto:sajattack@postmarketos.org?to=%22Paul%20Sajna%22%20%3Csajattack%40postmarketos.org%3E > wrote:
>
> October 2, 2025 at 9:37 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:
>
> >
> > On 10/2/25 6:51 AM, Paul Sajna wrote:
> >
> >
> > October 1, 2025 at 9:14 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
> >
> >
> >
> > >
> > > As the dt-checker points out, there is no such property
> > >
> > > If your wi-fi works regardless of that, you probably don't need
> > > to set the one you intended to
> > >
> > > Konrad
> > >
> >
> > Perhaps this only exists in the postmarketos tree, but it definitely exists, and doesn't work without it. I'll remove it for upstreaming for now but hopefully someone sorts that out. upstream.
> >
> > So you didn't test the tree you sent? :/
> >
> > fwiw
> >
> > drivers/net/wireless/ath/ath10k/snoc.c:
> > qcom,snoc-host-cap-8bit-quirk
> >
> > Konrad
> >
> with qcom,snoc-host-cap-8bit-quirk I get
> ```
> ath10k_snoc 18800000.wifi: msa info req rejected: 90
> ```
>
> without it I get
> ```
> ath10k_snoc 18800000.wifi: host capability request rejected: 1
>
> ```
>
> Please help me understand how I should proceed.
>
I guess I'll just voice my support in https://patchwork.kernel.org/project/ath10k/patch/1601058581-19461-1-git-send-email-amit.pundir@linaro.org/ for now.
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-11-25 6:51 ` Paul Sajna
@ 2025-11-26 0:38 ` Dmitry Baryshkov
2025-11-26 12:14 ` David Heidelberg
0 siblings, 1 reply; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-11-26 0:38 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, Amir Dahan,
Christopher Brown
On Tue, Nov 25, 2025 at 06:51:00AM +0000, Paul Sajna wrote:
> November 25, 2025 at 6:40 AM, "Paul Sajna" <sajattack@postmarketos.org mailto:sajattack@postmarketos.org?to=%22Paul%20Sajna%22%20%3Csajattack%40postmarketos.org%3E > wrote:
>
>
> >
> > October 2, 2025 at 9:37 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:
> >
> > >
> > > On 10/2/25 6:51 AM, Paul Sajna wrote:
> > >
> > >
> > > October 1, 2025 at 9:14 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
> > >
> > >
> > >
> > > >
> > > > As the dt-checker points out, there is no such property
> > > >
> > > > If your wi-fi works regardless of that, you probably don't need
> > > > to set the one you intended to
> > > >
> > > > Konrad
> > > >
> > >
> > > Perhaps this only exists in the postmarketos tree, but it definitely exists, and doesn't work without it. I'll remove it for upstreaming for now but hopefully someone sorts that out. upstream.
> > >
> > > So you didn't test the tree you sent? :/
> > >
> > > fwiw
> > >
> > > drivers/net/wireless/ath/ath10k/snoc.c:
> > > qcom,snoc-host-cap-8bit-quirk
> > >
> > > Konrad
> > >
> > with qcom,snoc-host-cap-8bit-quirk I get
> > ```
> > ath10k_snoc 18800000.wifi: msa info req rejected: 90
> > ```
> >
> > without it I get
> > ```
> > ath10k_snoc 18800000.wifi: host capability request rejected: 1
> >
> > ```
> >
> > Please help me understand how I should proceed.
> >
>
> I guess I'll just voice my support in https://patchwork.kernel.org/project/ath10k/patch/1601058581-19461-1-git-send-email-amit.pundir@linaro.org/ for now.
Can "... we just ignore the return value of
ath10k_qmi_host_cap_send_sync() and move along"?
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node
2025-11-26 0:38 ` Dmitry Baryshkov
@ 2025-11-26 12:14 ` David Heidelberg
0 siblings, 0 replies; 54+ messages in thread
From: David Heidelberg @ 2025-11-26 12:14 UTC (permalink / raw)
To: Dmitry Baryshkov, Paul Sajna
Cc: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
linux-kernel, phone-devel, Amir Dahan, Christopher Brown
On 26/11/2025 01:38, Dmitry Baryshkov wrote:
[...]
>>> with qcom,snoc-host-cap-8bit-quirk I get
>>> ```
>>> ath10k_snoc 18800000.wifi: msa info req rejected: 90
>>> ```
>>>
>>> without it I get
>>> ```
>>> ath10k_snoc 18800000.wifi: host capability request rejected: 1
>>>
>>> ```
>>>
>>> Please help me understand how I should proceed.
>>>
>>
>> I guess I'll just voice my support in https://patchwork.kernel.org/project/ath10k/patch/1601058581-19461-1-git-send-email-amit.pundir@linaro.org/ for now.
>
> Can "... we just ignore the return value of
> ath10k_qmi_host_cap_send_sync() and move along"?
>
From: https://lore.kernel.org/all/20201029134017.GA807@yoga/
SNIP ---
> Why can't you just always ignore this error? If you can't deal with this
> entirely in the driver, then it should be part of the WiFi firmware so
> it's always in sync.
>
Unfortunately the firmware versions I've hit this problem on has gone
belly up when receiving this request, that's why I asked Amit to add a
flag to skip it.
That said, in the devices I've hit this I've managed to get newer
firmware working, which doesn't have either problem.
SNIP ---
That's the pain behind it.
David
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 08/11] arm64: dts: qcom: sdm845-lg-common: Add chassis-type
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (6 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-03 21:49 ` Dmitry Baryshkov
2025-09-29 5:05 ` [PATCH v3 09/11] arm64: dts: qcom: sdm845-lg-common: Add camera flash Paul Sajna
` (5 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
The sdm845-lg devices are all phones, therefore handset chassis
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 2aa8f7d2f80c58b5b1f66d797879c43cd6d4533e..a8c8706f2057d36d5ef4130f11d9ad417f93d575 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.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 08/11] arm64: dts: qcom: sdm845-lg-common: Add chassis-type
2025-09-29 5:05 ` [PATCH v3 08/11] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Paul Sajna
@ 2025-10-03 21:49 ` Dmitry Baryshkov
0 siblings, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:49 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:31PM -0700, Paul Sajna wrote:
> The sdm845-lg devices are all phones, therefore handset chassis
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 09/11] arm64: dts: qcom: sdm845-lg-common: Add camera flash
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (7 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 08/11] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-01 9:04 ` Konrad Dybcio
2025-09-29 5:05 ` [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
` (4 subsequent siblings)
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
So it can be used as a flashlight
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 a8c8706f2057d36d5ef4130f11d9ad417f93d575..f309e6ebc075a691c7a522238b4a93ba9e63f3c0 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -509,6 +509,19 @@ &pm8998_resin {
status = "okay";
};
+&pmi8998_flash {
+ status = "okay";
+
+ led-0 {
+ function = LED_FUNCTION_FLASH;
+ color = <LED_COLOR_ID_WHITE>;
+ led-sources = <1>;
+ led-max-microamp = <850000>;
+ flash-max-microamp = <850000>;
+ flash-max-timeout-us = <500000>;
+ };
+};
+
&pmi8998_lpg {
status = "okay";
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 09/11] arm64: dts: qcom: sdm845-lg-common: Add camera flash
2025-09-29 5:05 ` [PATCH v3 09/11] arm64: dts: qcom: sdm845-lg-common: Add camera flash Paul Sajna
@ 2025-10-01 9:04 ` Konrad Dybcio
2025-10-05 19:35 ` Chris Brown
0 siblings, 1 reply; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-01 9:04 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, Amir Dahan,
Christopher Brown
On 9/29/25 7:05 AM, Paul Sajna wrote:
> So it can be used as a flashlight
>
> 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 a8c8706f2057d36d5ef4130f11d9ad417f93d575..f309e6ebc075a691c7a522238b4a93ba9e63f3c0 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> @@ -509,6 +509,19 @@ &pm8998_resin {
> status = "okay";
> };
>
> +&pmi8998_flash {
> + status = "okay";
> +
> + led-0 {
> + function = LED_FUNCTION_FLASH;
> + color = <LED_COLOR_ID_WHITE>;
> + led-sources = <1>;
> + led-max-microamp = <850000>;
> + flash-max-microamp = <850000>;
Allowing the same current for flash (brief on/off for night photos)
and LED (flashlight which you normally toggle through quick settings)
sounds no less than suspicious
Konrad
> + flash-max-timeout-us = <500000>;
> + };
> +};
> +
> &pmi8998_lpg {
> status = "okay";
>
>
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 09/11] arm64: dts: qcom: sdm845-lg-common: Add camera flash
2025-10-01 9:04 ` Konrad Dybcio
@ 2025-10-05 19:35 ` Chris Brown
2025-10-05 22:23 ` Dmitry Baryshkov
0 siblings, 1 reply; 54+ messages in thread
From: Chris Brown @ 2025-10-05 19:35 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Paul Sajna, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, David Heidelberg,
linux-arm-msm, devicetree, linux-kernel, phone-devel, Amir Dahan
850mA looks correct for the flash, whereas the flashlight/torch should
be 100mA based on
https://github.com/EmanuelCN/android_kernel_lge_sdm845/blob/U/arch/arm64/boot/dts/lge/sdm845-judy/sdm845-camera/sdm845-judy-camera.dtsi
i.e. led-max-microamp = <100000>;
On Wed, 1 Oct 2025 at 05:04, Konrad Dybcio
<konrad.dybcio@oss.qualcomm.com> wrote:
>
> On 9/29/25 7:05 AM, Paul Sajna wrote:
> > So it can be used as a flashlight
> >
> > 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 a8c8706f2057d36d5ef4130f11d9ad417f93d575..f309e6ebc075a691c7a522238b4a93ba9e63f3c0 100644
> > --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> > @@ -509,6 +509,19 @@ &pm8998_resin {
> > status = "okay";
> > };
> >
> > +&pmi8998_flash {
> > + status = "okay";
> > +
> > + led-0 {
> > + function = LED_FUNCTION_FLASH;
> > + color = <LED_COLOR_ID_WHITE>;
> > + led-sources = <1>;
> > + led-max-microamp = <850000>;
> > + flash-max-microamp = <850000>;
>
> Allowing the same current for flash (brief on/off for night photos)
> and LED (flashlight which you normally toggle through quick settings)
> sounds no less than suspicious
>
> Konrad
>
> > + flash-max-timeout-us = <500000>;
> > + };
> > +};
> > +
> > &pmi8998_lpg {
> > status = "okay";
> >
> >
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 09/11] arm64: dts: qcom: sdm845-lg-common: Add camera flash
2025-10-05 19:35 ` Chris Brown
@ 2025-10-05 22:23 ` Dmitry Baryshkov
0 siblings, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-05 22:23 UTC (permalink / raw)
To: Chris Brown
Cc: Konrad Dybcio, Paul Sajna, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, David Heidelberg,
linux-arm-msm, devicetree, linux-kernel, phone-devel, Amir Dahan
On Sun, Oct 05, 2025 at 03:35:56PM -0400, Chris Brown wrote:
> 850mA looks correct for the flash, whereas the flashlight/torch should
> be 100mA based on
> https://github.com/EmanuelCN/android_kernel_lge_sdm845/blob/U/arch/arm64/boot/dts/lge/sdm845-judy/sdm845-camera/sdm845-judy-camera.dtsi
> i.e. led-max-microamp = <100000>;
Please post your answers before the question rather than at the top of
the email.
> On Wed, 1 Oct 2025 at 05:04, Konrad Dybcio
> <konrad.dybcio@oss.qualcomm.com> wrote:
> >
> > On 9/29/25 7:05 AM, Paul Sajna wrote:
> > > So it can be used as a flashlight
> > >
> > > + led-max-microamp = <850000>;
> > > + flash-max-microamp = <850000>;
> >
> > Allowing the same current for flash (brief on/off for night photos)
> > and LED (flashlight which you normally toggle through quick settings)
> > sounds no less than suspicious
> >
> > > + flash-max-timeout-us = <500000>;
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (8 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 09/11] arm64: dts: qcom: sdm845-lg-common: Add camera flash Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-01 9:09 ` Konrad Dybcio
2025-10-03 21:50 ` Dmitry Baryshkov
2025-09-29 5:05 ` [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self' Paul Sajna
` (3 subsequent siblings)
13 siblings, 2 replies; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
These regulators seemingly help the lcd to work better
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 3106fdc9b679bc6a43a1a490c61b73a63003f7e1..9c3662a3d93e124667474753e0f11d0e98698aa0 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -48,10 +48,27 @@ zap-shader {
};
};
+&ibb {
+ regulator-min-microvolt = <4600000>;
+ regulator-max-microvolt = <6000000>;
+ regulator-over-current-protection;
+ regulator-pull-down;
+ regulator-soft-start;
+ qcom,discharge-resistor-kohms = <300>;
+};
+
&ipa {
firmware-name = "qcom/sdm845/lg/judyln/ipa_fws.mbn";
};
+&lab {
+ regulator-min-microvolt = <4600000>;
+ regulator-max-microvolt = <6000000>;
+ regulator-over-current-protection;
+ regulator-pull-down;
+ regulator-soft-start;
+};
+
&mdss {
status = "okay";
};
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2025-09-29 5:05 ` [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
@ 2025-10-01 9:09 ` Konrad Dybcio
2025-10-02 4:55 ` Paul Sajna
2025-11-25 8:09 ` Paul Sajna
2025-10-03 21:50 ` Dmitry Baryshkov
1 sibling, 2 replies; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-01 9:09 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, Amir Dahan,
Christopher Brown
On 9/29/25 7:05 AM, Paul Sajna wrote:
> These regulators seemingly help the lcd to work better
Electronics generally work better when the required power supplies
are enabled..
>
> 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 3106fdc9b679bc6a43a1a490c61b73a63003f7e1..9c3662a3d93e124667474753e0f11d0e98698aa0 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> @@ -48,10 +48,27 @@ zap-shader {
> };
> };
>
> +&ibb {
> + regulator-min-microvolt = <4600000>;
> + regulator-max-microvolt = <6000000>;
> + regulator-over-current-protection;
> + regulator-pull-down;
> + regulator-soft-start;
> + qcom,discharge-resistor-kohms = <300>;
> +};
> +
> &ipa {
> firmware-name = "qcom/sdm845/lg/judyln/ipa_fws.mbn";
> };
>
> +&lab {
> + regulator-min-microvolt = <4600000>;
> + regulator-max-microvolt = <6000000>;
> + regulator-over-current-protection;
> + regulator-pull-down;
> + regulator-soft-start;
> +};
This patch will allow any values between 4.6 V and 6.0 V to
be set on your phone, with the kernel defaulting to 4.6 V at
boot and staying there until (if?) any driver requests that to
change.
Your panel probably expects a *very* specific pair of voltages
and any deviation may cause unpredictable consequences, including
magic smoke if you happen to go over a certain limit.
You should most likely hardcode that specific expected voltage here
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2025-10-01 9:09 ` Konrad Dybcio
@ 2025-10-02 4:55 ` Paul Sajna
2025-10-03 21:55 ` Dmitry Baryshkov
2025-11-25 8:09 ` Paul Sajna
1 sibling, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-10-02 4:55 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, Amir Dahan,
Christopher Brown
October 1, 2025 at 9:09 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:
>
> On 9/29/25 7:05 AM, Paul Sajna wrote:
>
> >
> > These regulators seemingly help the lcd to work better
> >
> Electronics generally work better when the required power supplies
> are enabled..
>
> >
> > 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 3106fdc9b679bc6a43a1a490c61b73a63003f7e1..9c3662a3d93e124667474753e0f11d0e98698aa0 100644
> > --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> > +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> > @@ -48,10 +48,27 @@ zap-shader {
> > };
> > };
> >
> > +&ibb {
> > + regulator-min-microvolt = <4600000>;
> > + regulator-max-microvolt = <6000000>;
> > + regulator-over-current-protection;
> > + regulator-pull-down;
> > + regulator-soft-start;
> > + qcom,discharge-resistor-kohms = <300>;
> > +};
> > +
> > &ipa {
> > firmware-name = "qcom/sdm845/lg/judyln/ipa_fws.mbn";
> > };
> >
> > +&lab {
> > + regulator-min-microvolt = <4600000>;
> > + regulator-max-microvolt = <6000000>;
> > + regulator-over-current-protection;
> > + regulator-pull-down;
> > + regulator-soft-start;
> > +};
> >
> This patch will allow any values between 4.6 V and 6.0 V to
> be set on your phone, with the kernel defaulting to 4.6 V at
> boot and staying there until (if?) any driver requests that to
> change.
>
> Your panel probably expects a *very* specific pair of voltages
> and any deviation may cause unpredictable consequences, including
> magic smoke if you happen to go over a certain limit.
>
> You should most likely hardcode that specific expected voltage here
>
> Konrad
>
These are the values used in downstream android dts
https://github.com/LineageOS/android_kernel_lge_sdm845/blob/efa8458f79dffeb380d43b38b9403407f87d9f05/arch/arm64/boot/dts/qcom/pmi8998.dtsi#L484-L485
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2025-10-02 4:55 ` Paul Sajna
@ 2025-10-03 21:55 ` Dmitry Baryshkov
2025-10-06 8:36 ` Konrad Dybcio
0 siblings, 1 reply; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21: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, Amir Dahan,
Christopher Brown
On Thu, Oct 02, 2025 at 04:55:44AM +0000, Paul Sajna wrote:
> October 1, 2025 at 9:09 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:
>
>
> >
> > On 9/29/25 7:05 AM, Paul Sajna wrote:
> >
> > >
> > This patch will allow any values between 4.6 V and 6.0 V to
> > be set on your phone, with the kernel defaulting to 4.6 V at
> > boot and staying there until (if?) any driver requests that to
> > change.
> >
> > Your panel probably expects a *very* specific pair of voltages
> > and any deviation may cause unpredictable consequences, including
> > magic smoke if you happen to go over a certain limit.
> >
> > You should most likely hardcode that specific expected voltage here
>
> These are the values used in downstream android dts
> https://github.com/LineageOS/android_kernel_lge_sdm845/blob/efa8458f79dffeb380d43b38b9403407f87d9f05/arch/arm64/boot/dts/qcom/pmi8998.dtsi#L484-L485
Downstream frequently further constraints the regulators. Could you
please check the boards's dts file and the drivers (SDE)?
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2025-10-03 21:55 ` Dmitry Baryshkov
@ 2025-10-06 8:36 ` Konrad Dybcio
0 siblings, 0 replies; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-06 8:36 UTC (permalink / raw)
To: Dmitry Baryshkov, Paul Sajna
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, David Heidelberg, linux-arm-msm, devicetree,
linux-kernel, phone-devel, Amir Dahan, Christopher Brown
On 10/3/25 11:55 PM, Dmitry Baryshkov wrote:
> On Thu, Oct 02, 2025 at 04:55:44AM +0000, Paul Sajna wrote:
>> October 1, 2025 at 9:09 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:
>>
>>
>>>
>>> On 9/29/25 7:05 AM, Paul Sajna wrote:
>>>
>>>>
>>> This patch will allow any values between 4.6 V and 6.0 V to
>>> be set on your phone, with the kernel defaulting to 4.6 V at
>>> boot and staying there until (if?) any driver requests that to
>>> change.
>>>
>>> Your panel probably expects a *very* specific pair of voltages
>>> and any deviation may cause unpredictable consequences, including
>>> magic smoke if you happen to go over a certain limit.
>>>
>>> You should most likely hardcode that specific expected voltage here
>>
>> These are the values used in downstream android dts
>> https://github.com/LineageOS/android_kernel_lge_sdm845/blob/efa8458f79dffeb380d43b38b9403407f87d9f05/arch/arm64/boot/dts/qcom/pmi8998.dtsi#L484-L485
>
> Downstream frequently further constraints the regulators. Could you
> please check the boards's dts file and the drivers (SDE)?
Or you can read back the values at runtime.. presumably even
/sys/kernel/debug/regulator/foo should have the up-to-date info
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2025-10-01 9:09 ` Konrad Dybcio
2025-10-02 4:55 ` Paul Sajna
@ 2025-11-25 8:09 ` Paul Sajna
1 sibling, 0 replies; 54+ messages in thread
From: Paul Sajna @ 2025-11-25 8:09 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, Amir Dahan,
Christopher Brown
October 1, 2025 at 9:09 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:
>
> On 9/29/25 7:05 AM, Paul Sajna wrote:
>
> >
> > These regulators seemingly help the lcd to work better
> >
> Electronics generally work better when the required power supplies
> are enabled..
>
> >
> > 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 3106fdc9b679bc6a43a1a490c61b73a63003f7e1..9c3662a3d93e124667474753e0f11d0e98698aa0 100644
> > --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> > +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
> > @@ -48,10 +48,27 @@ zap-shader {
> > };
> > };
> >
> > +&ibb {
> > + regulator-min-microvolt = <4600000>;
> > + regulator-max-microvolt = <6000000>;
> > + regulator-over-current-protection;
> > + regulator-pull-down;
> > + regulator-soft-start;
> > + qcom,discharge-resistor-kohms = <300>;
> > +};
> > +
> > &ipa {
> > firmware-name = "qcom/sdm845/lg/judyln/ipa_fws.mbn";
> > };
> >
> > +&lab {
> > + regulator-min-microvolt = <4600000>;
> > + regulator-max-microvolt = <6000000>;
> > + regulator-over-current-protection;
> > + regulator-pull-down;
> > + regulator-soft-start;
> > +};
> >
> This patch will allow any values between 4.6 V and 6.0 V to
> be set on your phone, with the kernel defaulting to 4.6 V at
> boot and staying there until (if?) any driver requests that to
> change.
>
> Your panel probably expects a *very* specific pair of voltages
> and any deviation may cause unpredictable consequences, including
> magic smoke if you happen to go over a certain limit.
>
> You should most likely hardcode that specific expected voltage here
>
> Konrad
>
Here is the decompiled downstream dts.
qcom,ibb@dc00 {
qcom,qpnp-ibb-init-voltage = <0x53ec60>;
qcom,qpnp-ibb-init-amoled-voltage = "", "=\t";
qcom,qpnp-ibb-soft-start = <0x3e8>;
qcom,qpnp-ibb-use-default-voltage;
qcom,qpnp-ibb-init-lcd-voltage = <0x53ec60>;
reg-names = "ibb_reg";
qcom,qpnp-ibb-slew-rate = <0x1e8480>;
qcom,qpnp-ibb-en-discharge;
qcom,qpnp-ibb-ps-enable;
qcom,qpnp-ibb-limit-max-current-enable;
interrupts = <0x03 0xdc 0x02 0x01>;
qcom,qpnp-ibb-lab-pwrup-delay = <0x3e8>;
phandle = <0x4ec>;
qcom,qpnp-ibb-debounce-cycle = <0x10>;
regulator-min-microvolt = <0x4630c0>;
qcom,qpnp-ibb-limit-maximum-current = <0x60e>;
reg = <0xdc00 0x100>;
regulator-max-microvolt = <0x5b8d80>;
qcom,qpnp-ibb-step-size = <0x186a0>;
qcom,qpnp-ibb-full-pull-down;
qcom,qpnp-ibb-switching-clock-frequency = <0x5c8>;
regulator-name = "ibb_reg";
interrupt-names = "ibb-sc-err";
qcom,qpnp-ibb-min-voltage = <0x155cc0>;
qcom,qpnp-ibb-pull-down-enable;
qcom,qpnp-ibb-lab-pwrdn-delay = <0x7d0>;
};
};
Should I use the init-voltage for min and max microvolt?
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb
2025-09-29 5:05 ` [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
2025-10-01 9:09 ` Konrad Dybcio
@ 2025-10-03 21:50 ` Dmitry Baryshkov
1 sibling, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21:50 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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:33PM -0700, Paul Sajna wrote:
> These regulators seemingly help the lcd to work better
What does it mean? Also are they board-specific or should they be a part
of lg-common?
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (9 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 10/11] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Paul Sajna
@ 2025-09-29 5:05 ` Paul Sajna
2025-10-01 9:11 ` Konrad Dybcio
2025-10-03 21:56 ` Dmitry Baryshkov
2025-09-29 15:28 ` [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Rob Herring (Arm)
` (2 subsequent siblings)
13 siblings, 2 replies; 54+ messages in thread
From: Paul Sajna @ 2025-09-29 5:05 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, Amir Dahan,
Christopher Brown, Paul Sajna
This lets modem get a bit closer to working
[ 15.885735] ipa 1e40000.ipa: channel 4 limited to 256 TREs
[ 15.888550] ipa 1e40000.ipa: IPA driver initialized
[ 21.038968] ipa 1e40000.ipa: received modem starting event
[ 23.097401] ipa 1e40000.ipa: received modem running event
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index f309e6ebc075a691c7a522238b4a93ba9e63f3c0..898f87818d3d4d028cc762d7ffdf33b3c2352c92 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -484,7 +484,7 @@ zap-shader {
};
&ipa {
- qcom,gsi-loader = "modem";
+ qcom,gsi-loader = "self";
memory-region = <&ipa_fw_mem>;
status = "okay";
--
2.51.0
^ permalink raw reply related [flat|nested] 54+ messages in thread* Re: [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
2025-09-29 5:05 ` [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self' Paul Sajna
@ 2025-10-01 9:11 ` Konrad Dybcio
2025-11-25 4:29 ` Paul Sajna
2025-10-03 21:56 ` Dmitry Baryshkov
1 sibling, 1 reply; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-01 9:11 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, Amir Dahan,
Christopher Brown
On 9/29/25 7:05 AM, Paul Sajna wrote:
> This lets modem get a bit closer to working
What prevents it from working? Does it crash? Has rmtfs started?
Does `rmtfs -vP` print any warnings?
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
2025-10-01 9:11 ` Konrad Dybcio
@ 2025-11-25 4:29 ` Paul Sajna
2025-12-01 12:54 ` Konrad Dybcio
0 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-11-25 4:29 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, Amir Dahan,
Christopher Brown
October 1, 2025 at 9:11 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:
>
> On 9/29/25 7:05 AM, Paul Sajna wrote:
>
> >
> > This lets modem get a bit closer to working
> >
> What prevents it from working? Does it crash? Has rmtfs started?
> Does `rmtfs -vP` print any warnings?
>
> Konrad
>
<msg> [modem0] state changed (unknown -> locked)
<wrn> [modem0] modem couldn't be initialized: Couldn't check unlock status: Couldn't get SIM lock status after 30 retries
<msg> [modem0] state changed (locked -> failed)
<wrn> [modem0] couldn't load SUPL server: Failed to receive indication with the current server settings
<wrn> [modem0] couldn't load supported assistance data types: Failed to receive indication with the predicted orbits data source
<wrn> [modem0] couldn't build device ids: Unknown device subsystem
<wrn> [device qcom-soc] error initializing: Modem in failed state: sim-missing
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
2025-11-25 4:29 ` Paul Sajna
@ 2025-12-01 12:54 ` Konrad Dybcio
2025-12-02 2:52 ` Paul Sajna
0 siblings, 1 reply; 54+ messages in thread
From: Konrad Dybcio @ 2025-12-01 12:54 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, Amir Dahan,
Christopher Brown
On 11/25/25 5:29 AM, Paul Sajna wrote:
> October 1, 2025 at 9:11 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:
>
>
>>
>> On 9/29/25 7:05 AM, Paul Sajna wrote:
>>
>>>
>>> This lets modem get a bit closer to working
>>>
>> What prevents it from working? Does it crash? Has rmtfs started?
>> Does `rmtfs -vP` print any warnings?
>>
>> Konrad
>>
>
> <msg> [modem0] state changed (unknown -> locked)
> <wrn> [modem0] modem couldn't be initialized: Couldn't check unlock status: Couldn't get SIM lock status after 30 retries
> <msg> [modem0] state changed (locked -> failed)
> <wrn> [modem0] couldn't load SUPL server: Failed to receive indication with the current server settings
> <wrn> [modem0] couldn't load supported assistance data types: Failed to receive indication with the predicted orbits data source
> <wrn> [modem0] couldn't build device ids: Unknown device subsystem
> <wrn> [device qcom-soc] error initializing: Modem in failed state: sim-missing
IDK if it's super related, but some phones have additional mechanisms
for detecting (particulary the secondary) SIM - any chance yours is a
dual-SIM and you can try using the other slot?
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
2025-12-01 12:54 ` Konrad Dybcio
@ 2025-12-02 2:52 ` Paul Sajna
2025-12-02 14:51 ` Konrad Dybcio
0 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-12-02 2:52 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, Amir Dahan,
Christopher Brown
December 1, 2025 at 12:54 PM, "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:
> IDK if it's super related, but some phones have additional mechanisms
> for detecting (particulary the secondary) SIM - any chance yours is a
> dual-SIM and you can try using the other slot?
>
> Konrad
>
No such luck.
I think the device might have a second sim slot shared with the sdcard (if I put it sideways in the sdcard tray, there seems to be a bit of a groove there).
But the sim is detected by qmicli in the main slot I was using before, ModemManager just can't tell if it's locked or not.
The SIM is not detected at all in the sideways sdcard slot.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
2025-12-02 2:52 ` Paul Sajna
@ 2025-12-02 14:51 ` Konrad Dybcio
0 siblings, 0 replies; 54+ messages in thread
From: Konrad Dybcio @ 2025-12-02 14: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, Amir Dahan,
Christopher Brown
On 12/2/25 3:52 AM, Paul Sajna wrote:
> December 1, 2025 at 12:54 PM, "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:
>
>> IDK if it's super related, but some phones have additional mechanisms
>> for detecting (particulary the secondary) SIM - any chance yours is a
>> dual-SIM and you can try using the other slot?
>>
>> Konrad
>>
>
> No such luck.
>
> I think the device might have a second sim slot shared with the sdcard (if I put it sideways in the sdcard tray, there seems to be a bit of a groove there).
>
> But the sim is detected by qmicli in the main slot I was using before, ModemManager just can't tell if it's locked or not.
>
> The SIM is not detected at all in the sideways sdcard slot.
I'm afraid I can't help then. The modem is online and probably expects
some different handling from MM and/or vendor specific magic
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
2025-09-29 5:05 ` [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self' Paul Sajna
2025-10-01 9:11 ` Konrad Dybcio
@ 2025-10-03 21:56 ` Dmitry Baryshkov
1 sibling, 0 replies; 54+ messages in thread
From: Dmitry Baryshkov @ 2025-10-03 21: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, Amir Dahan, Christopher Brown
On Sun, Sep 28, 2025 at 10:05:34PM -0700, Paul Sajna wrote:
> This lets modem get a bit closer to working
>
> [ 15.885735] ipa 1e40000.ipa: channel 4 limited to 256 TREs
> [ 15.888550] ipa 1e40000.ipa: IPA driver initialized
> [ 21.038968] ipa 1e40000.ipa: received modem starting event
> [ 23.097401] ipa 1e40000.ipa: received modem running event
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> index f309e6ebc075a691c7a522238b4a93ba9e63f3c0..898f87818d3d4d028cc762d7ffdf33b3c2352c92 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
> @@ -484,7 +484,7 @@ zap-shader {
> };
>
> &ipa {
> - qcom,gsi-loader = "modem";
> + qcom,gsi-loader = "self";
The commit message might need to be improved. The patch itself LGTM.
> memory-region = <&ipa_fw_mem>;
>
> status = "okay";
>
> --
> 2.51.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (10 preceding siblings ...)
2025-09-29 5:05 ` [PATCH v3 11/11] arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self' Paul Sajna
@ 2025-09-29 15:28 ` Rob Herring (Arm)
2025-10-01 9:02 ` Konrad Dybcio
2025-10-02 5:25 ` Paul Sajna
13 siblings, 0 replies; 54+ messages in thread
From: Rob Herring (Arm) @ 2025-09-29 15:28 UTC (permalink / raw)
To: Paul Sajna
Cc: linux-arm-msm, devicetree, phone-devel, Konrad Dybcio, Amir Dahan,
linux-kernel, Krzysztof Kozlowski, Bjorn Andersson, Conor Dooley,
Christopher Brown, David Heidelberg
On Sun, 28 Sep 2025 22:05:23 -0700, Paul Sajna 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@protonmail.com>
> Co-developed-by: Christopher Brown <crispybrown@gmail.com>
> Signed-off-by: Amir Dahan <system64fumo@protonmail.com>
> Signed-off-by: Christopher Brown <crispybrown@gmail.com>
> Signed-off-by: Paul Sajna <sajattack@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 (9):
> arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties
> arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth
> 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-judyln: Add lab/ibb
> arm64: dts: qcom: sdm845-lg-common: Change ipa gsi-loader to 'self'
>
> arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 222 ++++++++++++++++++-------
> arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 140 ++++++++++++++--
> 2 files changed, 289 insertions(+), 73 deletions(-)
> ---
> base-commit: 8394712bc1340df993cb167199568f44013b45d3
> 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>
>
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: base-commit 8394712bc1340df993cb167199568f44013b45d3 not known, ignoring
Base: attempting to guess base-commit...
Base: tags/next-20250926 (exact match)
Deps: looking for dependencies matching 3 patch-ids
Deps: Applying prerequisite patch: [PATCH 1/3] drm/panel: Add LG SW49410 Panel
Deps: Applying prerequisite patch: [PATCH 2/3] dt-bindings: display: panel: Add devicetree documentation for lg,sw49410
Deps: Applying prerequisite patch: [PATCH 3/3] Update MAINTAINERS for lg,sw49410
If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for 20250928-judyln-dts-v3-0-b14cf9e9a928@postmarketos.org:
arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb: wifi@18800000 (qcom,wcn3990-wifi): 'qcom,snoc-host-cap-skip-quirk' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/net/wireless/qcom,ath10k.yaml#
arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb: wifi@18800000 (qcom,wcn3990-wifi): 'qcom,snoc-host-cap-skip-quirk' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/net/wireless/qcom,ath10k.yaml#
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (11 preceding siblings ...)
2025-09-29 15:28 ` [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Rob Herring (Arm)
@ 2025-10-01 9:02 ` Konrad Dybcio
2025-10-02 5:25 ` Paul Sajna
13 siblings, 0 replies; 54+ messages in thread
From: Konrad Dybcio @ 2025-10-01 9:02 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, Amir Dahan,
Christopher Brown
On 9/29/25 7:05 AM, Paul Sajna 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@protonmail.com>
> Co-developed-by: Christopher Brown <crispybrown@gmail.com>
> Signed-off-by: Amir Dahan <system64fumo@protonmail.com>
> Signed-off-by: Christopher Brown <crispybrown@gmail.com>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> Changes in v3:
Please run `b4 trailers -u` before resending to pick up any tags
you received in review
Konrad
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
2025-09-29 5:05 [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts Paul Sajna
` (12 preceding siblings ...)
2025-10-01 9:02 ` Konrad Dybcio
@ 2025-10-02 5:25 ` Paul Sajna
2025-10-02 6:12 ` Paul Sajna
13 siblings, 1 reply; 54+ messages in thread
From: Paul Sajna @ 2025-10-02 5:25 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, Amir Dahan,
Christopher Brown
September 29, 2025 at 5:05 AM, "Paul Sajna" <sajattack@postmarketos.org mailto:sajattack@postmarketos.org?to=%22Paul%20Sajna%22%20%3Csajattack%40postmarketos.org%3E > wrote:
> Changes in v3:
> - remove msm ids
I'm noticing now that this breaks wifi because the msm ids are used to identify the firmware
> ath10k_snoc 18800000.wifi: failed to fetch board data for bus=snoc,qmi-board-id=0,qmi-chip-id=0,variant=lg_judyln from ath10k/WCN3990/hw1.0/board-2.bin
What are your thoughts on this?
^ permalink raw reply [flat|nested] 54+ messages in thread* Re: [PATCH v3 00/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Improve HW support in dts
2025-10-02 5:25 ` Paul Sajna
@ 2025-10-02 6:12 ` Paul Sajna
0 siblings, 0 replies; 54+ messages in thread
From: Paul Sajna @ 2025-10-02 6:12 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, Amir Dahan,
Christopher Brown
October 2, 2025 at 5:25 AM, "Paul Sajna" <sajattack@postmarketos.org mailto:sajattack@postmarketos.org?to=%22Paul%20Sajna%22%20%3Csajattack%40postmarketos.org%3E > wrote:
>
> September 29, 2025 at 5:05 AM, "Paul Sajna" <sajattack@postmarketos.org mailto:sajattack@postmarketos.org?to=%22Paul%20Sajna%22%20%3Csajattack%40postmarketos.org%3E > wrote:
>
> >
> > Changes in v3:
> > - remove msm ids
> >
> I'm noticing now that this breaks wifi because the msm ids are used to identify the firmware
>
> >
> > ath10k_snoc 18800000.wifi: failed to fetch board data for bus=snoc,qmi-board-id=0,qmi-chip-id=0,variant=lg_judyln from ath10k/WCN3990/hw1.0/board-2.bin
> >
> What are your thoughts on this?
>
Nevermind, the board id and chip id are correctly identified when the host-cap-skip-quirk exists
https://lkml.org/lkml/2020/9/17/133
^ permalink raw reply [flat|nested] 54+ messages in thread