From nobody Sat Sep 26 03:12:53 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 04E2D3749EE; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; cv=none; b=JwTLLCeQmzvHaEWzWyXQ3sJiAMzcnuOkJgTdNSnFjurp1xQ177Q//jeeWGQJDGQNkyD5gNtXWC3iv/b9u87vKnyf4qJ9XAp1CKOezRF8Z45mVmbJgjmjGxi2EMl9MaKnM9cbxiYAHAK7THjpfLw2VIcqswZ/aBEJqrMfUUR+l30= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; c=relaxed/simple; bh=oYMSeKSSRPOwVNZyrMxChpon317pqUx6F+nG0pIu0Ws=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A28z3iWGjhd5mZdKqwy55OgVPTNh5jhrnGITQc2IGWEr0T2NnXxwtmL9ixGNx/fksByqco2L5qkYH9h9/u19E5PQ0U0hXHC42I2ZmKbB8VGLoSMSnnPccM5BU9XvEkUWX913lu6RJxEnU/d5nEl96ysBq5mS2uWGHx4AiTFW8YU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R/6WabJ1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R/6WabJ1" Received: by smtp.kernel.org (Postfix) with ESMTPS id 96348C2BCFA; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788600557; bh=oYMSeKSSRPOwVNZyrMxChpon317pqUx6F+nG0pIu0Ws=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=R/6WabJ14JM156cY4TWjPE3Bb7LI+kNGQj+j8V4lBTParwsMeVZejIZjax0Yd1y2T 69JyAiui7xQoGYx+QIJQtIcMtZbkmCY7OTAS1CnTmBc/24A5AzHk0QeZKFSDvmOj24 DRKXPs2jwetBpoQ85A/bK9BySdliRrWSLUlRpqlt7cMMfKRHp2JquuKLRkTkzhEex2 SxDBrc0zcPU3aErlXe5Yw6Z+ZpgTJvx2igSjMEx5YbPIXv2TpewyMwuhrZKBJ+WTuR 57oy2ds/g40B7sTYzMiEiaFzz81otUXAK7zFhsO1P9SA4Bt4sbRY8xH3hYStJNUasu O5E+LNFxbwJzg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71B33C624D6; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 05 Sep 2026 11:28:56 +0200 Subject: [PATCH 1/7] dt-bindings: arm: qcom: Distinguish IdeaCentre Mini 01Q8X10 SKUs 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: <20260905-x1-ideacentre-mini-prettify-v1-1-9a87882973bb@oldschoolsolutions.biz> References: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> In-Reply-To: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> 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, Jens Glathe X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788600555; l=1987; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=et/ZQ7VNffXkfxW74a3PzNDQBmP6roSPIOtf9Akxd2U=; b=i9RasyOfjLW5VQKkFUupfbfgBfqoDlYao0yl6JDn7ldeGqFEa4ttI1qO3wz+mnQ7s2eXejbaK B3yflsXLvZsDisRLDBJfF17MwSuaqGOmLD0eS+YJniM3QJfTKv7PePm X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe The Lenovo IdeaCentre Mini 01Q8X10 exists on both X1E80100 (Hamoa) and X1P42100 (Purwa). A single two-entry compatible cannot tell those device trees apart. Move the board out of the generic X1E80100 enum and document two three-entry lists: lenovo,hamoa-ideacentre-mini-01q8x10, lenovo,ideacentre-mini-01q8x10, qcom,x1e80100 lenovo,purwa-ideacentre-mini-01q8x10, lenovo,ideacentre-mini-01q8x10, qcom,x1p42100 Assisted-by: Grok 4.5 (xAI) Signed-off-by: Jens Glathe Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index 5ccb571520d1d..4d6f561a8cac0 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -1180,6 +1180,11 @@ properties: - const: qcom,x1e001de - const: qcom,x1e80100 =20 + - items: + - const: lenovo,hamoa-ideacentre-mini-01q8x10 + - const: lenovo,ideacentre-mini-01q8x10 + - const: qcom,x1e80100 + - items: - enum: - lenovo,thinkpad-t14s-lcd @@ -1211,7 +1216,6 @@ properties: - honor,magicbook-art-14-snapdragon - hp,elitebook-ultra-g1q - hp,omnibook-x14 - - lenovo,ideacentre-mini-01q8x10 - lenovo,yoga-slim7x - microsoft,romulus13 - microsoft,romulus15 @@ -1230,6 +1234,11 @@ properties: - const: microsoft,denali - const: qcom,x1e80100 =20 + - items: + - const: lenovo,purwa-ideacentre-mini-01q8x10 + - const: lenovo,ideacentre-mini-01q8x10 + - const: qcom,x1p42100 + - items: - const: microsoft,surface-pro-12in - const: qcom,x1p42100 --=20 2.53.0 From nobody Sat Sep 26 03:12:53 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 04EE73C1093; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; cv=none; b=gWqR9HCok/j7B6pCxkq3SDLZm1nbgpPxEmcLydSUtZd7XebLgFuzMVryfB+ufcYSLc4Bf7zRfnP3RqN8O9+3RaZBgbOTKMMN7ZIbo91nry8dUtAvce41MbV8npHzk6DPEF1iupsvkF7n/XowFst2DQnXNqud0nyjrtzzdZqRy8E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; c=relaxed/simple; bh=H13mnQq8LBw5Nosc4pSrt2FY8mjKlW6cedUpwut48+A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Bg380+NlB+Lcfa7I34Xc+md1eQhmqGv0WH5qvC1U0NwVjta5H5xATZDmrt1KKajZ8Uab6JTJ+oByLClf9VWIzh8p601n9b26+V9fomA7T8EQWGAZqRAPZsxhyIO/88fYipU7YA5G0boc3ZoMccGI8723V0P1+bjdP2u1dkUEtp0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VmI9OOhr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VmI9OOhr" Received: by smtp.kernel.org (Postfix) with ESMTPS id A99B0C2BCFB; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788600557; bh=H13mnQq8LBw5Nosc4pSrt2FY8mjKlW6cedUpwut48+A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=VmI9OOhrv8W+I7A54dhdgwQZyfYzu4MOgfw+hgZJNNetSKifypetc5bgTSThAz/WH S33+3/4abSGwrSlEqzWOrDTMDbebu1IUVHyKjvZ7wAY+shE6yLArw+G9zzea9hw97j KFYRX6s303LunPrz9BYqBml9KAKndMu/U51j51ckxHxhhnSiGoXZ/lBgiQtuGdW50u kSpdaEGGaem5VdKtz8aXXbjP4fdw4xpT5rIwzZ5KSjT447etZ5oWcHdGRPFAvGngg8 qqj8/qZy0VuGZFTYMB38fcszdu2mGXd24BsENQd9oUTyFAI/kmUGIJy5X5Ckckb1k+ yOHeiQpCH6RDA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85ED6C79F8B; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 05 Sep 2026 11:28:57 +0200 Subject: [PATCH 2/7] arm64: dts: qcom: Split IdeaCentre Mini into a common DTSI 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: <20260905-x1-ideacentre-mini-prettify-v1-2-9a87882973bb@oldschoolsolutions.biz> References: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> In-Reply-To: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> 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, Jens Glathe X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788600555; l=29275; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=jBsW9gU6X4RJCHtg7DQNYNRqenBB29+nL+VN92xM3fY=; b=k513Tp7iXozgH9UGIFMFmRZHGrAZgYgANPPemjPucaUUiBipd9T2EZuZIALfVE14i8+qwfpNN QqXHSREwf1qAy2VXzweg4sGKD7wOOke+xLirt+XOaNK+Ee7M6e3MRuB X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe The IdeaCentre Mini 01Q8X10 chassis is shared by Hamoa (X1E80100) and Purwa (X1P42100) SKUs. Move the board description into x1-lenovo-ideacentre-mini-01q8x10.dtsi and leave hamoa-lenovo-ideacentre-mini-01q8x10.dts as a thin wrapper that includes the SoC DTSI and the common board file. Assisted-by: Grok 4.5 (xAI) Signed-off-by: Jens Glathe Reviewed-by: Konrad Dybcio --- .../qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts | 1260 +---------------= ---- ....dts =3D> x1-lenovo-ideacentre-mini-01q8x10.dtsi} | 29 - 2 files changed, 39 insertions(+), 1250 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.= dts b/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts dissimilarity index 97% index 75ce8b0c94d2a..2c030c2d99685 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts +++ b/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts @@ -1,1221 +1,39 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -/dts-v1/; - -#include -#include - -#include "hamoa.dtsi" -#include "hamoa-pmics.dtsi" - -/ { - model =3D "Lenovo IdeaCentre Mini 01Q8X10"; - compatible =3D "lenovo,ideacentre-mini-01q8x10", "qcom,x1e80100"; - chassis-type =3D "desktop"; - - aliases { - serial0 =3D &uart14; - }; - - wcd938x: audio-codec { - compatible =3D "qcom,wcd9385-codec"; - - pinctrl-0 =3D <&wcd_default>; - pinctrl-names =3D "default"; - - qcom,micbias1-microvolt =3D <1800000>; - qcom,micbias2-microvolt =3D <1800000>; - qcom,micbias3-microvolt =3D <1800000>; - qcom,micbias4-microvolt =3D <1800000>; - qcom,mbhc-buttons-vthreshold-microvolt =3D <75000 150000 237000 500000 5= 00000 500000 500000 500000>; - qcom,mbhc-headset-vthreshold-microvolt =3D <1700000>; - qcom,mbhc-headphone-vthreshold-microvolt =3D <50000>; - qcom,rx-device =3D <&wcd_rx>; - qcom,tx-device =3D <&wcd_tx>; - - reset-gpios =3D <&tlmm 191 GPIO_ACTIVE_LOW>; - mux-controls =3D <&us_euro_mux_ctrl>; - - vdd-buck-supply =3D <&vreg_l15b>; - vdd-rxtx-supply =3D <&vreg_l15b>; - vdd-io-supply =3D <&vreg_l15b>; - vdd-mic-bias-supply =3D <&vreg_bob1>; - - #sound-dai-cells =3D <1>; - }; - - dp-connector { - compatible =3D "dp-connector"; - type =3D "full-size"; - - pinctrl-0 =3D <&usb1_dp_hot_plug_detect>; - pinctrl-names =3D "default"; - - port { - dp_port_in: endpoint { - remote-endpoint =3D <&usb_1_ss1_qmpphy_out_dp>; - }; - }; - }; - - hdmi-bridge { - compatible =3D "parade,ps185hdm"; - - pinctrl-0 =3D <&usb2_dp_hot_plug_detect>; - pinctrl-names =3D "default"; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - hdmi_bridge_in: endpoint { - remote-endpoint =3D <&usb_1_ss2_qmpphy_out_dp>; - }; - }; - - port@1 { - reg =3D <1>; - - hdmi_bridge_out: endpoint { - remote-endpoint =3D <&hdmi_con>; - }; - }; - }; - }; - - hdmi-connector { - compatible =3D "hdmi-connector"; - type =3D "a"; - - port { - hdmi_con: endpoint { - remote-endpoint =3D <&hdmi_bridge_out>; - }; - }; - }; - - us_euro_mux_ctrl: mux-controller { - compatible =3D "gpio-mux"; - pinctrl-0 =3D <&us_euro_hs_sel>; - pinctrl-names =3D "default"; - mux-supply =3D <&vreg_l16b>; - #mux-control-cells =3D <0>; - mux-gpios =3D <&tlmm 68 GPIO_ACTIVE_HIGH>; - }; - - pmic-glink { - compatible =3D "qcom,x1e80100-pmic-glink", - "qcom,sm8550-pmic-glink", - "qcom,pmic-glink"; - orientation-gpios =3D <&tlmm 121 GPIO_ACTIVE_HIGH>; - - #address-cells =3D <1>; - #size-cells =3D <0>; - - 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_port0_hs_in: endpoint { - remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; - }; - }; - - port@1 { - reg =3D <1>; - - pmic_glink_port0_ss_in: endpoint { - remote-endpoint =3D <&usb0_retimer_out>; - }; - }; - - port@2 { - reg =3D <2>; - - pmic_glink_port0_sbu_in: endpoint { - remote-endpoint =3D <&usb0_retimer_sbu_out>; - }; - }; - }; - }; - }; - - vreg_nvme1_3p3: regulator-nvme1-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_NVME1_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 18 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&nvme_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_nvme2_3p3: regulator-nvme2-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_NVME2_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 18 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&nvme_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_v0p9: regulator-v0p9 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "V0P9"; - regulator-min-microvolt =3D <906000>; - regulator-max-microvolt =3D <906000>; - - gpio =3D <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb0_pwr_1p15_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_vdd1v8: regulator-vdd1v8 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VDD1V8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - - vin-supply =3D <&vreg_l15b>; - - gpio =3D <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb0_1p8_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_vdd33_rtmr: regulator-vdd33-rtmr { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VDD33_RTMR"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb0_3p3_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_wifi_3v3>; - }; - - vreg_wifi_3v3: regulator-wcn-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "WIFI_3V3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 214 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&wcn_sw_en>; - pinctrl-names =3D "default"; - }; - - vreg_wifi_1v8: regulator-wifi-1v8 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "WIFI_1V8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - - vin-supply =3D <&vreg_l15b>; - }; - - reserved-memory { - linux,cma { - compatible =3D "shared-dma-pool"; - size =3D <0x0 0x8000000>; - reusable; - linux,cma-default; - }; - }; - - sound { - compatible =3D "qcom,x1e80100-sndcard"; - model =3D "X1E80100-LENOVO-IdeaCentre-Mini"; - audio-routing =3D "IN1_HPHL", "HPHL_OUT", - "IN2_HPHR", "HPHR_OUT", - "AMIC2", "MIC BIAS2", - "TX SWR_INPUT1", "ADC2_OUTPUT"; - - wcd-playback-dai-link { - link-name =3D "WCD Playback"; - - cpu { - sound-dai =3D <&q6apmbedai RX_CODEC_DMA_RX_0>; - }; - - codec { - sound-dai =3D <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - - wcd-capture-dai-link { - link-name =3D "WCD Capture"; - - cpu { - sound-dai =3D <&q6apmbedai TX_CODEC_DMA_TX_3>; - }; - - codec { - sound-dai =3D <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - - displayport-0-dai-link { - link-name =3D "DisplayPort0 Playback"; - - codec { - sound-dai =3D <&mdss_dp0>; - }; - - cpu { - sound-dai =3D <&q6apmbedai DISPLAY_PORT_RX_0>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - - displayport-1-dai-link { - link-name =3D "DisplayPort1 Playback"; - - codec { - sound-dai =3D <&mdss_dp1>; - }; - - cpu { - sound-dai =3D <&q6apmbedai DISPLAY_PORT_RX_1>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - - displayport-2-dai-link { - link-name =3D "DisplayPort2 Playback"; - - codec { - sound-dai =3D <&mdss_dp2>; - }; - - cpu { - sound-dai =3D <&q6apmbedai DISPLAY_PORT_RX_2>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - }; - - wcn7850-pmu { - compatible =3D "qcom,wcn7850-pmu"; - - vdd-supply =3D <&vreg_wcn_0p95>; - vddio-supply =3D <&vreg_l15b>; - vddaon-supply =3D <&vreg_wcn_0p95>; - vdddig-supply =3D <&vreg_wcn_0p95>; - vddrfa1p2-supply =3D <&vreg_wifi_1v8>; - vddrfa1p8-supply =3D <&vreg_wifi_1v8>; - - 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,pm8550-rpmh-regulators"; - qcom,pmic-id =3D "b"; - - vreg_bob1: bob1 { - regulator-name =3D "vreg_bob1"; - regulator-min-microvolt =3D <3008000>; - regulator-max-microvolt =3D <3960000>; - regulator-initial-mode =3D ; - }; - - vreg_l2b: ldo2 { - regulator-name =3D "VREG_L2B"; - regulator-min-microvolt =3D <3072000>; - regulator-max-microvolt =3D <3072000>; - regulator-initial-mode =3D ; - }; - - vreg_l4b: ldo4 { - regulator-name =3D "VREG_L4B"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - }; - - vreg_l13b: ldo13 { - regulator-name =3D "VREG_L13B"; - regulator-min-microvolt =3D <3072000>; - regulator-max-microvolt =3D <3072000>; - regulator-initial-mode =3D ; - }; - - vreg_l15b: ldo15 { - regulator-name =3D "VREG_L15B"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - regulator-always-on; - }; - - vreg_l16b: ldo16 { - regulator-name =3D "VREG_L16B"; - regulator-min-microvolt =3D <2504000>; - regulator-max-microvolt =3D <2504000>; - regulator-initial-mode =3D ; - }; - - }; - - regulators-1 { - compatible =3D "qcom,pm8550ve-rpmh-regulators"; - qcom,pmic-id =3D "c"; - - vreg_l3c: ldo3 { - regulator-name =3D "VREG_L3C"; - regulator-min-microvolt =3D <912000>; - regulator-max-microvolt =3D <912000>; - regulator-initial-mode =3D ; - }; - }; - - regulators-2 { - compatible =3D "qcom,pmc8380-rpmh-regulators"; - qcom,pmic-id =3D "d"; - - vreg_l1d: ldo1 { - regulator-name =3D "VREG_L1D"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - - vreg_l2d: ldo2 { - regulator-name =3D "VREG_L2D"; - regulator-min-microvolt =3D <912000>; - regulator-max-microvolt =3D <912000>; - regulator-initial-mode =3D ; - }; - - vreg_l3d: ldo3 { - regulator-name =3D "VREG_L3D"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - }; - }; - - regulators-3 { - compatible =3D "qcom,pmc8380-rpmh-regulators"; - qcom,pmic-id =3D "e"; - - vreg_l2e: ldo2 { - regulator-name =3D "VREG_L2E"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <880000>; - regulator-initial-mode =3D ; - }; - - vreg_l3e: ldo3 { - regulator-name =3D "VREG_L3E"; - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - regulator-initial-mode =3D ; - }; - }; - - regulators-4 { - compatible =3D "qcom,pm8550ve-rpmh-regulators"; - qcom,pmic-id =3D "i"; - - vreg_l3i: ldo3 { - regulator-name =3D "VREG_L3I"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - }; - - regulators-5 { - compatible =3D "qcom,pm8550ve-rpmh-regulators"; - qcom,pmic-id =3D "j"; - - vreg_l1j: ldo1 { - regulator-name =3D "VREG_L1J"; - regulator-min-microvolt =3D <912000>; - regulator-max-microvolt =3D <912000>; - regulator-initial-mode =3D ; - }; - - vreg_l2j: ldo2 { - regulator-name =3D "VREG_L2J"; - regulator-min-microvolt =3D <1256000>; - regulator-max-microvolt =3D <1256000>; - regulator-initial-mode =3D ; - }; - - vreg_l3j: ldo3 { - regulator-name =3D "VREG_L3J"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <880000>; - regulator-initial-mode =3D ; - }; - }; -}; - -&i2c3 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - typec-mux@8 { - compatible =3D "parade,ps8833", "parade,ps8830"; - reg =3D <0x08>; - - clocks =3D <&rpmhcc RPMH_RF_CLK3>; - - vdd-supply =3D <&vreg_v0p9>; - vdd33-supply =3D <&vreg_vdd33_rtmr>; - vdd33-cap-supply =3D <&vreg_vdd33_rtmr>; - vddar-supply =3D <&vreg_v0p9>; - vddat-supply =3D <&vreg_v0p9>; - vddio-supply =3D <&vreg_vdd1v8>; - - reset-gpios =3D <&pm8550_gpios 10 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&usb0_reset_n>; - pinctrl-names =3D "default"; - - retimer-switch; - orientation-switch; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - usb0_retimer_out: endpoint { - remote-endpoint =3D <&pmic_glink_port0_ss_in>; - }; - }; - - port@1 { - reg =3D <1>; - - usb0_retimer_in: endpoint { - remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; - }; - }; - - port@2 { - reg =3D <2>; - - usb0_retimer_sbu_out: endpoint { - remote-endpoint =3D <&pmic_glink_port0_sbu_in>; - }; - }; - }; - }; -}; - -&i2c5 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - eusb3_repeater: redriver@47 { - compatible =3D "nxp,ptn3222"; - reg =3D <0x47>; - #phy-cells =3D <0>; - - vdd3v3-supply =3D <&vreg_l13b>; - vdd1v8-supply =3D <&vreg_l4b>; - - reset-gpios =3D <&tlmm 6 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&eusb3_reset_n>; - pinctrl-names =3D "default"; - }; - - eusb6_repeater: redriver@4f { - compatible =3D "nxp,ptn3222"; - reg =3D <0x4f>; - #phy-cells =3D <0>; - - vdd3v3-supply =3D <&vreg_l13b>; - vdd1v8-supply =3D <&vreg_l4b>; - - reset-gpios =3D <&tlmm 184 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&eusb6_reset_n>; - pinctrl-names =3D "default"; - }; -}; - -&iris { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcvss8380.mbn"; - - status =3D "okay"; -}; - -&gpu { - status =3D "okay"; -}; - -&gpu_zap_shader { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcdxkmsuc8380.mbn"; -}; - -&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>; -}; - -&pcie3 { - pinctrl-0 =3D <&pcie3_default>; - pinctrl-names =3D "default"; - - vddpe-3v3-supply =3D <&vreg_nvme2_3p3>; - - status =3D "okay"; -}; - -&pcie3_phy { - vdda-phy-supply =3D <&vreg_l3c>; - vdda-pll-supply =3D <&vreg_l3e>; - - status =3D "okay"; -}; - -&pcie3_port0 { - reset-gpios =3D <&tlmm 143 GPIO_ACTIVE_LOW>; - wake-gpios =3D <&tlmm 145 GPIO_ACTIVE_LOW>; -}; - -&pcie4 { - pinctrl-0 =3D <&pcie4_default>; - pinctrl-names =3D "default"; - - status =3D "okay"; -}; - -&pcie4_phy { - vdda-phy-supply =3D <&vreg_l3i>; - vdda-pll-supply =3D <&vreg_l3e>; - - 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 { - pinctrl-0 =3D <&pcie5_default>; - pinctrl-names =3D "default"; - - status =3D "okay"; -}; - -&pcie5_phy { - vdda-phy-supply =3D <&vreg_l3i>; - vdda-pll-supply =3D <&vreg_l3e>; - - status =3D "okay"; -}; - -&pcie5_port0 { - reset-gpios =3D <&tlmm 149 GPIO_ACTIVE_LOW>; - wake-gpios =3D <&tlmm 151 GPIO_ACTIVE_LOW>; -}; - -&pcie6a { - vddpe-3v3-supply =3D <&vreg_nvme1_3p3>; - - pinctrl-0 =3D <&pcie6a_default>; - pinctrl-names =3D "default"; - - status =3D "okay"; -}; - -&pcie6a_phy { - vdda-phy-supply =3D <&vreg_l1d>; - vdda-pll-supply =3D <&vreg_l2j>; - - status =3D "okay"; -}; - -&pcie6a_port0 { - reset-gpios =3D <&tlmm 152 GPIO_ACTIVE_LOW>; - wake-gpios =3D <&tlmm 154 GPIO_ACTIVE_LOW>; -}; - -&pmc8380_5_gpios { - usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { - pins =3D "gpio8"; - function =3D "normal"; - power-source =3D <1>; - bias-disable; - input-disable; - output-enable; - }; -}; - -&pm8550_gpios { - usb0_reset_n: usb0-reset-n-state { - pins =3D "gpio10"; - function =3D "normal"; - power-source =3D <1>; - bias-disable; - input-disable; - output-enable; - }; - - usb0_3p3_reg_en: usb0-3p3-reg-en-state { - pins =3D "gpio11"; - function =3D "normal"; - power-source =3D <1>; - bias-disable; - input-disable; - output-enable; - }; -}; - -&pm8550ve_9_gpios { - usb0_1p8_reg_en: usb0-1p8-reg-en-state { - pins =3D "gpio8"; - function =3D "normal"; - power-source =3D <1>; - bias-disable; - input-disable; - output-enable; - }; -}; - -&qupv3_0 { - status =3D "okay"; -}; - -&qupv3_1 { - status =3D "okay"; -}; - -&qupv3_2 { - status =3D "okay"; -}; - -&remoteproc_adsp { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcadsp8380.mbn", - "qcom/x1e80100/LENOVO/91B6/adsp_dtbs.elf"; - - status =3D "okay"; -}; - -&remoteproc_cdsp { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qccdsp8380.mbn", - "qcom/x1e80100/LENOVO/91B6/cdsp_dtbs.elf"; - - status =3D "okay"; -}; - -&smb2360_0 { - status =3D "okay"; -}; - -&smb2360_0_eusb2_repeater { - vdd18-supply =3D <&vreg_l3d>; - vdd3-supply =3D <&vreg_l2b>; -}; - -&swr1 { - status =3D "okay"; - - /* WCD9385 RX */ - wcd_rx: codec@0,4 { - compatible =3D "sdw20217010d00"; - reg =3D <0 4>; - qcom,rx-port-mapping =3D <1 2 3 4 5>; - }; -}; - -&swr2 { - status =3D "okay"; - - /* WCD9385 TX */ - wcd_tx: codec@0,3 { - compatible =3D "sdw20217010d00"; - reg =3D <0 3>; - qcom,tx-port-mapping =3D <2 2 3 4>; - }; -}; - -&tcsr { - vdda-qrefrpt0-0p9-supply =3D <&vreg_l3c>; - vdda-qrefrpt1-0p9-supply =3D <&vreg_l3i>; - vdda-qrefrpt2-0p9-supply =3D <&vreg_l3i>; - vdda-qrefrpt3-0p9-supply =3D <&vreg_l3j>; - vdda-qrefrpt4-0p9-supply =3D <&vreg_l1d>; - vdda-qrefrx0-0p9-supply =3D <&vreg_l3c>; - vdda-qrefrx1-0p9-supply =3D <&vreg_l3i>; - vdda-qrefrx2-0p9-supply =3D <&vreg_l3i>; - vdda-qrefrx3-0p9-supply =3D <&vreg_l3j>; - vdda-qrefrx4-0p9-supply =3D <&vreg_l1d>; - vdda-qreftx0-0p9-supply =3D <&vreg_l3j>; - vdda-qreftx0-1p2-supply =3D <&vreg_l2j>; - vdda-qreftx1-0p9-supply =3D <&vreg_l3j>; - vdda-qreftx1-1p2-supply =3D <&vreg_l3e>; - vdda-refgen0-0p9-supply =3D <&vreg_l3i>; - vdda-refgen0-1p2-supply =3D <&vreg_l3e>; - vdda-refgen2-0p9-supply =3D <&vreg_l3j>; - vdda-refgen2-1p2-supply =3D <&vreg_l2j>; -}; - -&tlmm { - gpio-reserved-ranges =3D <44 4>, /* SPI11 (TPM) */ - <76 4>, /* SPI19 (TZ Protected) */ - <238 1>; /* UFS Reset */ - - eusb3_reset_n: eusb3-reset-n-state { - pins =3D "gpio6"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - output-low; - }; - - nvme_reg_en: nvme-reg-en-state { - pins =3D "gpio18"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - us_euro_hs_sel: us-euro-hs-sel-state { - pins =3D "gpio68"; - function =3D "gpio"; - bias-pull-down; - drive-strength =3D <2>; - }; - - wcn_wlan_bt_en: wcn-wlan-bt-en-state { - pins =3D "gpio116", "gpio117"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb1_dp_hot_plug_detect: ub1-dp-hot-plug-detect-state { - pins =3D "gpio124"; - function =3D "usb1_dp"; - bias-disable; - }; - - usb2_dp_hot_plug_detect: usb2-dp-hot-plug-detect-state { - pins =3D "gpio126"; - function =3D "usb2_dp"; - bias-disable; - }; - - pcie3_default: pcie3-default-state { - clkreq-n-pins { - pins =3D "gpio144"; - function =3D "pcie3_clk"; - drive-strength =3D <2>; - bias-pull-up; - }; - - perst-n-pins { - pins =3D "gpio143"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-pull-down; - }; - - wake-n-pins { - pins =3D "gpio145"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-pull-up; - }; - }; - - pcie4_default: pcie4-default-state { - clkreq-n-pins { - pins =3D "gpio147"; - function =3D "pcie4_clk"; - 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 "gpio150"; - function =3D "pcie5_clk"; - 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; - }; - }; - - pcie6a_default: pcie6a-default-state { - clkreq-n-pins { - pins =3D "gpio153"; - function =3D "pcie6a_clk"; - 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; - }; - }; - - eusb6_reset_n: eusb6-reset-n-state { - pins =3D "gpio184"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - output-low; - }; - - wcd_default: wcd-reset-n-active-state { - pins =3D "gpio191"; - function =3D "gpio"; - drive-strength =3D <16>; - bias-disable; - output-low; - }; - - wcn_sw_en: wcn-sw-en-state { - pins =3D "gpio214"; - 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_1_ss0 { - dr_mode =3D "host"; - - status =3D "okay"; -}; - -&usb_1_ss0_dwc3_hs { - remote-endpoint =3D <&pmic_glink_port0_hs_in>; -}; - -&usb_1_ss0_hsphy { - vdd-supply =3D <&vreg_l3j>; - vdda12-supply =3D <&vreg_l2j>; - - phys =3D <&smb2360_0_eusb2_repeater>; - - status =3D "okay"; -}; - -&usb_1_ss0_qmpphy { - vdda-phy-supply =3D <&vreg_l1j>; - vdda-pll-supply =3D <&vreg_l2j>; - - status =3D "okay"; -}; - -&usb_1_ss0_qmpphy_out { - remote-endpoint =3D <&usb0_retimer_in>; -}; - -&usb_1_ss1_qmpphy { - vdda-phy-supply =3D <&vreg_l2d>; - vdda-pll-supply =3D <&vreg_l2j>; - - /delete-property/ mode-switch; - /delete-property/ orientation-switch; - - status =3D "okay"; - - ports { - port@0 { - #address-cells =3D <1>; - #size-cells =3D <0>; - - /delete-node/ endpoint; - - usb_1_ss1_qmpphy_out_dp: endpoint@0 { - reg =3D <0>; - - data-lanes =3D <3 2 1 0>; - remote-endpoint =3D <&dp_port_in>; - }; - }; - }; -}; - -&usb_1_ss2_qmpphy { - vdda-phy-supply =3D <&vreg_l2d>; - vdda-pll-supply =3D <&vreg_l2j>; - - /delete-property/ mode-switch; - /delete-property/ orientation-switch; - - status =3D "okay"; - - ports { - port@0 { - #address-cells =3D <1>; - #size-cells =3D <0>; - - /delete-node/ endpoint; - - usb_1_ss2_qmpphy_out_dp: endpoint@0 { - reg =3D <0>; - - data-lanes =3D <3 2 1 0>; - remote-endpoint =3D <&hdmi_bridge_in>; - }; - }; - }; -}; - -&usb_mp { - status =3D "okay"; -}; - -&usb_mp_hsphy0 { - vdd-supply =3D <&vreg_l2e>; - vdda12-supply =3D <&vreg_l3e>; - - phys =3D <&eusb3_repeater>; - - status =3D "okay"; -}; - -&usb_mp_hsphy1 { - vdd-supply =3D <&vreg_l2e>; - vdda12-supply =3D <&vreg_l3e>; - - phys =3D <&eusb6_repeater>; - - status =3D "okay"; -}; - -&usb_mp_qmpphy0 { - vdda-phy-supply =3D <&vreg_l3c>; - vdda-pll-supply =3D <&vreg_l3e>; - - status =3D "okay"; -}; - -&usb_mp_qmpphy1 { - vdda-phy-supply =3D <&vreg_l3c>; - vdda-pll-supply =3D <&vreg_l3e>; - - status =3D "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; + +#include "hamoa.dtsi" +#include "x1-lenovo-ideacentre-mini-01q8x10.dtsi" + +/ { + model =3D "Lenovo IdeaCentre Mini 01Q8X10 (Hamoa)"; + compatible =3D "lenovo,hamoa-ideacentre-mini-01q8x10", "lenovo,ideacentre= -mini-01q8x10", "qcom,x1e80100"; +}; + +&iris { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcvss8380.mbn"; + + status =3D "okay"; +}; + +&gpu_zap_shader { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcdxkmsuc8380.mbn"; +}; + +&remoteproc_adsp { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcadsp8380.mbn", + "qcom/x1e80100/LENOVO/91B6/adsp_dtbs.elf"; + + status =3D "okay"; +}; + +&remoteproc_cdsp { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qccdsp8380.mbn", + "qcom/x1e80100/LENOVO/91B6/cdsp_dtbs.elf"; + + status =3D "okay"; +}; + diff --git a/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.= dts b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi similarity index 97% copy from arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts copy to arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi index 75ce8b0c94d2a..1af97c5f86fd3 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts +++ b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi @@ -3,17 +3,12 @@ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ =20 -/dts-v1/; - #include #include =20 -#include "hamoa.dtsi" #include "hamoa-pmics.dtsi" =20 / { - model =3D "Lenovo IdeaCentre Mini 01Q8X10"; - compatible =3D "lenovo,ideacentre-mini-01q8x10", "qcom,x1e80100"; chassis-type =3D "desktop"; =20 aliases { @@ -666,20 +661,10 @@ eusb6_repeater: redriver@4f { }; }; =20 -&iris { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcvss8380.mbn"; - - status =3D "okay"; -}; - &gpu { status =3D "okay"; }; =20 -&gpu_zap_shader { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcdxkmsuc8380.mbn"; -}; - &mdss { status =3D "okay"; }; @@ -857,20 +842,6 @@ &qupv3_2 { status =3D "okay"; }; =20 -&remoteproc_adsp { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcadsp8380.mbn", - "qcom/x1e80100/LENOVO/91B6/adsp_dtbs.elf"; - - status =3D "okay"; -}; - -&remoteproc_cdsp { - firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qccdsp8380.mbn", - "qcom/x1e80100/LENOVO/91B6/cdsp_dtbs.elf"; - - status =3D "okay"; -}; - &smb2360_0 { status =3D "okay"; }; --=20 2.53.0 From nobody Sat Sep 26 03:12:53 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 04DA12D9797; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; cv=none; b=cVogJ9n+hPcEnBYXRJ218IOuVEm6wGbb/5RZi61WiNyejjdL5xvJjNMZ/p0a1kY9Fpm4J2TmSIyiWtfQ2M1sPRaKkPsXCsCqkfcwhMxanW+jurteBT3j+HUveeKhNDruXBC2iPlEegUj+izU3UamAN2c9uFuBUM/QBiEyvaFDEI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; c=relaxed/simple; bh=0mBiiHnZxdafP968u2EZeYqOw9HJexG73qrieg9fcLs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XiS1C7fcJptUuGPgCq+IQ51TAw+muROtw9uJy72xYeObZH3i/GJwZM0wrQowTLyTpbhbHlCs4fQ+oEcrGdloniJYYS7ZE/9Hp5qaFS19mla1pY8y6hGwB6hwj/EmNsYaUlhNFGDA0a9qwDxQL76NgHw2vAPAV+XRK3dp5C5NjQY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Eyhvhk+e; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Eyhvhk+e" Received: by smtp.kernel.org (Postfix) with ESMTPS id B7E65C2BCFD; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788600557; bh=0mBiiHnZxdafP968u2EZeYqOw9HJexG73qrieg9fcLs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Eyhvhk+et8CdGncQD1DOZkWXdHcEauzuPjA96seQXtq+RJN3FMyQrpx2P5kh2n6Bw Ta2rRrhJS/5Grc3adpMb4iSsB8Y4LvK54XsLRv+EB++XbzXLqd8jojmYjc+mew8aB4 cl587JmJ1JwyhV4eK+GhVA7SLue0CjFj42HQGgNeA+CySRdmxxS4QsU/mZlIx1o/// qXaZkUCpc67gaqekGFhOdsvy+zthsF7YDSklRyLjtAQTaUeIR9cxQBzqACa5DbL0ty XJ/jXAoqNCfWYIlpmH1OfOhbhYaeGY3Eg/mXq/qTrUYJ44ropkIS4Qz3qtn9zlgF6C hTlfPi4prwVaA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98E81C624DB; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 05 Sep 2026 11:28:58 +0200 Subject: [PATCH 3/7] arm64: dts: qcom: Add Purwa IdeaCentre Mini 01Q8X10 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: <20260905-x1-ideacentre-mini-prettify-v1-3-9a87882973bb@oldschoolsolutions.biz> References: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> In-Reply-To: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> 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, Jens Glathe X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788600555; l=2667; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=xRPp6vTMGEB2dFChuAvE6BAHSXu1b2qzIsMaG+/+CO8=; b=ehnQzhlDgvcTv3e5Y8hpS3o1+1K4nncUc0cu4+OKCbAgcMwN8aadSyeLRPCpuD4CW0bm+uA7K 8SqERos7WoECAWYBFKIYEmasN1ZwCpOiswFuUe+ZuZCKwdI4sIypY2d X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe Add the Purwa SKU of the Lenovo IdeaCentre Mini 01Q8X10. The chassis is the common x1-lenovo-ideacentre-mini-01q8x10DTSI; this file supplies the Purwa SoC include, firmware paths, and the PMC8380_6 nodes that are absent on this board. Assisted-by: Grok 4.5 (xAI) Signed-off-by: Jens Glathe Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/Makefile | 3 +- .../qcom/purwa-lenovo-ideacentre-mini-01q8x10.dts | 42 ++++++++++++++++++= ++++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index 6c2ac11133ca7..e6105e5790954 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -167,7 +167,8 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D msm8998-sony-xperia-yoshin= o-poplar.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8998-xiaomi-sagit.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D purwa-iot-evk.dtb =20 -purwa-iot-evk-el2-dtbs :=3D purwa-iot-evk.dtb x1-el2.dtbo +purwa-lenovo-ideacentre-mini-01q8x10-el2-dtbs :=3D purwa-lenovo-ideacentre= -mini-01q8x10.dtb x1-el2.dtbo +dtb-$(CONFIG_ARCH_QCOM) +=3D purwa-lenovo-ideacentre-mini-01q8x10.dtb purw= a-lenovo-ideacentre-mini-01q8x10-el2.dtb =20 dtb-$(CONFIG_ARCH_QCOM) +=3D purwa-iot-evk-el2.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D qcm6490-fairphone-fp5.dtb diff --git a/arch/arm64/boot/dts/qcom/purwa-lenovo-ideacentre-mini-01q8x10.= dts b/arch/arm64/boot/dts/qcom/purwa-lenovo-ideacentre-mini-01q8x10.dts new file mode 100644 index 0000000000000..9813a570cf690 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/purwa-lenovo-ideacentre-mini-01q8x10.dts @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * Copyright (c) Jens Glathe + */ + +/dts-v1/; + +#include "purwa.dtsi" +#include "x1-lenovo-ideacentre-mini-01q8x10.dtsi" + +/delete-node/ &pmc8380_6; +/delete-node/ &pmc8380_6_thermal; + +/ { + model =3D "Lenovo IdeaCentre Mini 01Q8X10 (Purwa)"; + compatible =3D "lenovo,purwa-ideacentre-mini-01q8x10", "lenovo,ideacentre= -mini-01q8x10", "qcom,x1p42100"; +}; + +&iris { + firmware-name =3D "qcom/x1p42100/LENOVO/91B6/qcvss8380_pa.mbn"; + + status =3D "okay"; +}; + +&gpu_zap_shader { + firmware-name =3D "qcom/x1p42100/LENOVO/91B6/qcdxkmsucpurwa.mbn"; +}; + +&remoteproc_adsp { + firmware-name =3D "qcom/x1p42100/LENOVO/91B6/qcadsp8380.mbn", + "qcom/x1p42100/LENOVO/91B6/adsp_dtbs.elf"; + + status =3D "okay"; +}; + +&remoteproc_cdsp { + firmware-name =3D "qcom/x1p42100/LENOVO/91B6/qccdsp8380.mbn", + "qcom/x1p42100/LENOVO/91B6/cdsp_dtbs.elf"; + + status =3D "okay"; +}; --=20 2.53.0 From nobody Sat Sep 26 03:12:53 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 04D0F1A6817; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; cv=none; b=QofLpDDjAW+U2DKIsWDgdNV85QTpxtQ+MHpANmIenY1sLR5aYK2gwCD7xOy4rAzifTyPuTV6UpaFtZjytjHsw/xxkUt+abKcTVrLRfi+9rrNS5iS0F5PG8RmIKQvwDAI5ZbHPvZE6Zfih3GtKL5chruM3nDIrTfz8EEFBmp2v4E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; c=relaxed/simple; bh=C8pKWGOvvx4BxPBWZFyF0NHJeTobpB5pEqmBWcv7yd8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ahy+c6mpkMwYrVET9oW05/fEzbU0Oo8Ud6qACERlzwwPy8JuEXLoYCaugapTevfZueJUs4ryfdA1hDOAQrfd5OgqG/gtMgLlUoWnnKGjnMeN81uHy5bYj0RD7KmIoxflhge0mZCmy7gYtQB7RYNGp/8iaNg04Rn1w95/E5J4OQw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Qo5FrhNX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Qo5FrhNX" Received: by smtp.kernel.org (Postfix) with ESMTPS id C5210C2BD04; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788600557; bh=C8pKWGOvvx4BxPBWZFyF0NHJeTobpB5pEqmBWcv7yd8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Qo5FrhNXBDjtfM2XMId5Z1SXLoesGHEZbN41OF3a9rvEuzmRwadwpks8NNtGN6Skr Tw8L6u05anNMsIYJAsuwg8cbUz2buPv2P+JH4/VKdM8tIscUhgzYptK/UWU7Tn3lk1 HOuUVITW3rKJBmcxlB2+34uhzD1MoFy20rTrBWohLqgyEjnSxsoGKV5Q9tmpncCnRO cHhfiUHubiik49F6ZG22whGIr4Uk37CB9X6vpuA3wjLpQN/TKzjmtvWZ6VUc0j+Chd PNaVjjyobYJLIaBf1yHUSASBdEOoH/HtYZDk8VJfskhXXSInKPhQ79TdDPOo5C79Aw Otkpg3UgBM58g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAA4FC79F90; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 05 Sep 2026 11:28:59 +0200 Subject: [PATCH 4/7] arm64: dts: qcom: ideacentre-mini: Build the Hamoa EL2 DTB 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: <20260905-x1-ideacentre-mini-prettify-v1-4-9a87882973bb@oldschoolsolutions.biz> References: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> In-Reply-To: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> 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, Jens Glathe X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788600555; l=1213; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=tNnFe+85llnft8rgSu+IZo3lIc8akq9ek2EYr0QF1pk=; b=3XODYihKzUjZdZ1FLd6wg6bzzmAqABNNt9UCALkf8pWcXz2ZKfUWGEiy0OnuV5XsTcmWJn7qZ 7+tGnsrmERCAJHsW+Syo+uUq5ipVnA2TCVi1gAY/rp/D8rKL1w/wJ05 X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe Other Hamoa boards combine the board DTB with x1-el2.dtbo. Do the same for the IdeaCentre Mini so the EL2 overlay is produced alongside the normal image. Assisted-by: Grok 4.5 (xAI) Signed-off-by: Jens Glathe Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index e6105e5790954..0cfbf3018a7be 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -24,7 +24,10 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-iot-evk.dtb hamoa-iot-evk-el2-dtbs :=3D hamoa-iot-evk.dtb x1-el2.dtbo =20 dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-iot-evk-el2.dtb -dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-lenovo-ideacentre-mini-01q8x10.dtb + +hamoa-lenovo-ideacentre-mini-01q8x10-el2-dtbs :=3D hamoa-lenovo-ideacentre= -mini-01q8x10.dtb x1-el2.dtbo +dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-lenovo-ideacentre-mini-01q8x10.dtb hamo= a-lenovo-ideacentre-mini-01q8x10-el2.dtb + dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5018-rdp432-c2.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5018-tplink-archer-ax55-v1.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5210-rdp504.dtb --=20 2.53.0 From nobody Sat Sep 26 03:12:53 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3E99C3E3178; Sat, 5 Sep 2026 09:29:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; cv=none; b=cHa27PBnJsyDSab4ChnZk66u6QOCMto8W0MaGLgO/Qvn5sAkCbjRUuBFMtbOaPXmMWqN+Dr/9fcq6sBuYAEyGLQKZ2W1iTFNGW7ojHUG+fEZLEXf1MOzJkqP/6czS72Bb/oidB2BHHqWArL4Knaxj+he8+TTNf06xsoxiiiP2kg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; c=relaxed/simple; bh=0Q3NMx4h8ekFF0U5EJMaT2ZMWe2pcv1R7lB2wLbM5d0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=subNOZO/Fbkr26na9+zNGS77D7nIQmnYOKj/AMbwGDmXCGDoaWV4XRy0u99O6LhCXSZIZ6pFh7EELmli8nGhQOXSSvOw985pE50woNOP+0ZAlEQtOHCmi708lM91RW3DKYLfFXSQmDV85Kpgmy/QgXKLMV2tyQyDWyP+/bz+8CQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=USqDLKsh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="USqDLKsh" Received: by smtp.kernel.org (Postfix) with ESMTPS id D64DAC4AF10; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788600557; bh=0Q3NMx4h8ekFF0U5EJMaT2ZMWe2pcv1R7lB2wLbM5d0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=USqDLKshZR+crxRQklNYmEZPNFFjJQgjMx/WLbnebP9EjZ6W640gKNkutltsuZpQ5 WLaPdGTw3J6l7m7CmbkQ2IS2+ECLh9vjYBoirJrV6cseRnjdRurBnRaxG0Jdl4OYLC ezhaL2lfvmujWuD5LITFCmR2mSmF98X5ZW2KH89D3Fe7ODnq+RWY7yMOqnYj2MtXJu ieZckmde+enJ55n85UJTcfqNsYvKwBmlgdH9RjoFWjNpo9oGzSlJhaXoaI79d8H47e gERh7ibH61yDIRdH4iE9YnhYCPlSwiIr7HJgWYeReQkMHCpc2DYyl8EmBnl6SUIyd7 jpN+ZdnOI5Gdg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAA83C79F91; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 05 Sep 2026 11:29:00 +0200 Subject: [PATCH 5/7] arm64: dts: qcom: ideacentre-mini: Fix the second M.2 3V3 rail 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: <20260905-x1-ideacentre-mini-prettify-v1-5-9a87882973bb@oldschoolsolutions.biz> References: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> In-Reply-To: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> 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, Jens Glathe X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788600555; l=2236; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=Mbc9hxbkPkS0pdjVkRDoJOizEKE/npezL/nBqRXTsNU=; b=+BL58zAwMzRiORd2z1LMluqU0QVNK0eSQQJ2sTt8ZyMBllVj1jm5Uios4gLhDLfVoWhbTAjde +DrIZIA6PvTA912pSPmYeZxl8pBJ8hoyL6GaQh3NelGBIw9KwJAAb8w X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe TLMM18 only enables M.2-1 on pcie6a. The second slot (pcie3) is gated by PMC8380_3 GPIO5; both regulators previously pointed at the same TLMM pin, so the DT had no effect on that rail. Switch vreg_nvme2_3p3 to the PMIC GPIO, add its pinctrl state, and keep a 2 s startup delay plus always-on. Without the delay the pcie3 slot fails to probe; always-on is a stand-in until an M.2 power sequencer exists. Both slots work on Purwa with NVMe SSDs. Tested-on: IdeaCentre Mini 01Q8X10, Purwa (X1-26-100) Assisted-by: Grok 4.5 (xAI) Signed-off-by: Jens Glathe --- .../dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi | 21 +++++++++++++++++= ++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dts= i b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi index 1af97c5f86fd3..76a9f745b279d 100644 --- a/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi @@ -4,6 +4,7 @@ */ =20 #include +#include #include =20 #include "hamoa-pmics.dtsi" @@ -173,13 +174,16 @@ vreg_nvme2_3p3: regulator-nvme2-3p3 { regulator-min-microvolt =3D <3300000>; regulator-max-microvolt =3D <3300000>; =20 - gpio =3D <&tlmm 18 GPIO_ACTIVE_HIGH>; + gpio =3D <&pmc8380_3_gpios 5 GPIO_ACTIVE_HIGH>; enable-active-high; =20 - pinctrl-0 =3D <&nvme_reg_en>; + pinctrl-0 =3D <&nvme2_reg_en>; pinctrl-names =3D "default"; =20 + startup-delay-us =3D <2000000>; + regulator-boot-on; + regulator-always-on; }; =20 vreg_v0p9: regulator-v0p9 { @@ -788,6 +792,19 @@ &pcie6a_port0 { wake-gpios =3D <&tlmm 154 GPIO_ACTIVE_LOW>; }; =20 +&pmc8380_3_gpios { + nvme2_reg_en: nvme2-reg-en-state { + pins =3D "gpio5"; + function =3D "normal"; + power-source =3D <0>; + input-disable; + output-enable; + drive-push-pull; + bias-disable; + qcom,drive-strength =3D ; + }; +}; + &pmc8380_5_gpios { usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { pins =3D "gpio8"; --=20 2.53.0 From nobody Sat Sep 26 03:12:53 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3E8913E3177; Sat, 5 Sep 2026 09:29:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; cv=none; b=YyY8m+6XB7QRGWHZ2vlX7B7GZutu97zvJkcerWJgHgSS5c6fYCZldDTbhh6JK2aCZKF24J0FtfBigAHXudGWzNUEgOFiPbbtHRskYKEAiHYvCwlPoMIpwCeMVXXOMhOf5VefKzs8WGLsBLNTIWOntUPGAHD99+/Ap0Rz5VMY3vU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; c=relaxed/simple; bh=+qytr/j630twvH1iyHjstSEfyt64Mm6Enh/EMMJrlhY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mpiJY31pa1BuM65JDYCzebeFvnqrlHdIgzko/zPjGJRibav67HDAp9njgbmmj3i2BrLh81QmJ/21T9UIW/d8s417/jqSxCTfzmOm4M0hnh9nSQiTWf80BJubhPeQzmPKkrAloneA92JAvsfs1oTDmyOOKniQr1WwxefoBkgC4HI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=C13ck7rM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="C13ck7rM" Received: by smtp.kernel.org (Postfix) with ESMTPS id DFC7DC4AF1C; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788600557; bh=+qytr/j630twvH1iyHjstSEfyt64Mm6Enh/EMMJrlhY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=C13ck7rMDwYrj+bSXQ90vm5hnsfBS3ROKZrlN0IOMVVfHCFQTtZiBlnDqbI1XQiGx oe01P4Wb6iVcDqqi4c1aMHuknmMF0defZFGk/xQ7WvWY2hctJ8hadXqgY5OjFHYuzV Oy9pmDkKXR2pj8NG0MLG9EBKVhNoTBhxlkys/ZvNbUc1Hm6Et4NabxrcC67CMoytBr QmqIwEUrfpWgK7tfIHUdDII0lh/BnXEB/1zU6CbC5u3+qAD41tVKeHHvNof/j3u7iB B5llOWve0blYdmekFMK7G5FDJHfvpTYxw7BayOZQktQlvvh/GphaIcA1pbRgxA8xXl qEnhzbGmMtXFg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD88CC624D3; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 05 Sep 2026 11:29:01 +0200 Subject: [PATCH 6/7] arm64: dts: qcom: ideacentre-mini: Wire up DP sound names and VA macro 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: <20260905-x1-ideacentre-mini-prettify-v1-6-9a87882973bb@oldschoolsolutions.biz> References: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> In-Reply-To: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> 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, Jens Glathe X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788600555; l=1496; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=q0Klq8CCwMTL3nScIUXlwBoWcQQvy4wXunu4Khr0rQQ=; b=CeYlvvFJxoUQ8DkappLev9pCIMW7NeGVqZGEVMJNa9pd3Hw1dymUmif6pV12uoZx8y6CdSQtA bsV/OJt0exGC/IaNpHVwOYepSsjz8tGrbQ5uNWcfo9k3/EgMYSgG2z1 X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe mdss_dp0/1/2 had no sound-name-prefix, so the three DisplayPort backends were not distinct DAIs on the card. Add the prefixes. Enable the LPASS VA macro with the 2.4 MHz rate. This chassis has no onboard DMICs; the node still provides the fsgen clock to tx_macro and rx_macro. Without it both codecs fail to probe (-ENOENT). Tested-on: IdeaCentre Mini 01Q8X10, Purwa (X1-26-100) Assisted-by: Grok 4.5 (xAI) Signed-off-by: Jens Glathe --- .../arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi | 10 ++++++= ++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dts= i b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi index 76a9f745b279d..5a2db91d5e587 100644 --- a/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi @@ -665,6 +665,10 @@ eusb6_repeater: redriver@4f { }; }; =20 +&lpass_vamacro { + qcom,dmic-sample-rate =3D <2400000>; +}; + &gpu { status =3D "okay"; }; @@ -674,6 +678,8 @@ &mdss { }; =20 &mdss_dp0 { + sound-name-prefix =3D "DisplayPort0"; + status =3D "okay"; }; =20 @@ -682,6 +688,8 @@ &mdss_dp0_out { }; =20 &mdss_dp1 { + sound-name-prefix =3D "DisplayPort1"; + status =3D "okay"; }; =20 @@ -690,6 +698,8 @@ &mdss_dp1_out { }; =20 &mdss_dp2 { + sound-name-prefix =3D "DisplayPort2"; + status =3D "okay"; }; =20 --=20 2.53.0 From nobody Sat Sep 26 03:12:53 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3EA363E3D80; Sat, 5 Sep 2026 09:29:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; cv=none; b=jUt3wQA6zCPKnwAXiV2Z1CL7m1G2IKTVd3NBlOFPo2xh7mnMfBv3emcm4cDim88BNs27Jwwo4xQ2swiHI1XMD26DVTyyyTt1jILzsOEpEIjMFCl8lTkitQYjUabpFj45+jn6byy0HTOcJ4c+lt11ChXrpIPaMVXXq/wrFqOPF2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788600558; c=relaxed/simple; bh=x9bCHIdNxU686H3dTUnvG4JvEnW+JFzfX1E0/hrJ4yQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Aj3rW4ow2FM22pJOboWeQZkzI3AHiPQiVuKylFyATUXNTnA14Bwn5iLg8fbLZ5r3if8gKICHhjmtMPREvkOgYmBKcEeAoKeAGzdKs9KYG7D8mEkLKN0q+5WcmqmZ5IflaVZn56al/MpSNOYPtJXkGTmh7zyQWYp5sboUCSMdeE8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FaTOeCw0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FaTOeCw0" Received: by smtp.kernel.org (Postfix) with ESMTPS id ED9C5C4AF14; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788600558; bh=x9bCHIdNxU686H3dTUnvG4JvEnW+JFzfX1E0/hrJ4yQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FaTOeCw0SUc9GBw7HW690dLF84nY9BByAYZgyHgLpN1poDz+0R5hfC2BjmX5HKqhS dWS37hE77xALBiLZ3TYaejMS/QDX0XDtw3e5R1ujulQ5Imp2TcTlWGx3kLoWDnO3XS 3wl2tkOVKnOfWY6iE4qyTr+RpGQ2k9dbAcO1ClLyv4wGnE81woI3e/LwtPibLtGbPh wEdlksaIikrxWIul9L/RdyrTA+6291mwPKJ1A/6J8KOyPmX868CdEMrQs/b54M25U+ ohoH/c8p8iX3KIBA3jVqo0j/eiW4qhWQgtZtG/5EXQ14tow/LOfrLDTFuNu5ge6uVI bYoIgERV0Ga6Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD540C624DB; Sat, 5 Sep 2026 09:29:17 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 05 Sep 2026 11:29:02 +0200 Subject: [PATCH 7/7] arm64: dts: qcom: ideacentre-mini: Drop the unused USB MP port 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: <20260905-x1-ideacentre-mini-prettify-v1-7-9a87882973bb@oldschoolsolutions.biz> References: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> In-Reply-To: <20260905-x1-ideacentre-mini-prettify-v1-0-9a87882973bb@oldschoolsolutions.biz> 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, Jens Glathe X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788600555; l=2341; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=gkyKf5ZSbwzYMe5U0u9i2d5O8EacSLGu0fqHLK27Fys=; b=Wl7JQ/KLljoztzelh6cLZb3JnVOpKkmZCiCA10zUt5w7eCxUuOedIpntaagczI/B/6OCr16AM KhQgChYben+CHNuO4YciwAeyvVOlxYbGQA8hHw38YYdZsHDK+lG2wm3 X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe usb_mp port 1 (hsphy1, qmpphy1, PTN3222 @ 0x4f, TLMM 184) is not populated. lsusb only shows two xHCI controllers: USB-C on usb_1_ss0 and the rear ports behind a Genesys hub on usb_mp port 0. Remove that repeater, its reset pin, and the second MP PHYs. Pin usb_mp to usb2-0 / usb3-0 so the controller does not claim empty PHYs. Tested-on: IdeaCentre Mini 01Q8X10, Purwa (X1-26-100) Assisted-by: Grok 4.5 (xAI) Signed-off-by: Jens Glathe --- .../qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi | 40 ++----------------= ---- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dts= i b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi index 5a2db91d5e587..b720622c5d90e 100644 --- a/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-lenovo-ideacentre-mini-01q8x10.dtsi @@ -650,19 +650,6 @@ eusb3_repeater: redriver@47 { pinctrl-names =3D "default"; }; =20 - eusb6_repeater: redriver@4f { - compatible =3D "nxp,ptn3222"; - reg =3D <0x4f>; - #phy-cells =3D <0>; - - vdd3v3-supply =3D <&vreg_l13b>; - vdd1v8-supply =3D <&vreg_l4b>; - - reset-gpios =3D <&tlmm 184 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&eusb6_reset_n>; - pinctrl-names =3D "default"; - }; }; =20 &lpass_vamacro { @@ -1059,14 +1046,6 @@ wake-n-pins { }; }; =20 - eusb6_reset_n: eusb6-reset-n-state { - pins =3D "gpio184"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - output-low; - }; - wcd_default: wcd-reset-n-active-state { pins =3D "gpio191"; function =3D "gpio"; @@ -1184,6 +1163,9 @@ usb_1_ss2_qmpphy_out_dp: endpoint@0 { =20 &usb_mp { status =3D "okay"; + + phys =3D <&usb_mp_hsphy0>, <&usb_mp_qmpphy0>; + phy-names =3D "usb2-0", "usb3-0"; }; =20 &usb_mp_hsphy0 { @@ -1195,25 +1177,9 @@ &usb_mp_hsphy0 { status =3D "okay"; }; =20 -&usb_mp_hsphy1 { - vdd-supply =3D <&vreg_l2e>; - vdda12-supply =3D <&vreg_l3e>; - - phys =3D <&eusb6_repeater>; - - status =3D "okay"; -}; - &usb_mp_qmpphy0 { vdda-phy-supply =3D <&vreg_l3c>; vdda-pll-supply =3D <&vreg_l3e>; =20 status =3D "okay"; }; - -&usb_mp_qmpphy1 { - vdda-phy-supply =3D <&vreg_l3c>; - vdda-pll-supply =3D <&vreg_l3e>; - - status =3D "okay"; -}; --=20 2.53.0