From nobody Fri Oct 2 12:22:35 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 6C84F453A3A; Fri, 31 Jul 2026 17:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785520800; cv=none; b=bI/29OW18i2Qh71hgdGmA0RtpqZlOiwQw/tpLlR5KmdZFl/Pp2RHv/3Ih/ZnoxoLiHyLznkRa18io098WrffqSq6BJDrx3Pc4ZO0s96SVfzEeV7Fu+3obf4rFOGqlVN19zeSDZTAWldM68A5Cz4KQ4GT+9pLimMGeapmbtRSf1k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785520800; c=relaxed/simple; bh=E4b4C0Q4DM9XoBABIs1JvRht4R4Ch1l48q0S6hTd+0c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BfXswixYmFHxl50E3lPi9iWJmKQmf/l6dS/jHkuwTIBgiTIAKfwBdJ5cloCMdzoV+crtwOS9Bfh8NrKHiHcyjMz5SF7IWfAmHGiwXKGh36Iz2UMrSLLQTd7QPq7lm4K2QQ9PcSLcUGpdClvRpzPN4qrUkrGSah7EIOMi+8VmtAo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FvuCkXGW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FvuCkXGW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDA5F1F00ACA; Fri, 31 Jul 2026 17:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785520799; bh=KBmjqxroOngg6xzRzOESA93TgFI4YQ2mi9Xun2Eig0U=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=FvuCkXGWp+e4U+VoZqiIpHZMvl2h6GGSw5sXFR8pvy+Yp+Kh9tomvy23ihc0NgcpJ lA5iPFHFnHcFcZXxIWTpE/9THKDQbRdKMu1SYYlLWeegOFej19HRhmQMc+kUU3hnGL gDeHjZHOFl6k3GIAveoZb4tM3rM0nlBDvMupLa0eAhiDxaCrQ2eKT4jv9qZrieFSpY Me9BJCK+qDTNqF+hHgBp3VGnnj+W02Nb5Bfrd7+lSysgIQGWlsI9wpR3WnOJcYeZ3v cfRIqmA82SFDTGdVePPhKMaxH5NzqS8GDI27gWfUrrMZ59AtYslwBCNzTkzLAJNX6T n+TK8FAW4amfQ== From: Konrad Dybcio Date: Fri, 31 Jul 2026 19:59:44 +0200 Subject: [PATCH v2 1/3] dt-bindings: arm: qcom: Add Lenovo Yoga Slim 7x Gen11 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: <20260731-topic-yoga_submission-v2-1-f1887031da4f@oss.qualcomm.com> References: <20260731-topic-yoga_submission-v2-0-f1887031da4f@oss.qualcomm.com> In-Reply-To: <20260731-topic-yoga_submission-v2-0-f1887031da4f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1785520792; l=1052; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=aNkMK2KPxuP57VzOi9P/WLFeEzrA2MpWPSJTejQkKwY=; b=PPiK4iGk9KfUMyzG+qpBjix33uBUWSPG03srdibJ2sGz+yS0lEnSbn+27rNxvnGN/zQfMskJT 2rHW5cZTdmOBVCtkTXvz9zY6/n5H0Q13rFUYfoiZ/7H7o7enlNMDyGp X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio The Yoga Slim 7x Gen11 is a Snapdragon X2 Elite-based 14" laptop from Lenovo, featuring an OLED touch panel. Add a compatible for it. According to the spec page [1], there also exist other variations (based on the Mahua SoC and/or with a different type of display panel), but those are to be described separately [1] https://psref.lenovo.com/Product/Yoga_Slim_7_14Q8Y11?tab=3Dspec Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski Tested-by: Oleg Keri --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index 0204f80a9501..8d016ca7edeb 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -87,6 +87,7 @@ properties: - items: - enum: - asus,zenbook-a16-ux3607oa + - lenovo,yoga-slim7x-gen11 - qcom,glymur-crd - const: qcom,glymur =20 --=20 2.55.0 From nobody Fri Oct 2 12:22:35 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E11F234D384; Fri, 31 Jul 2026 18:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785520805; cv=none; b=SJf6UZUdsxj/bY47SboEi89AoZohBvJRsqQC9ZaXwEdmjjPc77+wnemsH0ldPFbJgssfO+Uy+NiBvztYictE8gGF9/p/zJkNL3R96a+Uu3hfoRuSEWJk84JY/59pd9EXB9B6V4bhrjc55zSNUFUghZ1Q14aiKDa1lJqsRmnidwk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785520805; c=relaxed/simple; bh=3zTIq/3Lvfl/IxHZoibLcPXikk6jXHfYUC/EcNHPb1Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=q2TTLWGAut9aYPe/VRlx7q24QdKE/U/2kPgQ5i+laFxP6jkaYUNaV/J/klFmm5YTB/ysmRXlXmy/jli9UN3HX6o6nE0VBnx0bibHEP1LlGOxJR98uyJy88EMwqeeDNq2r1jfmhiaHK45velQW+9keC7GrH5BlE5I4EWG1syE5r0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AJzf99t3; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AJzf99t3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B8E31F00AC4; Fri, 31 Jul 2026 17:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785520803; bh=rAHkwkqVZlho92wAxi41jCS4E+ZzvIdF2ilmz/y7DjE=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=AJzf99t3K9inGqObKfHF/AvYnA+udFIUR0TbarY9AZPHkcuORP+QbrZvCxpbXBxAu g+hIkFHOvbvGjPg/hMwoX9XazA9y7cfbGH4AwuVhCFiZauzb+MtZzssJZn0QzSRBQn dV3UlXVBlaoiqkbHstVBfs9VKJrCK+AXJP/45Z3HAT0S7lEklh3k50eobIqfeWuTRt fes13GT4DAsl0zh4RklOJ5be1zOOiXWMFNt1sMAO67uTasFRYuQ7S2hkfnoqsV5yA5 4SfiN7rxIq1OtI3my5ahvF4fGuOQ3esankbsIPRXojLsmNlDBCwTiB9BdPrw1Nxec6 jjgCWPFjCWW/A== From: Konrad Dybcio Date: Fri, 31 Jul 2026 19:59:45 +0200 Subject: [PATCH v2 2/3] arm64: dts: qcom: Add Glymur-based Lenovo Yoga Slim 7x Gen11 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: <20260731-topic-yoga_submission-v2-2-f1887031da4f@oss.qualcomm.com> References: <20260731-topic-yoga_submission-v2-0-f1887031da4f@oss.qualcomm.com> In-Reply-To: <20260731-topic-yoga_submission-v2-0-f1887031da4f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Srinivas Kandagatla , Abel Vesa X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1785520792; l=28828; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=vSXZSUsROhZ8fn2/D4x2rhQS8J46VwLS5UvDDl2Eyq8=; b=mY9zsxsUYtXaqfsse/cvi7wzK93rFY5+PigunpIJZFYtWyZ3A6sI41Le1nDRUg6uOf2118wuS VSQZMjthuw9AfAYloq7Miy76VdQ4vxekLgJM6t9tydnhcISfK9i8Qfa X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Introduce a device tree for the Glymur-based Lenovo Yoga Slim 7x Gen11 laptop. It's fairly similar to the reference design, although there are a couple of major differences, including a different EC. Currently working: - Audio playback and capture - GPU, Display - Keyboard, touchpad, touchscreen, lid switch - Privacy LED - Charging, Type-C - Wi-Fi, Bluetooth - Modem should work on the SKUs that have it, but it remains untested due to lack of access to such a device Co-developed-by: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla Co-developed-by: Abel Vesa Signed-off-by: Abel Vesa Signed-off-by: Konrad Dybcio Tested-by: Oleg Keri --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/glymur-lenovo-yoga-slim7x.dts | 1208 ++++++++++++++++= ++++ 2 files changed, 1209 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index e05414290d8e..b29793f4ee5d 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -17,6 +17,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D apq8096-ifc6640.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D eliza-cqs-evk.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D eliza-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D glymur-crd.dtb +dtb-$(CONFIG_ARCH_QCOM) +=3D glymur-lenovo-yoga-slim7x.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-iot-evk.dtb =20 hamoa-iot-evk-el2-dtbs :=3D hamoa-iot-evk.dtb x1-el2.dtbo diff --git a/arch/arm64/boot/dts/qcom/glymur-lenovo-yoga-slim7x.dts b/arch/= arm64/boot/dts/qcom/glymur-lenovo-yoga-slim7x.dts new file mode 100644 index 000000000000..ecc8c34fb983 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/glymur-lenovo-yoga-slim7x.dts @@ -0,0 +1,1208 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ +/dts-v1/; + +#include "glymur.dtsi" + +#include "pmcx0102.dtsi" /* SPMI0: SID-2/3 SPMI1: SID-2/3 */ +#include "pmh0101.dtsi" /* SPMI0: SID-1 */ +#include "pmh0110-glymur.dtsi" /* SPMI0: SID-5/7 SPMI1: SID-5 */ +#include "pmh0104-glymur.dtsi" /* SPMI0: SID-8/9 SPMI1: SID-11 */ +#include "pmk8850.dtsi" /* SPMI0: SID-0 */ +#include "smb2370.dtsi" /* SPMI2: SID-9/10/11 */ + +#include +#include +#include + +/ { + model =3D "Lenovo Yoga Slim 7x Gen 11"; + compatible =3D "lenovo,yoga-slim7x-gen11", "qcom,glymur"; + + aliases { + serial0 =3D &uart21; + serial1 =3D &uart14; + i2c0 =3D &i2c0; + i2c5 =3D &i2c5; + i2c8 =3D &i2c8; + i2c9 =3D &i2c9; + }; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + clocks { + xo_board: xo-board { + compatible =3D "fixed-clock"; + clock-frequency =3D <38400000>; + #clock-cells =3D <0>; + }; + + sleep_clk: sleep-clk { + compatible =3D "fixed-clock"; + clock-frequency =3D <32000>; + #clock-cells =3D <0>; + }; + }; + + gpio-keys { + compatible =3D "gpio-keys"; + + pinctrl-0 =3D <&hall_int_n_default>; + pinctrl-names =3D "default"; + + switch-lid { + label =3D "lid"; + gpios =3D <&tlmm 92 GPIO_ACTIVE_LOW>; + linux,input-type =3D ; + linux,code =3D ; + wakeup-source; + wakeup-event-action =3D ; + }; + }; + + leds { + compatible =3D "gpio-leds"; + + pinctrl-0 =3D <&cam_indicator_en>; + pinctrl-names =3D "default"; + + privacy_led: privacy-led { + function =3D LED_FUNCTION_INDICATOR; + color =3D ; + gpios =3D <&tlmm 111 GPIO_ACTIVE_HIGH>; + default-state =3D "off"; + panic-indicator; + }; + }; + + pmic-glink { + compatible =3D "qcom,glymur-pmic-glink", + "qcom,pmic-glink"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + /* Left side display-adjacent port */ + connector@0 { + compatible =3D "usb-c-connector"; + reg =3D <0>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_hs_in: endpoint { + remote-endpoint =3D <&usb_0_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss_in: endpoint { + remote-endpoint =3D <&usb_0_qmpphy_out>; + }; + }; + }; + }; + + /* Left side user-adjacent port */ + connector@1 { + compatible =3D "usb-c-connector"; + reg =3D <1>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_hs_in1: endpoint { + remote-endpoint =3D <&usb_1_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss_in1: endpoint { + remote-endpoint =3D <&usb_1_qmpphy_out>; + }; + }; + }; + }; + + /* Right side port */ + connector@2 { + compatible =3D "usb-c-connector"; + reg =3D <2>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_hs_in2: endpoint { + remote-endpoint =3D <&usb_2_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss_in2: endpoint { + remote-endpoint =3D <&usb_2_qmpphy_out>; + }; + }; + }; + }; + }; + + vreg_edp_3p3: regulator-edp-3p3 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_EDP_3P3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&tlmm 70 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&edp_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_misc_3p3: regulator-misc-3p3 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_MISC_3P3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&pmh0110_f_e0_gpios 6 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&misc_3p3_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_nvme: regulator-nvme { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_NVME_3P3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&pmh0101_gpios 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&nvme_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_wcn_0p95: regulator-wcn-0p95 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_WCN_0P95"; + regulator-min-microvolt =3D <950000>; + regulator-max-microvolt =3D <950000>; + + vin-supply =3D <&vreg_wcn_3p3>; + }; + + vreg_wcn_3p3: regulator-wcn-3p3 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_WCN_3P3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&tlmm 94 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&wcn_sw_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_wwan: regulator-wwan { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_WWAN_3P3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&tlmm 246 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&wwan_reg_en>; + pinctrl-names =3D "default"; + }; + + sound { + compatible =3D "qcom,glymur-sndcard"; + model =3D "GLYMUR-LENOVO-Yoga-Slim7x"; + audio-routing =3D "WooferLeft IN", "WSA WSA_SPK1 OUT", + "TweeterLeft IN", "WSA WSA_SPK2 OUT", + "WooferRight IN", "WSA2 WSA_SPK1 OUT", + "TweeterRight IN", "WSA2 WSA_SPK2 OUT", + "VA DMIC0", "vdd-micb", + "VA DMIC1", "vdd-micb", + "VA DMIC2", "vdd-micb", + "VA DMIC3", "vdd-micb"; + + va-dai-link { + link-name =3D "VA Capture"; + + codec { + sound-dai =3D <&lpass_vamacro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wsa-dai-link { + link-name =3D "WSA Playback"; + + codec { + sound-dai =3D <&left_woofer>, <&left_tweeter>, + <&swr0 0>, <&lpass_wsamacro 0>, + <&right_woofer>, <&right_tweeter>, + <&swr3 0>, <&lpass_wsa2macro 0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai WSA_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + }; + + wcn7850-pmu { + compatible =3D "qcom,wcn7850-pmu"; + + vdd-supply =3D <&vreg_wcn_0p95>; + vddio-supply =3D <&vreg_l15b_e0>; + vddaon-supply =3D <&vreg_l15b_e0>; + vdddig-supply =3D <&vreg_l15b_e0>; + vddrfa1p2-supply =3D <&vreg_l15b_e0>; + vddrfa1p8-supply =3D <&vreg_l15b_e0>; + + wlan-enable-gpios =3D <&tlmm 117 GPIO_ACTIVE_HIGH>; + bt-enable-gpios =3D <&tlmm 116 GPIO_ACTIVE_HIGH>; + + pinctrl-0 =3D <&wcn_wlan_bt_en>; + pinctrl-names =3D "default"; + + regulators { + vreg_pmu_rfa_cmn: ldo0 { + regulator-name =3D "vreg_pmu_rfa_cmn"; + }; + + vreg_pmu_aon_0p59: ldo1 { + regulator-name =3D "vreg_pmu_aon_0p59"; + }; + + vreg_pmu_wlcx_0p8: ldo2 { + regulator-name =3D "vreg_pmu_wlcx_0p8"; + }; + + vreg_pmu_wlmx_0p85: ldo3 { + regulator-name =3D "vreg_pmu_wlmx_0p85"; + }; + + vreg_pmu_btcmx_0p85: ldo4 { + regulator-name =3D "vreg_pmu_btcmx_0p85"; + }; + + vreg_pmu_rfa_0p8: ldo5 { + regulator-name =3D "vreg_pmu_rfa_0p8"; + }; + + vreg_pmu_rfa_1p2: ldo6 { + regulator-name =3D "vreg_pmu_rfa_1p2"; + }; + + vreg_pmu_rfa_1p8: ldo7 { + regulator-name =3D "vreg_pmu_rfa_1p8"; + }; + + vreg_pmu_pcie_0p9: ldo8 { + regulator-name =3D "vreg_pmu_pcie_0p9"; + }; + + vreg_pmu_pcie_1p8: ldo9 { + regulator-name =3D "vreg_pmu_pcie_1p8"; + }; + }; + }; +}; + +&apps_rsc { + regulators-0 { + compatible =3D "qcom,pmh0101-rpmh-regulators"; + qcom,pmic-id =3D "B_E0"; + + vreg_l1b_e0: ldo1 { + regulator-name =3D "vreg_l1b_e0"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + }; + + vreg_l7b_e0: ldo7 { + regulator-name =3D "vreg_l7b_e0"; + regulator-min-microvolt =3D <3072000>; + regulator-max-microvolt =3D <3072000>; + regulator-initial-mode =3D ; + }; + + vreg_l8b_e0: ldo8 { + regulator-name =3D "vreg_l8b_e0"; + regulator-min-microvolt =3D <3304000>; + regulator-max-microvolt =3D <3304000>; + regulator-initial-mode =3D ; + }; + + vreg_l9b_e0: ldo9 { + regulator-name =3D "vreg_l9b_e0"; + regulator-min-microvolt =3D <2960000>; + regulator-max-microvolt =3D <2960000>; + regulator-initial-mode =3D ; + }; + + vreg_l10b_e0: ldo10 { + regulator-name =3D "vreg_l10b_e0"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + }; + + vreg_l11b_e0: ldo11 { + regulator-name =3D "vreg_l11b_e0"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + + vreg_l12b_e0: ldo12 { + regulator-name =3D "vreg_l12b_e0"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + + vreg_l15b_e0: ldo15 { + regulator-name =3D "vreg_l15b_e0"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + }; + + vreg_l17b_e0: ldo17 { + regulator-name =3D "vreg_l17b_e0"; + regulator-min-microvolt =3D <2504000>; + regulator-max-microvolt =3D <2504000>; + regulator-initial-mode =3D ; + }; + + vreg_l18b_e0: ldo18 { + regulator-name =3D "vreg_l18b_e0"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-1 { + compatible =3D "qcom,pmcx0102-rpmh-regulators"; + qcom,pmic-id =3D "C_E1"; + + vreg_l1c_e1: ldo1 { + regulator-name =3D "vreg_l1c_e1"; + regulator-min-microvolt =3D <912000>; + regulator-max-microvolt =3D <912000>; + regulator-initial-mode =3D ; + }; + + vreg_l2c_e1: ldo2 { + regulator-name =3D "vreg_l2c_e1"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + + vreg_l3c_e1: ldo3 { + regulator-name =3D "vreg_l3c_e1"; + regulator-min-microvolt =3D <936000>; + regulator-max-microvolt =3D <936000>; + regulator-initial-mode =3D ; + }; + + vreg_l4c_e1: ldo4 { + regulator-name =3D "vreg_l4c_e1"; + regulator-min-microvolt =3D <912000>; + regulator-max-microvolt =3D <912000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-2 { + compatible =3D "qcom,pmh0110-rpmh-regulators"; + qcom,pmic-id =3D "F_E0"; + + vreg_s7f_e0: smps7 { + regulator-name =3D "vreg_s7f_e0"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + + vreg_s8f_e0: smps8 { + regulator-name =3D "vreg_s8f_e0"; + regulator-min-microvolt =3D <952000>; + regulator-max-microvolt =3D <952000>; + regulator-initial-mode =3D ; + }; + + vreg_l2f_e0: ldo2 { + regulator-name =3D "vreg_l2f_e0"; + regulator-min-microvolt =3D <936000>; + regulator-max-microvolt =3D <936000>; + regulator-initial-mode =3D ; + }; + + vreg_l3f_e0: ldo3 { + regulator-name =3D "vreg_l3f_e0"; + regulator-min-microvolt =3D <912000>; + regulator-max-microvolt =3D <912000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-3 { + compatible =3D "qcom,pmh0110-rpmh-regulators"; + qcom,pmic-id =3D "F_E1"; + + vreg_l1f_e1: ldo1 { + regulator-name =3D "vreg_l1f_e1"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <904000>; + regulator-initial-mode =3D ; + }; + + vreg_l2f_e1: ldo2 { + regulator-name =3D "vreg_l2f_e1"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <880000>; + regulator-initial-mode =3D ; + }; + + vreg_l4f_e1: ldo4 { + regulator-name =3D "vreg_l4f_e1"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-4 { + compatible =3D "qcom,pmh0110-rpmh-regulators"; + qcom,pmic-id =3D "H_E0"; + + vreg_l1h_e0: ldo1 { + regulator-name =3D "vreg_l1h_e0"; + regulator-min-microvolt =3D <936000>; + regulator-max-microvolt =3D <936000>; + regulator-initial-mode =3D ; + }; + + vreg_l2h_e0: ldo2 { + regulator-name =3D "vreg_l2h_e0"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <880000>; + regulator-initial-mode =3D ; + }; + + vreg_l3h_e0: ldo3 { + regulator-name =3D "vreg_l3h_e0"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + }; + + vreg_l4h_e0: ldo4 { + regulator-name =3D "vreg_l4h_e0"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + }; +}; + +&gpu { + status =3D "okay"; +}; + +&gmu { + status =3D "okay"; +}; + +&i2c0 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + touchpad@2c { + compatible =3D "hid-over-i2c"; + reg =3D <0x2c>; + + hid-descr-addr =3D <0x20>; + interrupts-extended =3D <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; + + vdd-supply =3D <&vreg_misc_3p3>; + vddl-supply =3D <&vreg_l15b_e0>; + + pinctrl-0 =3D <&tpad_default>; + pinctrl-names =3D "default"; + + wakeup-source; + }; + + keyboard@3a { + compatible =3D "hid-over-i2c"; + reg =3D <0x3a>; + + hid-descr-addr =3D <0x1>; + interrupts-extended =3D <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; + + vdd-supply =3D <&vreg_misc_3p3>; + vddl-supply =3D <&vreg_l15b_e0>; + + pinctrl-0 =3D <&kybd_default>; + pinctrl-names =3D "default"; + + wakeup-source; + }; + + /* Something @ 0x5b */ +}; + +&i2c5 { + clock-frequency =3D <400000>; + + status =3D "okay"; +}; + +&i2c8 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + touchscreen@14 { + compatible =3D "hid-over-i2c"; + reg =3D <0x14>; + + hid-descr-addr =3D <0x1>; + interrupts-extended =3D <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; + + post-power-on-delay-ms =3D <200>; + + vdd-supply =3D <&vreg_misc_3p3>; + vddl-supply =3D <&vreg_l15b_e0>; + + pinctrl-0 =3D <&ts0_default>; + pinctrl-names =3D "default"; + }; +}; + +&i2c9 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + /* EC @ 0x70, irq =3D TLMM 66 */ +}; + +&lpass_vamacro { + pinctrl-0 =3D <&dmic01_default>, <&dmic23_default>; + pinctrl-names =3D "default"; + qcom,dmic-sample-rate =3D <4800000>; +}; + +&mdss { + status =3D "okay"; +}; + +&mdss_dp0 { + status =3D "okay"; +}; + +&mdss_dp0_out { + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; +}; + +&mdss_dp1 { + status =3D "okay"; +}; + +&mdss_dp1_out { + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; +}; + +&mdss_dp2 { + status =3D "okay"; +}; + +&mdss_dp2_out { + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; +}; + +&mdss_dp3 { + /delete-property/ #sound-dai-cells; + + status =3D "okay"; + + aux-bus { + panel { + compatible =3D "samsung,atna40hq08", "samsung,atna33xc20"; + enable-gpios =3D <&tlmm 18 GPIO_ACTIVE_HIGH>; + power-supply =3D <&vreg_edp_3p3>; + + pinctrl-0 =3D <&edp_bl_en>; + pinctrl-names =3D "default"; + + port { + edp_panel_in: endpoint { + remote-endpoint =3D <&mdss_dp3_out>; + }; + }; + }; + }; +}; + +&mdss_dp3_out { + data-lanes =3D <0 1 2 3>; + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; + + remote-endpoint =3D <&edp_panel_in>; +}; + +&mdss_dp3_phy { + vdda-phy-supply =3D <&vreg_l2f_e1>; + vdda-pll-supply =3D <&vreg_l4f_e1>; + + status =3D "okay"; +}; + +&pcie4 { + pinctrl-0 =3D <&pcie4_default>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pcie4_phy { + vdda-phy-supply =3D <&vreg_l1c_e1>; + vdda-pll-supply =3D <&vreg_l4f_e1>; + + status =3D "okay"; +}; + +&pcie4_port0 { + reset-gpios =3D <&tlmm 146 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 148 GPIO_ACTIVE_LOW>; + + wifi@0 { + compatible =3D "pci17cb,1107"; + reg =3D <0x10000 0x0 0x0 0x0 0x0>; + + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p8>; + vddpcie0p9-supply =3D <&vreg_pmu_pcie_0p9>; + vddpcie1p8-supply =3D <&vreg_pmu_pcie_1p8>; + }; +}; + +&pcie5 { + vddpe-3v3-supply =3D <&vreg_nvme>; + + pinctrl-0 =3D <&pcie5_default>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pcie5_phy { + vdda-phy-supply =3D <&vreg_l2f_e0>; + vdda-pll-supply =3D <&vreg_l4h_e0>; + + status =3D "okay"; +}; + +&pcie5_port0 { + reset-gpios =3D <&tlmm 152 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 154 GPIO_ACTIVE_LOW>; +}; + +&pcie6 { + vddpe-3v3-supply =3D <&vreg_wwan>; + + pinctrl-0 =3D <&pcie6_default>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pcie6_phy { + vdda-phy-supply =3D <&vreg_l1c_e1>; + vdda-pll-supply =3D <&vreg_l4f_e1>; + + status =3D "okay"; +}; + +&pcie6_port0 { + reset-gpios =3D <&tlmm 149 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 151 GPIO_ACTIVE_LOW>; +}; + +&pmh0101_gpios { + nvme_reg_en: nvme-reg-en-state { + pins =3D "gpio14"; + function =3D "normal"; + bias-disable; + }; +}; + +&pmh0110_f_e0_gpios { + misc_3p3_reg_en: misc-3p3-reg-en-state { + pins =3D "gpio6"; + function =3D "normal"; + bias-disable; + input-disable; + output-enable; + drive-push-pull; + power-source =3D <1>; /* 1.8 V */ + qcom,drive-strength =3D ; + }; +}; + +&pmh0110_f_e1_gpios { + nvme_sec_reg_en: nvme-reg-en-state { + pins =3D "gpio14"; + function =3D "normal"; + bias-disable; + }; +}; + +&pmk8850_rtc { + qcom,no-alarm; +}; + +&remoteproc_adsp { + firmware-name =3D "qcom/glymur/LENOVO/83QR/qcadsp8480.mbn", + "qcom/glymur/LENOVO/83QR/adsp_dtbs.elf"; + + status =3D "okay"; +}; + +&remoteproc_cdsp { + firmware-name =3D "qcom/glymur/LENOVO/83QR/qccdsp8480.mbn", + "qcom/glymur/LENOVO/83QR/cdsp_dtbs.elf"; + + status =3D "okay"; +}; + +&remoteproc_soccp { + status =3D "okay"; +}; + +&smb2370_j_e2_eusb2_repeater { + vdd18-supply =3D <&vreg_l15b_e0>; + vdd3-supply =3D <&vreg_l7b_e0>; +}; + +&smb2370_k_e2_eusb2_repeater { + vdd18-supply =3D <&vreg_l15b_e0>; + vdd3-supply =3D <&vreg_l7b_e0>; +}; + +&smb2370_l_e2_eusb2_repeater { + vdd18-supply =3D <&vreg_l15b_e0>; + vdd3-supply =3D <&vreg_l7b_e0>; + + status =3D "okay"; +}; + +&swr0 { + status =3D "okay"; + + /* WSA8845, Left Woofer */ + left_woofer: speaker@0,0 { + compatible =3D "sdw20217020400"; + reg =3D <0 0>; + reset-gpios =3D <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "WooferLeft"; + vdd-1p8-supply =3D <&vreg_l15b_e0>; + vdd-io-supply =3D <&vreg_l18b_e0>; + qcom,port-mapping =3D <1 2 3 7 12 14>; + }; + + /* WSA8845, Left Tweeter */ + left_tweeter: speaker@0,1 { + compatible =3D "sdw20217020400"; + reg =3D <0 1>; + reset-gpios =3D <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "TweeterLeft"; + vdd-1p8-supply =3D <&vreg_l15b_e0>; + vdd-io-supply =3D <&vreg_l18b_e0>; + qcom,port-mapping =3D <4 5 6 7 13 15>; + }; +}; + +&swr3 { + status =3D "okay"; + + /* WSA8845, Right Woofer */ + right_woofer: speaker@0,0 { + compatible =3D "sdw20217020400"; + reg =3D <0 0>; + reset-gpios =3D <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "WooferRight"; + vdd-1p8-supply =3D <&vreg_l15b_e0>; + vdd-io-supply =3D <&vreg_l18b_e0>; + qcom,port-mapping =3D <1 2 3 7 12 14>; + }; + + /* WSA8845, Right Tweeter */ + right_tweeter: speaker@0,1 { + compatible =3D "sdw20217020400"; + reg =3D <0 1>; + reset-gpios =3D <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "TweeterRight"; + vdd-1p8-supply =3D <&vreg_l15b_e0>; + vdd-io-supply =3D <&vreg_l18b_e0>; + qcom,port-mapping =3D <4 5 6 7 13 15>; + }; +}; + +&tcsr { + vdda-qrefrpt0-0p9-supply =3D <&vreg_l2f_e1>; + vdda-qrefrpt1-0p9-supply =3D <&vreg_l2f_e1>; + vdda-qrefrpt2-0p9-supply =3D <&vreg_l2f_e1>; + vdda-qrefrpt3-0p9-supply =3D <&vreg_l2h_e0>; + vdda-qrefrpt4-0p9-supply =3D <&vreg_l2h_e0>; + vdda-qrefrx0-0p9-supply =3D <&vreg_l2f_e1>; + vdda-qrefrx1-0p9-supply =3D <&vreg_l2f_e1>; + vdda-qrefrx2-0p9-supply =3D <&vreg_l2f_e1>; + vdda-qrefrx4-0p9-supply =3D <&vreg_l2h_e0>; + vdda-qrefrx5-0p9-supply =3D <&vreg_l3f_e0>; + vdda-qreftx0-0p9-supply =3D <&vreg_l3f_e0>; + vdda-qreftx0-1p2-supply =3D <&vreg_l4h_e0>; + vdda-qreftx1-0p9-supply =3D <&vreg_l1f_e1>; + vdda-refgen3-0p9-supply =3D <&vreg_l2f_e0>; + vdda-refgen3-1p2-supply =3D <&vreg_l4h_e0>; + vdda-refgen4-0p9-supply =3D <&vreg_l1f_e1>; + vdda-refgen4-1p2-supply =3D <&vreg_l4f_e1>; +}; + +&tlmm { + gpio-reserved-ranges =3D <4 4>, /* EC TZ Secure I3C */ + <10 2>, /* OOB UART */ + <44 4>, /* Security SPI (TPM) */ + <65 1>; /* EC reset (need to unplug the battery if asserted) */ + + tpad_default: tpad-default-state { + pins =3D "gpio3"; + function =3D "gpio"; + bias-disable; + }; + + edp_bl_en: edp-bl-en-state { + pins =3D "gpio18"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; + + ts0_default: ts0-default-state { + int-n-pins { + pins =3D "gpio51"; + function =3D "gpio"; + bias-disable; + }; + + reset-n-pins { + pins =3D "gpio48"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; + }; + + ec_int_n_default: ec-int-n-state { + pins =3D "gpio66"; + function =3D "gpio"; + bias-disable; + }; + + kybd_default: kybd-default-state { + pins =3D "gpio67"; + function =3D "gpio"; + bias-disable; + }; + + edp_reg_en: edp-reg-en-state { + pins =3D "gpio70"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; + + hall_int_n_default: hall-int-n-state { + pins =3D "gpio92"; + function =3D "gpio"; + bias-disable; + }; + + wcn_sw_en: wcn-sw-en-state { + pins =3D "gpio94"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + cam_indicator_en: cam-indicator-en-state { + pins =3D "gpio111"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + wcn_wlan_bt_en: wcn-wlan-bt-en-state { + pins =3D "gpio116", "gpio117"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + pcie4_default: pcie4-default-state { + clkreq-n-pins { + pins =3D "gpio147"; + function =3D "pcie4_clk_req_n"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-n-pins { + pins =3D "gpio146"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + wake-n-pins { + pins =3D "gpio148"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + pcie5_default: pcie5-default-state { + clkreq-n-pins { + pins =3D "gpio153"; + function =3D "pcie5_clk_req_n"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-n-pins { + pins =3D "gpio152"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + wake-n-pins { + pins =3D "gpio154"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + pcie6_default: pcie6-default-state { + clkreq-n-pins { + pins =3D "gpio150"; + function =3D "pcie6_clk_req_n"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-n-pins { + pins =3D "gpio149"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + wake-n-pins { + pins =3D "gpio151"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + wwan_reg_en: wwan-reg-en-state { + pins =3D "gpio246"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; +}; + +&uart14 { + status =3D "okay"; + + bluetooth { + compatible =3D "qcom,wcn7850-bt"; + max-speed =3D <3200000>; + + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p8>; + }; +}; + +&usb_0 { + status =3D "okay"; +}; + +&usb_0_dwc3_hs { + remote-endpoint =3D <&pmic_glink_hs_in>; +}; + +&usb_0_hsphy { + vdd-supply =3D <&vreg_l3f_e0>; + vdda12-supply =3D <&vreg_l4h_e0>; + + phys =3D <&smb2370_j_e2_eusb2_repeater>; + + status =3D "okay"; +}; + +&usb_0_qmpphy { + vdda-phy-supply =3D <&vreg_l4h_e0>; + vdda-pll-supply =3D <&vreg_l3f_e0>; + refgen-supply =3D <&vreg_l2f_e0>; + + status =3D "okay"; +}; + +&usb_0_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss_in>; +}; + +&usb_1 { + status =3D "okay"; +}; + +&usb_1_dwc3_hs { + remote-endpoint =3D <&pmic_glink_hs_in1>; +}; + +&usb_1_hsphy { + vdd-supply =3D <&vreg_l3f_e0>; + vdda12-supply =3D <&vreg_l4h_e0>; + + phys =3D <&smb2370_k_e2_eusb2_repeater>; + + status =3D "okay"; +}; + +&usb_1_qmpphy { + vdda-phy-supply =3D <&vreg_l4h_e0>; + vdda-pll-supply =3D <&vreg_l1h_e0>; + refgen-supply =3D <&vreg_l2f_e0>; + + status =3D "okay"; +}; + +&usb_1_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss_in1>; +}; + +&usb_2 { + status =3D "okay"; +}; + +&usb_2_dwc3_hs { + remote-endpoint =3D <&pmic_glink_hs_in2>; +}; + +&usb_2_hsphy { + vdd-supply =3D <&vreg_l4c_e1>; + vdda12-supply =3D <&vreg_l4f_e1>; + + phys =3D <&smb2370_l_e2_eusb2_repeater>; + + status =3D "okay"; +}; + +&usb_2_qmpphy { + vdda-phy-supply =3D <&vreg_l4f_e1>; + vdda-pll-supply =3D <&vreg_l4c_e1>; + refgen-supply =3D <&vreg_l1c_e1>; + + status =3D "okay"; +}; + +&usb_2_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss_in2>; +}; --=20 2.55.0 From nobody Fri Oct 2 12:22:35 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 52B464519A6; Fri, 31 Jul 2026 18:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785520807; cv=none; b=OllqT7xUfi9DTvMVa+M2Y0LxHcrgBckuk2FNXr7O+l0BvZ7MR/BEAxhxPGtrDWgO7ocLZ5R8IYpHv2ZReNQLAxzmz3PhjFlau2wE8fKd+DGQswbuhXJ4QaAB6Z/YFRPyyd8foLNb9uqtuS1PvPHWFVJYeuf9WndgC/shg0AFKHg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785520807; c=relaxed/simple; bh=1eXgJ9UbqLNoO/osJEGefqKfTnaJSAQv5E+oi8NKfIY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tTx7+VHKOUv6XjA6LArFx0wLJ1sw4/VVgqurU7AG/US6BhDskMENmyVPdIVS9yckCAQSLfFcQM1EzvD6gsOdMqb0l/FOzZGSuma4M6ivkBG/TlKTackIj9ZLvoYfmqsfr4WXzYWlVscCBb/TPhOheR0N5gcfVdKzMkhQ/fchjzU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RmpwgbWu; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RmpwgbWu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0BF71F00ACA; Fri, 31 Jul 2026 18:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785520805; bh=fheeJGS0UFuo1u+U4RLb3rFd0vVGZyP+23234Wi76sc=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=RmpwgbWuDk2HMwLBD1jMnWxHdIyMzWWqihu5apeIDlDFlwOQBUMa+BwpsCE0X5M0p Z8SDr69mVI5HIj94/W8FJIlBsZCO+XOSNKYBSDJ7FdrVLUu2s6ob8cmd7kGL8JkM0I BPhQMEtgDsideM9o/BkP8vXO77z9hsRA5JkOOYhQ7/ikAlZFOYP8LMEVq5485kJypz 8Kui7AqJYLzjUEwsVby2C67hGFgzmZiY0n5FeHwWR/q56H50hDTKIzRxBg203S0lNo NKRIUzznfCiwd+Hev886Lb89B4DrI4CnXlRXRUdCPChlmp+KgsATPm7i37z4d+6Q8z aFClImukflYnA== From: Konrad Dybcio Date: Fri, 31 Jul 2026 19:59:46 +0200 Subject: [PATCH v2 3/3] firmware: qcom: scm: Allow QSEECOM on Yoga Slim 7x Gen11 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: <20260731-topic-yoga_submission-v2-3-f1887031da4f@oss.qualcomm.com> References: <20260731-topic-yoga_submission-v2-0-f1887031da4f@oss.qualcomm.com> In-Reply-To: <20260731-topic-yoga_submission-v2-0-f1887031da4f@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Abel Vesa , Dmitry Baryshkov X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1785520792; l=1065; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=S5U7t3G3G17fLm+QsTw3NZgaXGy4osnu4qp3CpafflQ=; b=J73Xo1fdVcpOFXHCIMgYJsOmp+KAZC3OGx3JnnsaCHYuuJNHg9kpIDG9jsw3Yr7CzJlWZ22b7 EactsgER9JuCbBOpqof92G9to+3c1/SdyYYslaM/EXXNOr6aFFTH7+s X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Allow the use of QSEECOM on the Glymur-based Lenovo Yoga Slim 7x Gen11, as there seem to be no issues with the firmware that would mandate disabling it. Reviewed-by: Abel Vesa Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio Tested-by: Oleg Keri --- drivers/firmware/qcom/qcom_scm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_= scm.c index 3eaa4c9ccf3c..85614a1fa1f6 100644 --- a/drivers/firmware/qcom/qcom_scm.c +++ b/drivers/firmware/qcom/qcom_scm.c @@ -2319,6 +2319,7 @@ static const struct of_device_id qcom_scm_qseecom_all= owlist[] __maybe_unused =3D { { .compatible =3D "lenovo,thinkpad-t14s" }, { .compatible =3D "lenovo,thinkpad-x13s", }, { .compatible =3D "lenovo,yoga-slim7x" }, + { .compatible =3D "lenovo,yoga-slim7x-gen11" }, { .compatible =3D "medion,sprchrgd14s1" }, { .compatible =3D "microsoft,arcata", }, { .compatible =3D "microsoft,surface-pro-12in", }, --=20 2.55.0