From nobody Sun Apr 5 13:05:00 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 A42EE2C21F1 for ; Wed, 25 Feb 2026 07:15:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772003718; cv=none; b=S+U9WcPdUnA4uxAwbNZhsw0O5GdBzGzqM91GvQcDNyCxyN/kH1AgHCJ40KbR4+Yon9Vlk4rVCe5vYTu6Y3mM5zGieenmHdVAOPpsibNheOQBBadqnAZ+NezQ3deYaTghZidgD2M5R6KXxt+6YvANmAhue6JnaRbgt1/7uogglfQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772003718; c=relaxed/simple; bh=2FkuvrAL957feqAugl7hNC/uH7HEBQVrSNGLr8TfhMA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uS9HBqzzIXkHskp0un60Awq1ZuJR52fWKx/4Lj3xFJ4ALItr1sO/jW5hHjCY0+asOApT9uaQv5kiBnGQ0+nfUBwY6XkVGp49N1BjIg4rYPElkp05dfDblqvVma8RDA7iVehIFoVhF6SjaWue4dcUynhmHZlZtNEmVBQKvvXVfpU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=g+0pmMsH; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Pkcw0MZb; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="g+0pmMsH"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Pkcw0MZb" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61P18NKm4150432 for ; Wed, 25 Feb 2026 07:15:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=ehd+jXMRqn16f0JHs38G+WSLps6pmBN5n4u w9sHEpOs=; b=g+0pmMsHNySLD0AwhKjvPl8ic6WlOM3tdSX/pDTsCMwdTau2p+g Z2h9u7noWOufDXXzdvzlyyEks7o/zFyADfL1zZ+dqI8U9Au5vrtkcl8sd63hmLYg Ld4CS6jwX1sakHgJIY5C0HnuHXXMYL6b6ffwUgFZkkVDPrPCKwKVe1yqyIczNP1p 7GDSY/ZGAeVkEhISvaGdsrNDG2kw7PqyAFqTsNsD1fde9PN7iXk14fFLUu76JIVi Bq2iWIlmqDd2lcloFb4D964RGZMPHgYLvG/tQqY41zy529ZZAOmkmepUfjBHWpVE WwjBGRyeshkYBkwOQOmfFVLvaGKO7J9eOqw== Received: from mail-dy1-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4chq57ruge-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 25 Feb 2026 07:15:15 +0000 (GMT) Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-2ba9a159437so5907113eec.0 for ; Tue, 24 Feb 2026 23:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772003715; x=1772608515; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ehd+jXMRqn16f0JHs38G+WSLps6pmBN5n4uw9sHEpOs=; b=Pkcw0MZbePbHErCyJ0fd5HLG6FQJRWg+DHHWBLMTGVXbVbFOMqWYMgnY2EBnZzENkm ZXfzcOyOvwvEyIPoj2co9LqiRoOG1oJTSoG3cGd0VVH0v8uU/IlDBZfNwjExrj6wDqyO nhZEcMfDNoOMQ1NGCi2CkWWB4OiKwJ0LUw97YzgdC+FTNZ7oDgil4nBI1sYNJjcroJPQ v6Nbkkel3RW7lDTXsdZG35WTyhBumkLSD74Z98Ue39JcJ6dmYCZ96xSSiQMTFc3yGGoW Vvk075MkxdU/NyIrsQXwLI0FVrrKHOjvIei+4CHQ0zrduJdu+GJKuPLvBvl9yzSykAGu 9nNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772003715; x=1772608515; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ehd+jXMRqn16f0JHs38G+WSLps6pmBN5n4uw9sHEpOs=; b=mfUQnVPXwZG7dudkoq8PHQiMi1/7ap4fbGd29kx5Wb0fnqVehMv2QEAaFB8tUy+Bh6 wRKgBT5SoCMLBx6xAMQcsn3EadSZ74vnxok9NGKDEl86TET+NNmCvYzqVLgdkqA1sbiM 9Ekodoyv79kB8PBzHM4WFFH+6b386DDlV1Qpn+zR7kDnPxV1hAg1DouWtGAwsxmZgP+q 6Mejb8QQTBdbr6yfjJ6NttUlRodq4aHSh2WqhvbuaQ8l6CYsmJQamC31IzM/AJz76KPP 80IgLRQhjElryp4KZH9aqWbYpdK03TlBe57Gkp0i8egEvPbDu6XbMiW0cj3UWRgkBtwy sfag== X-Forwarded-Encrypted: i=1; AJvYcCVLGbWAFuNvKNsv4jhODuMDiS1R+oL5yEs3QqGCp/7/rJCgGEI0WKqMm85YLyCrsFNXiE7FeTF9XU4Qubw=@vger.kernel.org X-Gm-Message-State: AOJu0YyBtjw8guVYp3d0Iz/pblIyABpao//Wj5kkcTxd/frIIVX3sZeP RHYJcaWuhbE5Y9EKTGhxCI6o24L0wq8IppsG6swxWeeUuBGmjVEqpW8dmWgOMWyC9RsDLX6J+4F MtdQBm/h/9Ax+GcctGUqwvMZ8egP1kl5mMHZBd989bLB5Ps6/lW651LsDHaN1mS1xmoDJB6RV1E o= X-Gm-Gg: ATEYQzzKFvj3i8q1V9Nt+yVFnCDBRHPSDwz/G4DciRu95713k7MHXYGKBPD76hKZkvc EVkuZZvPpkamxAf10OwwBSeftTFQdEMDjjv6qeDFPKwnE8ZsqKje30iGn6S1q8XMShTyfYWAxq4 OHdAnLw7bJU9X51qoxcoUNv1dQqX3HyUX15j53XwsCrwUIa47F0wZHQ7j64AjsMXRuREkRbEAgu C8DoNKyZDIHiEO/DOv+eGZ+2fmzV+DjxNt4EYMECDSPAXU1TJAsiGkqtV5SdYeawOmilJGixvxX fQ556yhHU3fXBamKAABeYk2uig2ZVNaFqJBPNhWGyrN8J31T1VKeeE6j135Dyf56DlAX/aQQT7f V27NhauQjdPhiq+M+O7wZ0vHERwCqTD2NtOxt1VkvBQdiL7I+D6CJONgvyxTdVhdxfiK/2pkQQQ Rl4Q== X-Received: by 2002:a05:7300:8c07:b0:2b7:f145:a9c with SMTP id 5a478bee46e88-2bd7bd4f31amr5546797eec.34.1772003714776; Tue, 24 Feb 2026 23:15:14 -0800 (PST) X-Received: by 2002:a05:7300:8c07:b0:2b7:f145:a9c with SMTP id 5a478bee46e88-2bd7bd4f31amr5546775eec.34.1772003714138; Tue, 24 Feb 2026 23:15:14 -0800 (PST) Received: from san-w175-na3-01.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2bd7dbe8304sm8383932eec.17.2026.02.24.23.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 23:15:13 -0800 (PST) From: Wei Zhang 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, Wei Zhang Subject: [PATCH v10] arm64: dts: qcom: qcs8300-ride: enable WLAN on qcs8300-ride Date: Tue, 24 Feb 2026 23:14:59 -0800 Message-ID: <20260225071459.1600394-1-wei.zhang@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=faOgCkQF c=1 sm=1 tr=0 ts=699ea183 cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=b5B5FA7t-L3a07aDtOMA:9 a=6Ab_bkdmUrQuMsNx7PHu:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: CCyi3heehicjolNMOEJ4dHKKa8cPaNXx X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI1MDA2OSBTYWx0ZWRfX4Q50YFtSf5ug X6uZgDuHrOyXsbMgIZJaOAbP7RmyzenmuAqjHif3SLKcb2ubhJG60bVaIBmS535Zhrn1DWkIM2N 8+A8cPTIleP580yjK6W1JEvhEMJzhEogA9nxiGWZkeTeVr3htAVnGmoTq5Xk8Wfr4/daB9nPlH1 aRcHvViEsq6HxhnL4FCrZcjT6gPUN3RvPTmtev6YZFkcdfNaAf6hy5VX9IYdNdjjn7HOwt67hKQ f2DECJ30bDGkQPOQcCoTt7mo+SvU1hcJQmCJLfCUdHLGppqi5sR0ysj4bTDDwdHH3/fjB7cZ/Yj GGCPZKcwFwVi0WN+W92YJjtjC/bJkg8L/Lhrxv91uTEHtOIdrN2hLO49uv/8zONDatPlXYCPJNZ MnTD2hnYvjon1R5ELIh0X8lRqpnxibWQHroXEEG09aZ96eghwi7yr3CqbvYcG+78MN2QvCtt7NA f347VEffp6xpoHEt9gA== X-Proofpoint-GUID: CCyi3heehicjolNMOEJ4dHKKa8cPaNXx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-24_03,2026-02-23_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 impostorscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 bulkscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602250069 Content-Type: text/plain; charset="utf-8" Enable WLAN on qcs8300-ride by adding a node for the PMU module of the WCN6855 and assigning its LDO power outputs to the existing WiFi module. On the qcs8300-ride platform, the corresponding firmware and BDF are QCA6698AQ instead of WCN6855, which have been added in the 20250211 release. Signed-off-by: Wei Zhang Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- Changes in v10: - Rebase patch - Change WLAN EN gpio default state to pull-down (Konrad) - Link to v9: https://lore.kernel.org/all/20260122053624.4068718-1-wei.zhan= g@oss.qualcomm.com/ Changes in v9: - Refine and add precise descriptions of the WLAN voltage rails (Dmitry) - Link to v8: https://lore.kernel.org/all/20260120070650.3192679-1-wei.zhan= g@oss.qualcomm.com/ Changes in v8: - Reordered regulator nodes to maintain alphabetical consistency (Dmitry) - Link to v7: https://lore.kernel.org/all/20260119090758.2780678-1-wei.zhan= g@oss.qualcomm.com/ Changes in v7: - Align regulator node names to match the existing naming style in the dts = (Dmitry) - Link to v6: https://lore.kernel.org/all/20260119080125.2761623-1-wei.zhan= g@oss.qualcomm.com/ Changes in v6: - Rebase patches - Remove unintended 'output-low' from wlan-en-state pinctrl (Konrad) - Link to v5: https://lore.kernel.org/all/20251113055148.2729943-1-wei.zhan= g@oss.qualcomm.com/ Changes in v5: - Rebase patches - Flip the order of property-n and property-names (Konrad) - Flip the order of bias and output property (Konrad) - Link to v4: https://lore.kernel.org/all/20250325075331.1662306-1-quic_sto= nez@quicinc.com/ Changes in v4: - Rename the symbol pcieport0 to pcie0_port0 (Konrad) - Adjust the property order in node pcie0_port0 (Konrad) - Add to the commit message mentioning FW and BDF used by QCS8300 (Dmitry) - Specify the calibration data using the correct variant (Dmitry) - Link to v3: https://lore.kernel.org/all/20250318093350.2682132-1-quic_sto= nez@quicinc.com/ Changes in v3: - Complete the nodes property definitions according to DTS binding requirem= ents (Bjorn) - Link to v2: https://lore.kernel.org/all/20250227065439.1407230-1-quic_sto= nez@quicinc.com/ Changes in v2: - Rename the nodes name according to DTS coding style (Konrad & Krzysztof) - Provide regulator-min/max-microvolt to the regulators (Konrad) - Link to v1: https://lore.kernel.org/all/20250210062910.3618336-1-quic_sto= nez@quicinc.com/ --- arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 130 ++++++++++++++++++++++ 1 file changed, 130 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dt= s/qcom/qcs8300-ride.dts index c04e0ad53eec..2ed1015b3465 100644 --- a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts @@ -36,6 +36,50 @@ dp0_connector_in: endpoint { }; }; =20 + vreg_conn_1p05: regulator-conn-1p05 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vreg_conn_1p05"; + regulator-min-microvolt =3D <1050000>; + regulator-max-microvolt =3D <1050000>; + vin-supply =3D <&vreg_conn_1p8>; + }; + + vreg_conn_1p35: regulator-conn-1p35 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vreg_conn_1p35"; + regulator-min-microvolt =3D <1350000>; + regulator-max-microvolt =3D <1350000>; + vin-supply =3D <&vreg_conn_1p8>; + }; + + vreg_conn_1p8: regulator-conn-1p8 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vreg_conn_1p8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + startup-delay-us =3D <4000>; + enable-active-high; + gpio =3D <&pmm8650au_1_gpios 4 GPIO_ACTIVE_HIGH>; + }; + + vreg_conn_1p95: regulator-conn-1p95 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vreg_conn_1p95"; + regulator-min-microvolt =3D <1950000>; + regulator-max-microvolt =3D <1950000>; + vin-supply =3D <&vreg_conn_1p8>; + }; + + vreg_conn_pa: regulator-conn-pa { + compatible =3D "regulator-fixed"; + regulator-name =3D "vreg_conn_pa"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + startup-delay-us =3D <4000>; + enable-active-high; + gpio =3D <&pmm8650au_1_gpios 6 GPIO_ACTIVE_HIGH>; + }; + regulator-usb2-vbus { compatible =3D "regulator-fixed"; regulator-name =3D "USB2_VBUS"; @@ -45,6 +89,69 @@ regulator-usb2-vbus { enable-active-high; regulator-always-on; }; + + wcn6855-pmu { + compatible =3D "qcom,wcn6855-pmu"; + + pinctrl-0 =3D <&wlan_en_state>; + pinctrl-names =3D "default"; + + vddio-supply =3D <&vreg_conn_pa>; + vddaon-supply =3D <&vreg_conn_1p8>; + vddpmu-supply =3D <&vreg_conn_pa>; + vddpmumx-supply =3D <&vreg_conn_1p8>; + vddpmucx-supply =3D <&vreg_conn_pa>; + /* WLAN rails: 1.05/1.35/1.95V (nominal 0.95/1.30/1.90V) */ + vddrfa0p95-supply =3D <&vreg_conn_1p05>; + vddrfa1p3-supply =3D <&vreg_conn_1p35>; + vddrfa1p9-supply =3D <&vreg_conn_1p95>; + vddpcie1p3-supply =3D <&vreg_conn_1p35>; + vddpcie1p9-supply =3D <&vreg_conn_1p95>; + + wlan-enable-gpios =3D <&tlmm 54 GPIO_ACTIVE_HIGH>; + + 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_1p7: ldo7 { + regulator-name =3D "vreg_pmu_rfa_1p7"; + }; + + vreg_pmu_pcie_0p9: ldo8 { + regulator-name =3D "vreg_pmu_pcie_0p9"; + }; + + vreg_pmu_pcie_1p8: ldo9 { + regulator-name =3D "vreg_pmu_pcie_1p8"; + }; + }; + }; }; =20 &apps_rsc { @@ -363,6 +470,23 @@ &pcie0 { &pcieport0 { reset-gpios =3D <&tlmm 2 GPIO_ACTIVE_LOW>; wake-gpios =3D <&tlmm 0 GPIO_ACTIVE_HIGH>; + + wifi@0 { + compatible =3D "pci17cb,1103"; + reg =3D <0x10000 0x0 0x0 0x0 0x0>; + + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p7>; + vddpcie0p9-supply =3D <&vreg_pmu_pcie_0p9>; + vddpcie1p8-supply =3D <&vreg_pmu_pcie_1p8>; + + qcom,calibration-variant =3D "QC_QCS8300_Ride"; + }; }; =20 &pcie0_phy { @@ -503,6 +627,12 @@ dp_hot_plug_det: dp-hot-plug-det-state { function =3D "edp0_hot"; bias-disable; }; + + wlan_en_state: wlan-en-state { + pins =3D "gpio54"; + function =3D "gpio"; + bias-pull-down; + }; }; =20 &uart7 { base-commit: 7dff99b354601dd01829e1511711846e04340a69 --=20 2.34.1