From nobody Thu Oct 2 11:51:14 2025 Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26434221D9E; Wed, 17 Sep 2025 01:10:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071428; cv=none; b=Pfreymk+0F3/pk5i7wY3NfExkJ8QXUXqlik6PTP/vHZFNQKB0UYWqifZTsF8tCewOl9eqoV+lDZroMp8MhfUoN6Qf0tvxDU3s17j81ge2s1lnj57a4e9D/G+vcFtjqWZJ/BsJtPSiCz/+1ChFykkkvkDhAlMzy7WzMkJRmnqX9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071428; c=relaxed/simple; bh=RIrSmiHxAiZjWjHDVSe2CqGVL6vdh0VRrQe32onNmBQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NeoQwCxLHqCK9tcfXsHET8B6FRbRN1PdBl1qeMBlsh7vOc2G9DCYgsZrxE+Ovq/C2qWbrDr6cDIBbllT6jFBXiDH3WTTAUuAPgan1b2uB+4MwZiCWyM65AjqRHejEnCC30DvcMegZUVoNBpQKPnHqc54+/khkYBLeb0Uciscfqo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=bIYcNHo7; arc=none smtp.client-ip=95.215.58.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="bIYcNHo7" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kr1t0WXFmnE/nXYfua5DQkOEI6al2lTD75XTgTxHqT4=; b=bIYcNHo79futnf/Ou9PZfc9f+Lj+nzEImhbevmxN+EscOwHj/rmfvCKg6cM/+3kXTXf5/s W01d+k2p3tpcVw5voF2mckxB8NiqdW2zdEIo84UtCbjntJKYf9LGJE9QgFe9D7TLS5ZdvB vbTKJj5igQx0/f3nD1dPF6nJ0ul3FsULgj3MduMrn//ghXugEvi8/bkv+LWmUSYgLy9s6M u+u+g3zmHTGcJLgSEdDtriGR2iHcApTzif9FQldp6tfboC9exBw89wr8lkbXFYb9ODLhOE +5tTBlP/Y/X2GroOJjboqlAvcKZXTuBUn2s7al5iob5uEQU2IyHuoquwvAtfkw== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:47 -0700 Subject: [PATCH v2 01/13] arm64: dts: qcom: sdm845-lg-common: Sort nodes and properties Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-1-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=4148; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=RIrSmiHxAiZjWjHDVSe2CqGVL6vdh0VRrQe32onNmBQ=; b=y6UmKutJLId9DjFLpuAFf7X39T9ZmHhhVjwDwkxr/STi9b6PVnbt814qFGGOf8RadLInbvP2a W2/G2ufwpxkD+y8ezaeP0Koqrh3iOMlNMNLK5a8H0Ly4Frlwk8iute9 X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT in accordance with: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html Signed-off-by: Paul Sajna Reviewed-by: Konrad Dybcio --- 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/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 99dafc6716e76e25aad0755e6004dc952779689f..82d6543835324ed92300c4ed24c= 51f4b79321f99 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 =3D <2>; ranges; =20 - qseecom_mem: memory@b2000000 { - reg =3D <0 0xb2000000 0 0x1800000>; - no-map; - }; - gpu_mem: memory@8c415000 { reg =3D <0 0x8c415000 0 0x2000>; no-map; @@ -99,6 +94,11 @@ memory@9d400000 { no-map; }; =20 + qseecom_mem: memory@b2000000 { + reg =3D <0 0xb2000000 0 0x1800000>; + no-map; + }; + /* rmtfs lower guard */ memory@f0800000 { reg =3D <0 0xf0800000 0 0x1000>; @@ -482,14 +482,22 @@ &mss_pil { status =3D "okay"; }; =20 +&pm8998_gpios { + vol_up_pin_a: vol-up-active-state { + pins =3D "gpio6"; + function =3D "normal"; + input-enable; + bias-pull-up; + qcom,drive-strength =3D ; + }; +}; + &pm8998_resin { linux,code =3D ; status =3D "okay"; }; =20 &sdhc_2 { - status =3D "okay"; - cd-gpios =3D <&tlmm 126 GPIO_ACTIVE_LOW>; =20 pinctrl-names =3D "default"; @@ -497,55 +505,8 @@ &sdhc_2 { =20 vmmc-supply =3D <&vreg_l21a_2p95>; vqmmc-supply =3D <&vddpx_2>; -}; - -/* - * UFS works partially and only with clk_ignore_unused. - * Sometimes it crashes with I/O errors. - */ -&ufs_mem_hc { - status =3D "okay"; - - reset-gpios =3D <&tlmm 150 GPIO_ACTIVE_LOW>; - - vcc-supply =3D <&vreg_l20a_2p95>; - vcc-max-microamp =3D <600000>; -}; - -&ufs_mem_phy { - status =3D "okay"; - - vdda-phy-supply =3D <&vdda_ufs1_core>; - vdda-pll-supply =3D <&vdda_ufs1_1p2>; -}; - -&usb_1 { - status =3D "okay"; -}; - -&usb_1_dwc3 { - /* TODO: these devices have usb id pin */ - dr_mode =3D "peripheral"; -}; - -&usb_1_hsphy { - status =3D "okay"; - - vdd-supply =3D <&vdda_usb1_ss_core>; - vdda-pll-supply =3D <&vdda_qusb_hs0_1p8>; - vdda-phy-dpdm-supply =3D <&vdda_qusb_hs0_3p1>; - - qcom,imp-res-offset-value =3D <8>; - qcom,hstx-trim-value =3D ; - qcom,preemphasis-level =3D ; - qcom,preemphasis-width =3D ; -}; =20 -&usb_1_qmpphy { status =3D "okay"; - - vdda-phy-supply =3D <&vdda_usb1_ss_1p2>; - vdda-pll-supply =3D <&vdda_usb1_ss_core>; }; =20 /* PINCTRL - additions to nodes defined in sdm845.dtsi */ @@ -586,12 +547,51 @@ sd_card_det_n: sd-card-det-n-state { }; }; =20 -&pm8998_gpios { - vol_up_pin_a: vol-up-active-state { - pins =3D "gpio6"; - function =3D "normal"; - input-enable; - bias-pull-up; - qcom,drive-strength =3D ; - }; +/* + * UFS works partially and only with clk_ignore_unused. + * Sometimes it crashes with I/O errors. + */ +&ufs_mem_hc { + reset-gpios =3D <&tlmm 150 GPIO_ACTIVE_LOW>; + + vcc-supply =3D <&vreg_l20a_2p95>; + vcc-max-microamp =3D <600000>; + + status =3D "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply =3D <&vdda_ufs1_core>; + vdda-pll-supply =3D <&vdda_ufs1_1p2>; + + status =3D "okay"; +}; + +&usb_1 { + status =3D "okay"; +}; + +&usb_1_dwc3 { + /* TODO: these devices have usb id pin */ + dr_mode =3D "peripheral"; +}; + +&usb_1_hsphy { + vdd-supply =3D <&vdda_usb1_ss_core>; + vdda-pll-supply =3D <&vdda_qusb_hs0_1p8>; + vdda-phy-dpdm-supply =3D <&vdda_qusb_hs0_3p1>; + + qcom,imp-res-offset-value =3D <8>; + qcom,hstx-trim-value =3D ; + qcom,preemphasis-level =3D ; + qcom,preemphasis-width =3D ; + + status =3D "okay"; +}; + +&usb_1_qmpphy { + vdda-phy-supply =3D <&vdda_usb1_ss_1p2>; + vdda-pll-supply =3D <&vdda_usb1_ss_core>; + + status =3D "okay"; }; --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-186.mta1.migadu.com (out-186.mta1.migadu.com [95.215.58.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61EE822D781 for ; Wed, 17 Sep 2025 01:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.186 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071434; cv=none; b=XYTJtd/SZ70EOmTsffZ8vrNosGz2J5aUAc1oOGz4rZSgIKtXSO0LVe+Wuua/ARcX/GjqMmvIwrKiRPcICirbqIISTLkgf6uQP/2aYUYiByhUU6acdyBJK9z1fKL0ezjVOxXvn1MW521na0x5fLvQmvdr5NPlacjUIW612E7ZRE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071434; c=relaxed/simple; bh=PNCFzd1VbBHKRGs4QtYe5HT+Dt7SzfVU7/ig+WLOVW4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uKbO+bqpYI76982ZEDlt0SVYNwi6Cj6vcANc3ZSXRN5Pn8QsQWrjFP5WBRy09lBuitfk1jkCN/Ldn/AWp8SkVkgQIqHa8sr5ZvNn1OWPY+AeW4NS0gpCnjG+TkojrvHt0snjNILcQ6Mttt8lF98ASVNqwY9d8HxSUWEB5TlSe+k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=C91EPZT/; arc=none smtp.client-ip=95.215.58.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="C91EPZT/" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ealdVdLZ+IyANpbv1SBjZZRQLnL41Am0TGbFhXY6ok8=; b=C91EPZT/3FIktJojIUjv1fgd9z7waBWij3DVtT6rQtF74/zSWYdRJbZrdQpuUquSKtZL3U Tjn+zPpXgTn83RsoNUZvmEBQaxBVwfRJxgKQA7dzX34hjcuBjUe6VlMKC+siLL/ZJDXUrZ 1UhgaJyNNHuYz5QSzZUK+i32OyEq++/qf3dNBM2DR8a4JtctDrySCm12x6iVBXb40qSpRE U74DJXmvbPCgowMIPXFsVl8cXENKY02FEf3ir+vBYiTfAIebFNH/ODK1ZKQVL6ItSitPCo 8WLqNpuLtLxgj6/+zEsOyeuiu+N8BNFkMDWuTjN+vER++bATpbQWP5+WLRDB2g== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:48 -0700 Subject: [PATCH v2 02/13] arm64: dts: qcom: sdm845-lg-common: Add uarts and Bluetooth Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-2-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=2119; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=PNCFzd1VbBHKRGs4QtYe5HT+Dt7SzfVU7/ig+WLOVW4=; b=I1QbhDk9QAI7C/aYzyPjQTVzM9EyFvhnXLlrRKu7kV7VeOuHJn+dxGqK5bgzG/cDxaA+hLBiC h6jJco8XgqhBbhm4+0u05HZ1OTWrRvurBrR5qTpA3S69r5uwOBChY1h X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT uart9 is debug serial on USB SBU1/2 uart6 is bluetooth Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 45 ++++++++++++++++++++++= ++++ arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 10 ++++++ 2 files changed, 55 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 82d6543835324ed92300c4ed24c51f4b79321f99..911f5e614d0a4a85da61570ce40= 0a85efa08623b 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; =20 / { + aliases { + serial0 =3D &uart9; + serial1 =3D &uart6; + }; + chosen { #address-cells =3D <2>; #size-cells =3D <2>; ranges; + + stdout-path =3D "serial0:115200n8"; }; =20 reserved-memory { @@ -595,3 +602,41 @@ &usb_1_qmpphy { =20 status =3D "okay"; }; + +&qupv3_id_0 { + status =3D "okay"; +}; + +&qupv3_id_1 { + status =3D "okay"; +}; + +&qup_uart9_rx { + drive-strength =3D <2>; + bias-pull-up; +}; + +&qup_uart9_tx { + drive-strength =3D <2>; + bias-disable; +}; + +&uart6 { + pinctrl-0 =3D <&qup_uart6_4pin>; + + status =3D "okay"; + + bluetooth { + compatible =3D "qcom,wcn3990-bt"; + + vddio-supply =3D <&vreg_s4a_1p8>; + vddxo-supply =3D <&vreg_l7a_1p8>; + vddrf-supply =3D <&vreg_l17a_1p3>; + vddch0-supply =3D <&vreg_l25a_3p3>; + max-speed =3D <3200000>; + }; +}; + +&uart9 { + status =3D "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boo= t/dts/qcom/sdm845-lg-judyln.dts index a12723310c8b630a4961de671ea8b60f1f8b512b..49225e4fa80e5f45a36964d5d73= 3dc238e4413f8 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts @@ -66,3 +66,13 @@ thinq_key_default: thinq-key-default-state { bias-pull-up; }; }; + +&uart6 { + bluetooth { + /* + * This path is relative to the qca/ + * subdir under lib/firmware. + */ + firmware-name =3D "judyln/crnv21.bin"; + }; +}; --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 972BA23B60A for ; Wed, 17 Sep 2025 01:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071439; cv=none; b=qwZbewJ3S5LiO/Fi5/AeSXqbFH9HPcvxSzRaecXglrAGsybQ97DsCSFq7oS9SD9m3V1NDJUkkr7kJumScSF6DGikwu/g3DCJEydv6y2AgthgAtEc/IdBwK/MCqkfzdZeaoTgg7JXWApXtnVK8I9JABITdUsjUOpmJRj9QzhVD1c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071439; c=relaxed/simple; bh=Cfw9f8G/EVt6oTsANZT5LY+a4jGLcz1cjcQr1173G1c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LsR9zR8YiUE0kfb3qC+ah9Jw8D21kDiu+XLkSFYc/PqirJh/GAw+T5mI5h5EAtaxcCTxUPBFAqZFfdiuFqZts4ji5lQpvTvO/lGHy+J290Nt48bEYTKG5b0RINo+c8iGlyjYFk7u/oaDP5ZEaEkU+t2kYoZz00sC56RvNqZnVT8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=A6wYHt+F; arc=none smtp.client-ip=95.215.58.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="A6wYHt+F" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071435; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iqcu056ZxaaQa1+3lepfj9tog1OkQlq3ftPEsMDCQuI=; b=A6wYHt+F2pijt4Teui6VsQMwIGLQdGPlvw0QEg+36oM7ueq5E0CiUvr/i276f4GQxI9zIk 7RMRPYu+qImTrXdsvXefSvdLhB0CIIwzCO6ojtPfRQTGa1xY4HX9ggc1GCIC8RZfi7OCwP KRXgMu0Q1NXJ+Ezo6Yii1XreuKxZRp9DChpp/naRJjRFqrtT0DlBMOmHzZJrfFdvqAK/5e OnZJNCVgLYn8Kw5rlFuEI/+TGeP9eoynjX+udWvPsbIHCnI9pLU6HwjKY+TNWRM63PWTVI ZMbEs4JbrSelU9RLj6rJIx0vrjdkNNreTaoBPsotpCDsc0T9PmZozggoJezZEw== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:49 -0700 Subject: [PATCH v2 03/13] arm64: dts: qcom: sdm845-lg-judyln: Add battery and charger Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-3-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=1134; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=jM2RR5BY2AR3olI3nduZGxoa6omhrjQm9NtH6rCBt1w=; b=Ez+kVuLf0kniQ0UuEYDLrw6Jg9/g4VmHvpcbst7VICYAYxBnThAqqL8oSmiD5ew+Ea7MpXqb9 U0PvWS4wUsECDNDoAKRvg8vn59kuFXi+zQ5MyMoxSvDuZEt/NZMVnze X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT From: Christopher Brown Values based on lineageos kernel Signed-off-by: Christopher Brown --- 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/boo= t/dts/qcom/sdm845-lg-judyln.dts index 49225e4fa80e5f45a36964d5d733dc238e4413f8..be488891d0ab01c5bfd3762514f= bf1c3bbf6845a 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 =3D <89 IRQ_TYPE_LEVEL_LOW>; }; }; + + battery: battery { + compatible =3D "simple-battery"; + + charge-full-design-microamp-hours =3D <3000000>; + voltage-min-design-microvolt =3D <3200000>; + voltage-max-design-microvolt =3D <4400000>; + }; }; =20 &adsp_pas { @@ -57,6 +65,11 @@ &mss_pil { firmware-name =3D "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem= .mbn"; }; =20 +&pmi8998_charger { + status =3D "okay"; + monitored-battery =3D <&battery>; +}; + &tlmm { thinq_key_default: thinq-key-default-state { pins =3D "gpio89"; --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64C88246BB8 for ; Wed, 17 Sep 2025 01:10:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071447; cv=none; b=i8OC7F+f+7l1SRtOJC2BM6waKPHJD1B/ezFkmTKCiaDbPETzssd/eNyUTvl0w2AvUzRSnl8VoahGE7axB2RgVmjFc46EgCHQMbnUv42xPt9jJOweugaBnt65w2kRni1JpqkwwHYw/mkqkzfGxSXviBONUnC7hWRDIO0MuTjeTz8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071447; c=relaxed/simple; bh=xZrvlCbh6KRTeGh7bMXMcKiazIl49qX+yWDASsQLlxw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=e5aLKLssmH/402mKunymti8NtPGUrEhck2rA4qnZNq9IN70M8ntBPv1hEk7rYPT6VpMXNS0akucjI60VF/sgGwZRfxcIyCWeG3Kj/CN4TO60Z6xxtIMWBaj2mFw92I7cDMCLIiTIUcapmYH1XixtjPidCweC02yBbA0xrPvlrLg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=V/EUBVEs; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="V/EUBVEs" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qdtVBhLjrCAT0UtTMMYkYZgI4fbXbm3xNfHPjzi99/4=; b=V/EUBVEs9b9esJvRv/ebDVvKukQ1b0hy0xrVe0JUt53ULdFRglZD8QauMH851zGUqReRs9 eRNPbIlnFl/ogHLFbZTP1sGLB0+X9ciMjBiFvQW6+hFPgOYdNyR9q4xWFSRFlE6TN/lPOx R5NFVmaE/Yh7sWw1dgcozyC8JFdEFpN7VAOJUU4EAWlmee25rKMHAFyF6Xv5RZ+tqCVw0J Crq3lAW4+SRHin+5B0yifmdq23INXcGqkUZhz53qqTD5elb4a5FxajXHQme71CWCcC7I2K gre+58Y4HbvVgf3b4cKKeawCVX/NH4AmuJfD00SIBwiJ9SpXvVP2v74XjPJ3Og== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:50 -0700 Subject: [PATCH v2 04/13] arm64: dts: qcom: sdm845-lg-common: Add leds Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-4-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=1305; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=w23PMqpum8pcUJy81Rq3Il/ng8AVSkuyum+QLCF/jC8=; b=7qSoO8jUJuJ2BB0N4lwHtjXQyLif7MyytKHQ0zFO2+COp7+VYrUXXAyqY0dGzrfOTdMGLJ16a pnmjfpkMl6iB9y1T51a++MM1Uc+S2vVlRatumxhKJ2FdEKzcnvEABTz X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT From: Amir Dahan Add the multicolor status led in the phone's notch Signed-off-by: Amir Dahan --- 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/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 911f5e614d0a4a85da61570ce400a85efa08623b..db28a2494a0cc4b9e9d997d11f1= acfb116e586e3 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 @@ */ =20 #include +#include #include #include =20 @@ -504,6 +505,33 @@ &pm8998_resin { status =3D "okay"; }; =20 +&pmi8998_lpg { + status =3D "okay"; + + multi-led { + color =3D ; + function =3D LED_FUNCTION_STATUS; + + #address-cells =3D <1>; + #size-cells =3D <0>; + + led@3 { + reg =3D <3>; + color =3D ; + }; + + led@4 { + reg =3D <4>; + color =3D ; + }; + + led@5 { + reg =3D <5>; + color =3D ; + }; + }; +}; + &sdhc_2 { cd-gpios =3D <&tlmm 126 GPIO_ACTIVE_LOW>; =20 --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FA7B223324 for ; Wed, 17 Sep 2025 01:10:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071455; cv=none; b=T9lJiGM+9Fs/BGTWJZK2l82tWEg8zjaKGS4xBubrJyVsA+Js2jhBbSinZUkn3dw0PCnVKtbmWPiSiQzD6lREKsqJXmBeqHu6xB7L59FbyIfXx1EAdCdheko4c5aK6yYKMtJheesqXNOZ4JVNR35AyH0McnKcY1/msBAMfTBbG/w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071455; c=relaxed/simple; bh=Ql1KiV5WnAdrtcqHKppHzb6SGERNrEU6cEy8nYkOnYA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iJGposekc+kwHAJ8yOK+5kHw/9rnqkUGxRO6phOg9AxWEuQyqH5EeC9G4QnUBRlYTBsN2sMd9aUGfIwSR04alI6LYLGscF694ynlJXlnI9nbfRWv8u9p5nfCyb88KPwoZIt1lTxkceYpYFk0qep0l8teZn+5EpU5AtoQh/MmVxc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=JRTP2j7K; arc=none smtp.client-ip=95.215.58.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="JRTP2j7K" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sFgd5B+wjmH6RKdMI1rlJ6+UgJFbCM3lPLIcJ3MhI4U=; b=JRTP2j7KF24ecrtY0PVXfQ/+SIYlEGa+ODgJ/otcYmgIx9eurhbRS0auG2aAac3a+fW2NI bxwJmiAFUFRni6ZSvTYYCjjPeETfO97uIPUHVjRSRSu3sefFhvwVyalhHRDI7QZdYSnKoN hzs6qgmatRF39U+Xi/O1iVevwcJkkOzk+n/p/5YPnGy6mCaAqH4KEmrARs/MgUsVGeuPFg VOoT1lOPRsDANdB/x4d4TJbtHMONtEqP68dzkAicQtrxbE0YvK3ZPd5W3g1P+FmM3OC1AD cAw/h0BOk58g0VOhNoASzjM8CIWsasw0O3rkxfJl6U5MnxzlQSv6cOshOLsFsw== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:51 -0700 Subject: [PATCH v2 05/13] arm64: dts: qcom: sdm845-lg-judyln: Add display panel Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-5-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=2948; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=Ql1KiV5WnAdrtcqHKppHzb6SGERNrEU6cEy8nYkOnYA=; b=hzMgsRuLmOntTfBiGiNrUEfjbnahOrDHZgGat7GZnHdHQaO8tHa/HpiRKe4qGGDrGHEU68KFO dyxKr4Tt0llA7iLuUGZFec0zhc5pdOCVa6ySByg+QulzmeFPm4Ie897 X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT And supporting msm drm nodes, including backlight Signed-off-by: Paul Sajna Co-developed-by: Amir Dahan Signed-off-by: Amir Dahan --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 8 +-- arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 67 ++++++++++++++++++++++= ++++ 2 files changed, 71 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/bo= ot/dts/qcom/sdm845-lg-common.dtsi index db28a2494a0cc4b9e9d997d11f1acfb116e586e3..ea4de09b549d1d436897ea6059d= 27556041a6b68 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 =3D "okay"; }; =20 -&dispcc { - status =3D "disabled"; -}; - &gcc { protected-clocks =3D , , @@ -532,6 +528,10 @@ led@5 { }; }; =20 +&pmi8998_wled { + status =3D "okay"; +}; + &sdhc_2 { cd-gpios =3D <&tlmm 126 GPIO_ACTIVE_LOW>; =20 diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boo= t/dts/qcom/sdm845-lg-judyln.dts index be488891d0ab01c5bfd3762514fbf1c3bbf6845a..8077a9fb0dc28237fc6ac0b70c8= ef45a0d72876d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts @@ -61,6 +61,45 @@ zap-shader { }; }; =20 +&mdss { + status =3D "okay"; +}; + +&mdss_dsi0 { + vdda-supply =3D <&vdda_mipi_dsi0_1p2>; + + status =3D "okay"; + + display_panel: panel@0 { + reg =3D <0>; + compatible =3D "lg,sw49410"; + + backlight =3D <&pmi8998_wled>; + reset-gpios =3D <&tlmm 6 GPIO_ACTIVE_LOW>; + + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&sde_dsi_active &sde_te_active>; + pinctrl-1 =3D <&sde_dsi_sleep &sde_te_sleep>; + + port { + panel_in: endpoint { + remote-endpoint =3D <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_phy { + vdds-supply =3D <&vdda_mipi_dsi0_pll>; + + status =3D "okay"; +}; + +&mdss_dsi0_out { + remote-endpoint =3D <&panel_in>; + data-lanes =3D <0 1 2 3>; +}; + &mss_pil { firmware-name =3D "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem= .mbn"; }; @@ -78,6 +117,34 @@ thinq_key_default: thinq-key-default-state { drive-strength =3D <2>; bias-pull-up; }; + + sde_dsi_active: sde-dsi-active-state { + pins =3D "gpio6"; + function =3D "gpio"; + drive-strength =3D <8>; + bias-disable; + }; + + sde_dsi_sleep: sde-dsi-sleep-state { + pins =3D "gpio6"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + sde_te_active: sde-te-active-state { + pins =3D "gpio10"; + function =3D "mdp_vsync"; + drive-strength =3D <2>; + bias-disable; + }; + + sde_te_sleep: sde-te-sleep-state { + pins =3D "gpio10"; + function =3D "mdp_vsync"; + drive-strength =3D <2>; + bias-pull-down; + }; }; =20 &uart6 { --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0B58262FF3 for ; Wed, 17 Sep 2025 01:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071459; cv=none; b=SUBcuzvMELV5ABepBxbilbNVEhC6crHWpoZYzQ8n5zpLGeToTLSs3JeZLxQXTO+utAybPaXhPAv78qavFaT+PNnaZCQ9tJ+j3L+4C7gD4ja1fZan1lIJRQkrvKKEjrkVUTb4sisbfj5olMKTdCdDyZkaBCc6cnJLiuIdANfO0MQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071459; c=relaxed/simple; bh=MW7Zt0iXVXO8xBWph1Le9slDXbvYEFQUVxcY2SgzFBc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=i86wCVns4oogdOIxmHwCYOjRRScXD9aVp8sly6YVeFRJsBFaNEtYI2GUVKgVJNbLaqp2rh2PyWywcTDPIPUgGghDT2+CVSBeckqTtTKsjxuOzIZ+WAlWzVXNv0Cd8Uk3aTkmRxrmcT/mnHhWEKKr0hx4m3izd3f6rAwdNdum65k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=Br0p+H6R; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="Br0p+H6R" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HBKfgSyk7qbQDjn0PK37gt147MYbv2+Cz+tfg9NOFoA=; b=Br0p+H6RZ69v3qrkPUN6xCt+UVgaY5lJpWvui93/h8/hRgehoZ0NQM0z8moM68KxgkWohs mBztK2DNRPMR+VIdKhGENtDiTNcuRefa5g7BSvDznWOGpBjKirxITVeRHNkOXKuspNf+n1 P+738FHGsfcCKZC6sgMIUVUdRx6YIH/vrfBM2bReJenT0e6wuJVEqY4inJmkpsG+jc+SjT S90q75DnTmj+R/2yQE+RH8yQyvhs8BBvmgjHM2yTe5NuWLAP7JkMmhmJWar05M0psafWEy +rnrfJKHY/RLqNI282iTf3gRQPh1U2yqxShatsxJ2Zm/TfnKpLOdR24vdCnBRQ== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:52 -0700 Subject: [PATCH v2 06/13] arm64: dts: qcom: sdm845-lg-judyln: Add firmware nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-6-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=2681; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=MW7Zt0iXVXO8xBWph1Le9slDXbvYEFQUVxcY2SgzFBc=; b=VavDTnMkxayaGcygvOYp2tn/O1hR6x34NOVD8npBjCHCDiiWGUjKYESnax3h6MT2F00akDqPV hxI0mElLzRXC/QvtjJ+iLTBVqs5dTlcmauEQfkSaCmjV1Tz+l3lDUNd X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT 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. Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 10 ++++++++++ arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 16 ++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/bo= ot/dts/qcom/sdm845-lg-common.dtsi index ea4de09b549d1d436897ea6059d27556041a6b68..44a76e047c8faf71959ebf9a5b2= 78e1f66000087 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 =3D "okay"; }; =20 +&cdsp_pas { + status =3D "okay"; +}; + &apps_rsc { regulators-0 { compatible =3D "qcom,pm8998-rpmh-regulators"; @@ -479,6 +483,8 @@ zap-shader { =20 &ipa { qcom,gsi-loader =3D "modem"; + memory-region =3D <&ipa_fw_mem>; + status =3D "okay"; }; =20 @@ -668,3 +674,7 @@ bluetooth { &uart9 { status =3D "okay"; }; + +&venus { + status =3D "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boo= t/dts/qcom/sdm845-lg-judyln.dts index 8077a9fb0dc28237fc6ac0b70c8ef45a0d72876d..7d05698f1225d951804752b6fc0= 62c1b4f583516 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts @@ -48,19 +48,23 @@ battery: battery { }; =20 &adsp_pas { - firmware-name =3D "qcom/sdm845/judyln/adsp.mbn"; + firmware-name =3D "qcom/sdm845/LG/judyln/adsp.mbn"; }; =20 &cdsp_pas { - firmware-name =3D "qcom/sdm845/judyln/cdsp.mbn"; + firmware-name =3D "qcom/sdm845/LG/judyln/cdsp.mbn"; }; =20 &gpu { zap-shader { - firmware-name =3D "qcom/sdm845/judyln/a630_zap.mbn"; + firmware-name =3D "qcom/sdm845/LG/judyln/a630_zap.mbn"; }; }; =20 +&ipa { + firmware-name =3D "qcom/sdm845/LG/judyln/ipa_fws.mbn"; +}; + &mdss { status =3D "okay"; }; @@ -101,7 +105,7 @@ &mdss_dsi0_out { }; =20 &mss_pil { - firmware-name =3D "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem= .mbn"; + firmware-name =3D "qcom/sdm845/LG/judyln/mba.mbn", "qcom/sdm845/LG/judyln= /modem.mbn"; }; =20 &pmi8998_charger { @@ -156,3 +160,7 @@ bluetooth { firmware-name =3D "judyln/crnv21.bin"; }; }; + +&venus { + firmware-name =3D "qcom/sdm845/LG/judyln/venus.mbn"; +}; --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4AE427380A for ; Wed, 17 Sep 2025 01:11:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071463; cv=none; b=T7ZFMofIowcwlqSSu5hV2Tq4RV5DNS+hEDPWtuns7xpoiT/PRbTsWig6VYUIN5jLrMwEyMO2MhglUg9N75FqQdvnyPO8qlHyE1VJ6Ae/FpGXOor5558neUa61rHVEayQyJ1/BmGUXShr0e5ouP0O8648lm59KywCzoRsij1iVYc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071463; c=relaxed/simple; bh=OFsQLAzvDH+YgX2aC8uYRsCBuZ/GAGaUNDIa2FQpXXY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G/vB8s+/IR9s5ODoRcjWToz/XVv1pa3pVDXKbjsd1XoihygdHksNvogHk6+6Rz7ET3mf5o1gtdB/MbVdoN0U8IXjx7/Gz9bGMFKy00JU6IQvGTaxkCKBb5jkkRK877i7ELNfgA6FoABvbJ3jjZYnhbwm8EOeBQpBypWyNN+KRv8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=kqJEeHY8; arc=none smtp.client-ip=95.215.58.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="kqJEeHY8" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071460; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6hf4siRsM7TZ48o2oJStRJGK+Gn25EiSe6vFdh5a6xk=; b=kqJEeHY8172iqigbQ+GlW8n+obQksZM3o5p5Je+tdGsR7yt2iPjTzUQ4APHejV1zFTl+18 LXUcN0OmNfvQqFND4M4gsREPCYmvbbLU2uxMNDxm+sUJT5pll940Yz5ulxLatwsJ/Nqxys G6RjZ9o9zPFBL/kyNJzcMe40No4p9bYwV+QQeCSidqgCoEf5W6wF9i7+G8GtXyiZfMUVLS x0zihs32p2+MxFY6a8Vcq7Esiap7JrbdPwgFHUTduNXd0q1zwiXef4V90IQVayJlFbfQJA 5Xmcqgt6oDU5akUKqZYSLYBdzPyKMbYFejoF36hUaYIFtdqQrK+h1t4EmDtZ0g== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:53 -0700 Subject: [PATCH v2 07/13] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add wifi node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-7-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=1441; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=OFsQLAzvDH+YgX2aC8uYRsCBuZ/GAGaUNDIa2FQpXXY=; b=PmOM4AfppYlJ9OZJlsvQSTkqxlH4KSCqu2miLz2s2yZ0/LXQsgGSuIR7K+8K/Yr9VLJvLMOnD xYn9YdraByGCAk1Hio1yFfch2lqfNeWdghtSjXcWDIoY1EiktWPMTXf X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT Wi-Fi now works with this patch and relevant firmware Signed-off-by: Paul Sajna Reviewed-by: Konrad Dybcio --- 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/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 44a76e047c8faf71959ebf9a5b278e1f66000087..01ac32ae8728558741d5d47fdd0= 0219b349f225c 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 =3D "okay"; }; + +&wifi { + vdd-0.8-cx-mx-supply =3D <&vreg_l5a_0p8>; + vdd-1.8-xo-supply =3D <&vreg_l7a_1p8>; + vdd-1.3-rfa-supply =3D <&vreg_l17a_1p3>; + vdd-3.3-ch0-supply =3D <&vreg_l25a_3p3>; + vdd-3.3-ch1-supply =3D <&vreg_l23a_3p3>; + + qcom,snoc-host-cap-skip-quirk; + + status =3D "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boo= t/dts/qcom/sdm845-lg-judyln.dts index 7d05698f1225d951804752b6fc062c1b4f583516..e84b45ed82fd13850ea7ec1f34d= dac5b59fc1434 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts @@ -164,3 +164,7 @@ bluetooth { &venus { firmware-name =3D "qcom/sdm845/LG/judyln/venus.mbn"; }; + +&wifi { + qcom,calibration-variant =3D "lg_judyln"; +}; --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD24728489B for ; Wed, 17 Sep 2025 01:11:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071467; cv=none; b=Z0gviV04xdTNYJPiqg9m++7U+OF66BtiVcA9reDtbxhmsO1b93U02T8vwZ6vPob4mg6gyN5yS8vzy1nLiFRO8rkVvkjmmGZ0cuc/1FwKGQfGQkUVQQHlYeOTbcWN7qtB2Gqn7bOf9RLxwhi4GQ3vKmi9ZqrsmrCbXEUVoNux8s8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071467; c=relaxed/simple; bh=c4YJneX4Q5A9yvxLd5vJdUbDWZrBmpDc+6nv3rce66I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VdhFEyPqYd8TJuuOyDAVAGbQcmhdukZ7q7fexDDUnXEWMHlios5fYwxevNICdB7bSpTJtYSIdTDRo8W0NGhcbabyG0MkzdRjc1d1DW9qieopLG+lGBpTC9T0rqizaAko4c8gvgEI3jIQsHTblhUBxq/N4KG4EvITzYcFRyiTcRg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=sWA3uhgo; arc=none smtp.client-ip=95.215.58.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="sWA3uhgo" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gp1qVHjpDVnJgq9Po7ok+fTyAvbzy4QvgPvvb9Xkeco=; b=sWA3uhgo6ZiANVUbF6VZRHMaCdZq5uxKLGXOmAvZOpGqnQqiIc/sx/DGi71yppV1SdpP2H thGeGXSvJ9fc5W94Sp9vX/DEEoUSFUHYFwAi+bIUcvunFZ4PN/qR40L8ZCX8VE99MNmRtm a64v1tL1Und7G5qMSiFzFDSCjCkSkcjsriPQq2v7riQjIHvbEnHhrkjrO24uPL7TmJv5gq nSoFfNUArPXjGLOUBmDZvfxDXYK6JEapJ6BVvnm/6rOhdXQg8llV+/K9jwhAPt7iA5sCB2 L1sLy1ff7bNIOvjXOGYuUsV9vM02D/Gn34hhNhzYyR+UzdzsaDZf/oBKNIaMgA== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:54 -0700 Subject: [PATCH v2 08/13] arm64: dts: qcom: sdm845-lg-common: Add chassis-type Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-8-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=698; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=c4YJneX4Q5A9yvxLd5vJdUbDWZrBmpDc+6nv3rce66I=; b=jjNKcy3/DhtnFlBzbGXbu6ob9CqyUEvt/rB9XfZqo0Ctfbz4VXsIhLplC9pcwoBsL06B4rTXN rD28fDeFUKDDqHOuwZZ+pswcug+diPqrtMEtic3H5AmxZbKlnBwRvLD X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT The sdm845-lg devices are all phones, therefore handset chassis Signed-off-by: Paul Sajna Reviewed-by: Konrad Dybcio --- 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/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 01ac32ae8728558741d5d47fdd00219b349f225c..920a87e422518df980fd36a70b4= 7f7b728536d23 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; =20 / { + chassis-type =3D "handset"; + aliases { serial0 =3D &uart9; serial1 =3D &uart6; --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B09F0225A3D for ; Wed, 17 Sep 2025 01:11:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071471; cv=none; b=VumjE3AginMdl2WKpe/sGlmV5fqLMOpLAYgRzVi3FdWZrILkIhj9/stpTioxaarwuQhz1wtU11n1evdI85gmR7E0Pf413qgTGIMT0hf9RlRE5jyJx7jRVF05OfCwvu5Ow9HMWEzaw53HCaDZ1rk+fHpv7L9XQivFcDDtu58kYlk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071471; c=relaxed/simple; bh=xNr/QPqZJjmdX3agp0UpK/7utCbc9K/M2hrqsI80QDE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fPSZaLTVbugcl3NpU+c/wGcSLs2hyHGqAABTmhrB9Jt2s3Vd+XqMYOkIZx1YjiVXYKW4ctAjtEEZzulCUvOFjdEFbmnk49Olu0DZwaxMADlF5mUvf84isgxfE4swFkHNIvSeLW/D57XtolCBRcfHJl5+SJWunUMa9ez5l4PVk0M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=GGcc15pV; arc=none smtp.client-ip=95.215.58.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="GGcc15pV" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QNAqiDtwCJqZdJcO28gUidP3IvDIiO4XMyc6Vtbn8eo=; b=GGcc15pVJcCVmGefEgI4tyRvllos+PE5EaXaWpIPrOPkxGo2fN5XDzuyLHXvMt0vOlyozb UrA++5kMoVVVhO28nM4+W2QFw2+leBuhN02ZYyz4cBHKO4gYruP6enRfsO3ipB4UPwfGvG gMq0cciUMX2zhstAX5KOlZTg2HHzIOe8RrjdxB4+4fy36bbc+Q104SlZIKTO/Wy8KGNtuN c2u6epPwdA7YFOKp2acw6ir1qCVunlN50Ln9tduyn3SaffphvlPEeTNlYLbbDCzlN1h6aO bligwsW8ME8rjzND1qfgrVjhqWv8EaW7ewCNQFIx/GWkiRAq2KP8nWSRJtgFtg== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:55 -0700 Subject: [PATCH v2 09/13] arm64: dts: qcom: sdm845-lg-judyln: Add fb_panel dimensions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-9-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=779; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=xNr/QPqZJjmdX3agp0UpK/7utCbc9K/M2hrqsI80QDE=; b=5kNRWjlJUYC4rNLH+lINJyEU1x1GUzbXkVxunKwtRkkVwJhBVn+jBYfbMdiRUKwwFaab4jeCM 7e6zviFO8z/CYarG5oFttrteXeE5nzILijnEdD4sTrdc58XH5IiguWJ X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT Add display dimensions for proper scaling Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boo= t/dts/qcom/sdm845-lg-judyln.dts index e84b45ed82fd13850ea7ec1f34ddac5b59fc1434..8c1692f86e6ceea7b718361965e= 78f95d39373bb 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts @@ -23,6 +23,13 @@ framebuffer@9d400000 { format =3D "a8r8g8b8"; lab-supply =3D <&lab>; ibb-supply =3D <&ibb>; + + panel =3D <&fb_panel>; + + fb_panel: fb-panel { + width-mm =3D <65>; + height-mm =3D <140>; + }; }; }; =20 --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E5D6296BC8 for ; Wed, 17 Sep 2025 01:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071475; cv=none; b=bSnNcEDTTi4RghBQUblSzx6o6tv+nowrfM2Fj1MyCbD5I1XNF6YRdfXjeklat65wsc8vDrPqS+GIg38fYEenv8uzZuEJs4CCvjhfhvuxB31Yso1tYu/EY39A1NGAYKOU2TjQRchbPb18jKP5wHQCk2mAdNoqKHhtdgvVb73Mfjo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071475; c=relaxed/simple; bh=/FmVkmoBEMyEFZyt5e3JDoIH8CgjgyOFDJbYas/fgvg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GrjJ8IntFpyCVmvUt0g5KFW9SGPh/Q2AvcQGTAa9mFdbt7tkEnU+4kiL/VsMq0haCt9AubrkHlPk7ibq3i+1ZZp9vtINSW3guVFe9WrEJCKgqUvR3KA2/xgTMtuLZwC9NUePyKCt3gs7itdtnWnQEXl4U9xDDIT9nCZhUl7Vh+Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=N5j18L6b; arc=none smtp.client-ip=95.215.58.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="N5j18L6b" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jlTKgWRadxT5QkMxP0BNCLF/Aqr/GkF2Ztfd0+62fqA=; b=N5j18L6bWvZ5uZAe0GHYB3IUzsy4IPljm7mybs3ZkjJDzkX4B3jTjjM+MQ1pKOH4JNJAyk 4IgMORs5N/JPin4Qz4hoAHVJhKOISWcYVCJfJc5CcQJyCOzXXfc6mJ1jCfGCdoNPIBACgj rRVz8AsvWo5xYDzncOHb57RtpsDNEiFt4c66nTzsKpdnmCd1WeElhV5lHxcsVFdf/vDh/3 Bdge4PDX2a/f1u5MOn/3EXMPT7VKW6kn4EPjrwpLzUAYQDqQXXtGooX8C1EiNXMwBiv0Bz mXOD+Xz7Bjx+wRhUIeX/ThTKPH5vdv1M+yLnSbizyRN5x4v0eJ4+yqVHRdJKYg== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:56 -0700 Subject: [PATCH v2 10/13] arm64: dts: qcom: sdm845-lg-common: Add camera flash Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-10-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=903; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=/FmVkmoBEMyEFZyt5e3JDoIH8CgjgyOFDJbYas/fgvg=; b=OGrPIij4pz4ZISiLtxXMLWLBj7/COyqgr5cRPvDam0jrP09Om3GVOezPIDYfTLXJVI2iSC9Wb 9GkE+qpgyinCs1ybwQ0zmSf9IJKJs++gZ89zlXADRgOfsLLXOLkf3Kv X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT So it can be used as a flashlight Signed-off-by: Paul Sajna Reviewed-by: Konrad Dybcio --- 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/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 920a87e422518df980fd36a70b47f7b728536d23..1baec758c7d881026bf6001a0a3= 05687d7a14b40 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 =3D "okay"; }; =20 +&pmi8998_flash { + status =3D "okay"; + + led-0 { + function =3D LED_FUNCTION_FLASH; + color =3D ; + led-sources =3D <1>; + led-max-microamp =3D <850000>; + flash-max-microamp =3D <850000>; + flash-max-timeout-us =3D <500000>; + }; +}; + &pmi8998_lpg { status =3D "okay"; =20 --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9E7829B77C for ; Wed, 17 Sep 2025 01:11:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071478; cv=none; b=EAvv/FB8ry5PYWn680yD1nGMPv+T5JDM+qlxw9+QNrOTL+vY9jS8XgeloMudKcpdS3s89tPOpJSAgUuwXCt6OGl9UxhGa/dXulky5+5l8h4MZ9mcHaSUFJNluHGBYLcTqFUwfxPKshQpSaLJa85vk49TULIgZI0lVFbg7Ax2PM0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071478; c=relaxed/simple; bh=/XO+myhfZ6i4ovv5vDveiJ6wMPrRyxKCj9sPd36s1bs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QNtmxvp60VZ0IB+GS13Ei/26druAjw22ymnXXbelfZ+onvEi/BXn6C/Z4aNEY+33SP1N+cUGDIwfg7vpk74sDy1QRH7daqXAak22wORoaZj6vC0AptB2799hNoe8WlIWdw60Adbg8zMdZp5mcwQ9tE0DmZW4TtPDkkK/6m0ofR0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=D1tyqq7v; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="D1tyqq7v" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CeuvMcItduu09jxdrT1ov7aTrATj6QXoxlSqysC7Kb4=; b=D1tyqq7v7wZQSm29DlNTzDnJwOZe+0WDClhXJMZdriEQW0mUbv0oJdCKQ0w8E42axCBoMJ bSt55Ruc8HENEy+OLtbKoMe/24ZGSfAduUkFTLGP5O6kCoZBXS2WiWaSgrLduecVMyc5nf lW3l3Mo+r7igxOILleeXTW1YWzB0iJujHzQpNLyEFaZarrMg0B7Ksfq+3TtoL1BThnNuu2 ady7y5y11YvVhNLubUkzioOctgbhRKua+l9mtpFAS4bnVhQpBI3/8qE4FS4pA++OayuOU8 DJBunpp1MyB2TI7NI5oY21GZgfRstZVwB42x/Z1Ez+JKqxGtDQLwgKACIzbTuw== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:57 -0700 Subject: [PATCH v2 11/13] arm64: dts: qcom: sdm845-lg-common: Add bootloader-compatible board and MSM IDs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-11-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=1653; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=/XO+myhfZ6i4ovv5vDveiJ6wMPrRyxKCj9sPd36s1bs=; b=rskm/K2d3o5Rq7CdpVsZvZ5DJl9A60hsqhhLJBcxPt/Nrjg2EJyRd+m67AzU+nXoEx68gkFCI 7wEGeOv4FppBweV4Ny8zrVGHS2LV60v/jVHx45gs/3qZT7IRlkD/EnV X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT The original bootloader (fastboot) requires board and MSM IDs in order to boot the kernel, so these have been added. When re-using the same files to chainload U-Boot, these compatibles are also needed to ensure proper booting. Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 2 ++ arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 1baec758c7d881026bf6001a0a305687d7a14b40..a513cd931b3a984443183ee4e8d= f7b0e45732630 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -5,6 +5,7 @@ * Copyright (c) 2022, The Linux Foundation. All rights reserved. */ =20 +#include #include #include #include @@ -29,6 +30,7 @@ =20 / { chassis-type =3D "handset"; + qcom,msm-id =3D ; =20 aliases { serial0 =3D &uart9; diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boo= t/dts/qcom/sdm845-lg-judyln.dts index 8c1692f86e6ceea7b718361965e78f95d39373bb..beb1372dc6c17f5f06c2044412e= e1c8165858cd1 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts @@ -12,6 +12,7 @@ / { model =3D "LG G7 ThinQ"; compatible =3D "lg,judyln", "qcom,sdm845"; + qcom,board-id =3D <0x020C0008 0>; =20 chosen { framebuffer@9d400000 { --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-186.mta1.migadu.com (out-186.mta1.migadu.com [95.215.58.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D11492BE648; Wed, 17 Sep 2025 01:11:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.186 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071482; cv=none; b=WZmEJWPQD7fDamu0GtMANAhswpLDElUUBpmgw+IosFGlQAB8YkrVTbV5qg6fqvcvlIuX/m43kxwdqDTQsjlG2G1Bf3zH379hguE6nafEbtn6N+1kUByIg9aH4Z1nG7HNBNe33OP0zcUkmoAO3YqN4Hy4wgo9TxFW8w8/iEIxbTQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071482; c=relaxed/simple; bh=YHLZqINYGk1H0hz1fmUIwha3w4JbcoCTKRM8L5WzdUc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G/dz7lHSdKp3WcAdtBjfkGIYd0wp1GiQtzQMGDQtWrt1fywxalQEthNUDT3Luud2jLwmtTAbU2NfpWU/NKkeFYIH/gORqeUIAl1k5tM1tr2E3CDu0XFJBoReJfTsjBcMJsHfgunMFsSbVq44TKJdiTCPgm4XnjMeXZsv7QhLfq4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=m+ice5PW; arc=none smtp.client-ip=95.215.58.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="m+ice5PW" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UswufxGWEFrBrOYDPqROAB1alfGVOumzaZNgZawT5wI=; b=m+ice5PWlAhqB5gRatPuJ8bts1p377xtTkYVEVfb3uS1pckVow1FRHPE67tSnJTfvt0wJ6 j/P7EzVH7EQVdCgZ3yKmKsMnBnC6XBMIVDDc7XrYGAD5lzS4AJKq64Jcaysbss/D+awQhy 0nRrYYQh6lATvdUOsJGu2iN7YxJkTPqzOJioaBLw/1aOBmTabu8FpudUx8RIR8oltp5qUQ 6bcsbPTolYXV4NEgAVptMwyPw68ENEIC8AYPaKFiCBv46E6gElMPPixEfcSMucxb39JDM+ zOK9lv9ncddlcTXQqH5QICzJJ/i0/rmv4/3dYlTtA9jf3QvI6CBLmsFvJSmn3g== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:58 -0700 Subject: [PATCH v2 12/13] arm64: dts: qcom: sdm845-judyln-common: Remove framebuffer reserved-mem Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-12-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=811; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=YHLZqINYGk1H0hz1fmUIwha3w4JbcoCTKRM8L5WzdUc=; b=+XYEEK6aymO3iy4E2XkPdewGJoBhWR6c6hrtAbpPT09Zis82z3dOtC5xV8OoLmtQHlNGz+vJL q16xJqDat7MBftIUOdqOd2x5X4CQf+ocNYrpURick04vLvnP1mTdeRq X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT It causes a conflict with simple-framebuffer Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/bo= ot/dts/qcom/sdm845-lg-common.dtsi index a513cd931b3a984443183ee4e8df7b0e45732630..d8ff202a68da58a11392ffeb609= 390a677182715 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -100,12 +100,6 @@ spss_mem: memory@99000000 { no-map; }; =20 - /* Framebuffer region */ - memory@9d400000 { - reg =3D <0x0 0x9d400000 0x0 0x2400000>; - no-map; - }; - qseecom_mem: memory@b2000000 { reg =3D <0 0xb2000000 0 0x1800000>; no-map; --=20 2.51.0 From nobody Thu Oct 2 11:51:14 2025 Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B51B822B584 for ; Wed, 17 Sep 2025 01:11:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071486; cv=none; b=qgI12KfXhvMbgweSxm/qRvVGRuT7oo/2Jz8Q9W/t2220GWX1Ax60a1ROsGohDExfJiA0/n8ucLN9K5HfITxkaRgPck5CyjlxvEh9zeU7NNN7PHik23jQ0NfMB4a0JJpJpbQZJ/pdhZGkEvmu19KfGnuO6JBaVhVrc1nBAK+c3M8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758071486; c=relaxed/simple; bh=4A0pTY/r00iXG0eCKZOKSizZtOQKUJ6iVrZvAnx3Soo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DwYYSUZ1RJEZs6SUhw3aimpHPOeqsSgvFBZYUtMssmgGllNOmiDGnIT+mcIS32Qb+MW/vGwXapg2poaFu7b57Jwx3hBkI2NvhKXMn6dMevtCevCis+Y+LSQ3OG9DLOq9t7wyX1xqQ/UTmY3cS85kZXPsyXFWlSGhE7SYKh0uRjU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=aw2RRCax; arc=none smtp.client-ip=95.215.58.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="aw2RRCax" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1758071483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K5LsA6788TohTMhJyMFVGJXUVKzjVvS4nvp3+t+5CR4=; b=aw2RRCaxjd0tn7HYqhtEIG3Ptzo5SqzP5Y15s2g8p9Xnf5hG5XDCZMCsED1aEWUpB9fNtz MlCMWMmkEjkApP7a9KUynOJZ3MyWPruNnDAjdET/vz7Kw+N1l6LNYUMzmmmjhfoF3IVOjm lJCCO33lEZ06scwFVt3WrVSOt7kFcw73iPODKmHHFh7dbVYDkeYH553523paJq5+pEZD4y q65fR4Wr7iRXJ+/e9WY4sZmzaJS2JQwHRSbf8O4t3fKkK7XZiEWQBeBKKYSw3AaQZfRPBu PB0oDsCShWDqgS5n/e7NmiVrYCh6JEWDZuCbxgrVYw6rtzmroHfqV8mGKbqAHA== From: Paul Sajna Date: Tue, 16 Sep 2025 18:09:59 -0700 Subject: [PATCH v2 13/13] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250916-judyln-dts-v2-13-5e16e60263af@postmarketos.org> References: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> In-Reply-To: <20250916-judyln-dts-v2-0-5e16e60263af@postmarketos.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1758071415; l=1151; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=4A0pTY/r00iXG0eCKZOKSizZtOQKUJ6iVrZvAnx3Soo=; b=zmhOGULntOrTwQvWewxGiOMTDxAebMYCnVHxCWd19YUqDtBTfcJQxax28nZIMokbi8GhPUfAd 5wPrYZRGB/ICSX+dSlg7rf14j64eVnH/njEKC7ns1eyJ5QG0fF2ibG/ X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT `regulator-always-on;` in ibb improves display blanking issue Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boo= t/dts/qcom/sdm845-lg-judyln.dts index beb1372dc6c17f5f06c2044412ee1c8165858cd1..44ab98964ffe722144e01efc41e= 135dc7700fe95 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts @@ -69,10 +69,28 @@ zap-shader { }; }; =20 +&ibb { + regulator-min-microvolt =3D <4600000>; + regulator-max-microvolt =3D <6000000>; + regulator-over-current-protection; + regulator-pull-down; + regulator-soft-start; + regulator-always-on; + qcom,discharge-resistor-kohms =3D <300>; +}; + &ipa { firmware-name =3D "qcom/sdm845/LG/judyln/ipa_fws.mbn"; }; =20 +&lab { + regulator-min-microvolt =3D <4600000>; + regulator-max-microvolt =3D <6000000>; + regulator-over-current-protection; + regulator-pull-down; + regulator-soft-start; +}; + &mdss { status =3D "okay"; }; --=20 2.51.0