From nobody Thu Oct 2 18:34:36 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 A04102D3A98; Sat, 13 Sep 2025 23:57:55 +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=1757807877; cv=none; b=msbLal3chpCIH3fN8VObB552Yu7diE2wazjIed5YHIw8VJTbFQR3nlPt/eTEmkCGJCtoCXi9eHU03bJSFZGwFXepESFer9Q4B6i9lxIrLu4VkEjsp0PLN+a2WJjkgArgb/12txdMkRqU0YQwzGEkhYxaNUAB6591lQmJUZn1Dio= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757807877; c=relaxed/simple; bh=BbYvSPH0AlONATJmTolAqSy+0SP0XpK9hp2GJ/xoHic=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uGeANK/EiFqvIq1EzDFRyLsCtogyer0/W4/IsxntusHVFyXgETaO1imAXf39DLZ8I8Y+gpqCDrcmbAdZphTyP0wxjiOPfHUahdKepuQrzSXAGKr14Fepc2Ow/DoIYKBIbmpfxdA3Qy83bRZCv3BAmOTBTkH/3qsZKIWPfvx4e78= 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=Z1dvkwvY; 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="Z1dvkwvY" 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=1757807873; 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=qK+3BLcRPpf/yh+RsNuUAD0vtLv38tRJZ31nrO2Ikn0=; b=Z1dvkwvYkdCgbtSM/53dIquFKo5rkrq2QM0Wj91NaMDEpC/WKJA70a2w6M+P+8x0C754jU cfzDlxENX3xViT3mYh6kzDyFsYNZixmWinBKfDU0MIx1DLn7zmkHkKGilnME/uLEq8JLLR OX3P7yau0Y7bNVtUVtLtpM3XYRFkqCenBHU9FoanWQMsB2wcsu/KItryeVt2V8BLAIln+3 sb4mPth1vqCsYgsoqMVGW9517PC7kMGZ+jrd7kO9NsVxKJ+fmQSige6htY+9reqk6B7vB7 Id/rcJ8LkVmghPaY0LZYDOisAdSwKNvEodcQ+h0maTEeDoezUUhITDUvQvbG/g== From: Paul Sajna Date: Sat, 13 Sep 2025 16:56:44 -0700 Subject: [PATCH 11/11] arm64: dts: qcom: sdm845-lg-common: Sort and cleanup 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: <20250913-judyln-dts-v1-11-23b4b7790dce@postmarketos.org> References: <20250913-judyln-dts-v1-0-23b4b7790dce@postmarketos.org> In-Reply-To: <20250913-judyln-dts-v1-0-23b4b7790dce@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, Amir Dahan , Christopher Brown , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1757807839; l=7280; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=BbYvSPH0AlONATJmTolAqSy+0SP0XpK9hp2GJ/xoHic=; b=U1pvUYsHZhGswY0HS1HmLHxrCcf67FvIZN1fcNv8HQCPhk+kcOAJC32nUurh25x5cAX8Vo90S GLrxEdqEaLrC4PDMGq2mE7slA27610nGfRWIUcKE408liaMwlmrnegD X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT Fix style issues and sort alphabetically Signed-off-by: Paul Sajna --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 226 ++++++++++++---------= ---- 1 file changed, 113 insertions(+), 113 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 1f4427194fddea238c1b97afd8494d08b006a40a..cbdd0c537a591a4c5365b0cb3a8= 5d85e5c1269fa 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -45,8 +45,8 @@ reserved-memory { #size-cells =3D <2>; ranges; =20 - qseecom_mem: memory@b2000000 { - reg =3D <0 0xb2000000 0 0x1800000>; + ipa_fw_mem: memory@8c400000 { + reg =3D <0 0x8c400000 0 0x10000>; no-map; }; =20 @@ -55,11 +55,6 @@ gpu_mem: memory@8c415000 { no-map; }; =20 - ipa_fw_mem: memory@8c400000 { - reg =3D <0 0x8c400000 0 0x10000>; - no-map; - }; - adsp_mem: memory@8c500000 { reg =3D <0 0x8c500000 0 0x1e00000>; no-map; @@ -100,9 +95,8 @@ spss_mem: memory@99000000 { no-map; }; =20 - /* Framebuffer region */ - memory@9d400000 { - reg =3D <0x0 0x9d400000 0x0 0x2400000>; + qseecom_mem: memory@b2000000 { + reg =3D <0 0xb2000000 0 0x1800000>; no-map; }; =20 @@ -465,11 +459,11 @@ vreg_s3c_0p6: smps3 { }; }; =20 -&cdsp_pas { +&adsp_pas { status =3D "okay"; }; =20 -&gmu { +&cdsp_pas { status =3D "okay"; }; =20 @@ -481,6 +475,10 @@ &gcc { ; }; =20 +&gmu { + status =3D "okay"; +}; + &gpu { status =3D "okay"; =20 @@ -500,74 +498,88 @@ &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"; +}; =20 - cd-gpios =3D <&tlmm 126 GPIO_ACTIVE_LOW>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&sdc2_clk &sdc2_cmd &sdc2_data &sd_card_det_n>; +&pmi8998_flash { + status =3D "okay"; =20 - vmmc-supply =3D <&vreg_l21a_2p95>; - vqmmc-supply =3D <&vddpx_2>; + led-0 { + label =3D "flash"; + 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>; + }; }; =20 -/* - * UFS works partially and only with clk_ignore_unused. - * Sometimes it crashes with I/O errors. - */ -&ufs_mem_hc { +&pmi8998_wled { status =3D "okay"; - - reset-gpios =3D <&tlmm 150 GPIO_ACTIVE_LOW>; - - vcc-supply =3D <&vreg_l20a_2p95>; - vcc-max-microamp =3D <600000>; }; =20 -&ufs_mem_phy { +&pmi8998_lpg { status =3D "okay"; =20 - vdda-phy-supply =3D <&vdda_ufs1_core>; - vdda-pll-supply =3D <&vdda_ufs1_1p2>; + led@0 { + label =3D "blue"; + reg =3D <3>; + color =3D ; + default-state =3D "off"; + }; + + led@1 { + label =3D "green"; + reg =3D <4>; + color =3D ; + default-state =3D "off"; + }; + + led@2 { + label =3D "red"; + reg =3D <5>; + color =3D ; + default-state =3D "off"; + }; }; =20 -&usb_1 { - status =3D "okay"; +&qup_uart9_rx { + drive-strength =3D <2>; + bias-pull-up; }; =20 -&usb_1_dwc3 { - /* TODO: these devices have usb id pin */ - dr_mode =3D "peripheral"; +&qup_uart9_tx { + drive-strength =3D <2>; + bias-disable; }; =20 -&usb_1_hsphy { - status =3D "okay"; +&sdhc_2 { + cd-gpios =3D <&tlmm 126 GPIO_ACTIVE_LOW>; =20 - vdd-supply =3D <&vdda_usb1_ss_core>; - vdda-pll-supply =3D <&vdda_qusb_hs0_1p8>; - vdda-phy-dpdm-supply =3D <&vdda_qusb_hs0_3p1>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&sdc2_clk &sdc2_cmd &sdc2_data &sd_card_det_n>; =20 - qcom,imp-res-offset-value =3D <8>; - qcom,hstx-trim-value =3D ; - qcom,preemphasis-level =3D ; - qcom,preemphasis-width =3D ; -}; + vmmc-supply =3D <&vreg_l21a_2p95>; + vqmmc-supply =3D <&vddpx_2>; =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 */ - &tlmm { gpio-reserved-ranges =3D <28 4>, <81 4>; =20 @@ -604,91 +616,79 @@ 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 ; - }; +&qupv3_id_0 { + status =3D "okay"; }; =20 -&pmi8998_flash { +&qupv3_id_1 { status =3D "okay"; - - led-0 { - label =3D "flash"; - 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>; - }; }; =20 -&pmi8998_lpg { +&uart6 { + pinctrl-0 =3D <&qup_uart6_4pin>; + status =3D "okay"; =20 - led@0 { - label =3D "blue"; - reg =3D <3>; - color =3D ; - default-state =3D "off"; + 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>; }; +}; =20 - led@1 { - label =3D "green"; - reg =3D <4>; - color =3D ; - default-state =3D "off"; - }; +&uart9 { + label =3D "LS-UART1"; =20 - led@2 { - label =3D "red"; - reg =3D <5>; - color =3D ; - default-state =3D "off"; - }; + status =3D "okay"; }; =20 -&qupv3_id_0 { +/* + * 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"; }; =20 -&qupv3_id_1 { +&ufs_mem_phy { + vdda-phy-supply =3D <&vdda_ufs1_core>; + vdda-pll-supply =3D <&vdda_ufs1_1p2>; + status =3D "okay"; }; =20 -&qup_uart9_rx { - drive-strength =3D <2>; - bias-pull-up; +&usb_1 { + status =3D "okay"; }; =20 -&qup_uart9_tx { - drive-strength =3D <2>; - bias-disable; +&usb_1_dwc3 { + dr_mode =3D "peripheral"; + maximum-speed =3D "high-speed"; }; =20 -&uart6 { - pinctrl-0 =3D <&qup_uart6_4pin>; - - status =3D "okay"; +&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>; =20 - bluetooth { - compatible =3D "qcom,wcn3990-bt"; + qcom,imp-res-offset-value =3D <8>; + qcom,hstx-trim-value =3D ; + qcom,preemphasis-level =3D ; + qcom,preemphasis-width =3D ; =20 - 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>; - }; + status =3D "okay"; }; =20 -&uart9 { - label =3D "LS-UART1"; +&usb_1_qmpphy { + vdda-phy-supply =3D <&vdda_usb1_ss_1p2>; + vdda-pll-supply =3D <&vdda_usb1_ss_core>; =20 status =3D "okay"; }; --=20 2.51.0