From nobody Wed Apr 1 10:10:41 2026 Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (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 456D737F737 for ; Wed, 1 Apr 2026 03:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775013360; cv=none; b=m6aZjE/GYOmijF185sOY/MmmzVmaFvQp3rG4MGfjD4gdbF4Buitb3dglxIO27yK1TfkKOxwVLBDjatgvcfkAIphO9Jw073tleFveAligJKiOortmJmLmP4yWXvH8Ld41ra30HxZx5wXITevTIX0Fza+huEh+a/DDNBHtjzz4bcE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775013360; c=relaxed/simple; bh=sfr5sGWKLV+7cUgvRiDdpIW68jelrwa3IWn9b6yAFYg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MoaekjVzF8sXejyF1UtW+kRWbgEFLNaq6g6J55OZzM6j8D0S4l6Sey9ZirFpTe4x+3T+q9ve6L3q8wiyr70YBjy+eXSofs6+WyNM+1QWQXxR/RKLgkSi4Htk/aYkHcimJsOQGtT6JB46bLxMFz0Ve+nL1gP06YilFs6J0hdu40Q= 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=rNZ37vFi; arc=none smtp.client-ip=91.218.175.178 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="rNZ37vFi" 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=1775013354; 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=vS032EvzVpRtfXSTOpPqWmTUv6U6bvbz7aB2vYumwkc=; b=rNZ37vFiVJ7a52a8JvW1yYb1biVPo2psn3XbM4MHLjKnNOGarZ6PUomSTaYVtpElG3yny/ yiir48NXO3o569slUh7m/iv5+NwJLPtzbozBv3pHLkQ/EJsA+/fLmav52W+g12ghPvsC1T sztNbm5myVnEW+lCl4i9/q5VeP78aQEqwbJM6qJeriUcKGF5vw8IOI1NKgR1F0FmaM1PrK BKAFdp3nT9m12i+wRxSoHTX8w5uOrKs+YmSYOXDe0B3ANeRupMt1ERz5CSXAqfw9o08mrv v5vusvycj1lrsXWoASpH7cZZqtuFGSezAuOWW2hrj7UvYaqE2p6sBQrtXE9aWQ== From: Paul Sajna Date: Tue, 31 Mar 2026 20:15:06 -0700 Subject: [PATCH v7 01/15] 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: <20260331-judyln-dts-v7-1-87217b15fefb@postmarketos.org> References: <20260331-judyln-dts-v7-0-87217b15fefb@postmarketos.org> In-Reply-To: <20260331-judyln-dts-v7-0-87217b15fefb@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, ~postmarketos/upstreaming@lists.sr.ht, Amir Dahan , Christopher Brown , Paul Sajna , Konrad Dybcio , Dmitry Baryshkov X-Developer-Signature: v=1; a=ed25519-sha256; t=1775013347; l=4272; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=sfr5sGWKLV+7cUgvRiDdpIW68jelrwa3IWn9b6yAFYg=; b=r3QHidy0VWifypBap8f7UPyRoEJHS3ntq/kvsPXjjSCzmY95s330JxvBf/5Ce/mhMmpyg5P89 vu9zx2RMdAwDv3eDyzu/c6jO/7Tmz33fCord4cM2wRkO1ljUgvpnCE9 X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT Improve adherance to style guidelines below: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html Reviewed-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov Signed-off-by: Paul Sajna --- 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 0ee2f4b99fbd..93ed8f240461 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -38,11 +38,6 @@ reserved-memory { #size-cells =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_mem: rmtfs-region@f0800000 { compatible =3D "qcom,rmtfs-mem"; reg =3D <0 0xf0800000 0 0x202000>; @@ -467,14 +467,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"; @@ -482,55 +490,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 */ @@ -571,12 +532,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.53.0