From nobody Sun Feb 8 04:34:10 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 8514F38B7DC for ; Tue, 20 Jan 2026 07:07:02 +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=1768892830; cv=none; b=IPCkaWfGxrcLR7/b2zCbTBerJjqhvLMAl7jilDpJ4tZFNU7HXR2NxuMinySgXRrqAvgpD8aDK4PlU/TUtpWJ/Xbc1IyYl13P3pSpPDDJQsfXVE3UfsJnz0AIQFFR4mJlU3HmcOKwDIvnUGCQfxTaKeNDfGLzZ11he669zGPddbo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768892830; c=relaxed/simple; bh=Heybbx0oLSiM1n7CM/ikkK7NiNFSOBj3WsbNoCr8C2g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gA61zah+7BEOhpVUOWM/NSfqz+sYxDp7ROv/N1gIDhZAqozENulqNb8oMvGhLq4ZJZiq93g9THTC+1jvDtYNrWqXBqvlgRiIlxoQ8F5ekdEBHFh8cZKU3jPtMzbousmGiaGDdnb5/c+azYOJdq5+QDev+UeXWlKtpObWUKrgCH8= 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=JIWWyzlt; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DSIYmKeI; 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="JIWWyzlt"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DSIYmKeI" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60K2A1LC3177315 for ; Tue, 20 Jan 2026 07:06:58 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=LgmaNJfrCLG7PrqhwEP+tUt+Itejs18DV5R fEVDgXOc=; b=JIWWyzltFbzDgHnyLVCk0/SUn8SXmo+xkkuoK/C8km0yHpePeSy m+fF+ZJP7YlzUDGE9PUVpM2A1KzbJveDzaykkl5tREWGP37ypnr3BFXt6LGuMCn7 TeAdwNW8myRjgoXTQs8tcw5tkl7xE8hBKP/YFtxkrBcI3p9lc/+FAq2pvoAFX3kI jDTFWFsa3R/HF7ju2pljA0iJ0UcfafurtkUsDBisFLQh4a+Ciik8CL2LI8VE0G3E jgVC0qRtJvQoxq7r9C1Wl2Q+T4YWg9WiCKhL5Q5hAc/tQX/RXOzxPuVoFP8Klnzj McXU5Gd6riwPegXqBueaR5VhWdfifGi2+oA== Received: from mail-dl1-f71.google.com (mail-dl1-f71.google.com [74.125.82.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bt0p2grtc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 20 Jan 2026 07:06:58 +0000 (GMT) Received: by mail-dl1-f71.google.com with SMTP id a92af1059eb24-1233b81a92dso5471078c88.0 for ; Mon, 19 Jan 2026 23:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768892818; x=1769497618; 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=LgmaNJfrCLG7PrqhwEP+tUt+Itejs18DV5RfEVDgXOc=; b=DSIYmKeIvVlA0doAbx+98dIew2F0C41S8E7iGRErcVOkOLpcYPjfaJUAGC8yqfVqvv APDEs5j5uo9VcwuwM4uSRNH6Gu3KnRlnZ2ESEEVeF6gA5mu5Lw2Z0LQrEJgxkT1uBVxD HEj1kTY58rirMRf6UM4ZqH91befL8KoE5EgPYqH6Trl05D5eYsE0rNrXmaHgj0N8Nuy5 r91E2m3XIZsjPQbLMa8hICcZ6US4ZGCo6De2sHZWSgMcP1tIK4SFz7jvcTQhaUhKTwLq SVt9uOzq6PHd8fghGKkfJMiTfe9cH9+G0eZAT0dmGOEW+UuarPCjPXJmX5se7rXXtGje MSlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768892818; x=1769497618; 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=LgmaNJfrCLG7PrqhwEP+tUt+Itejs18DV5RfEVDgXOc=; b=GOy9VJZBKHp0lkcvX6Mip7p/tbiKzgsXWzyoiwjFhS6aI9z43Yx7RnkqdeRhfM9KLk UR/941jFtSG+NkfrbyGEjY8N8j8tVjs4nC6BpcbDm3z7Ss1EuAIfk6gCZyE0OWmdQp4e 0+kOWUSDhzYAo0K+ETPy6591n7LL4mzea7pjQSgQxMF/fAnb04fDzrO6oKuLbAaCRRL8 GgxUKGQPtwN1FQZFO4INr88S9/SOttzbKPrL0l1pBRcDTIsci8PjvJeAIAjBOa5QgZv0 vtjXgxpvBdBntCHflSLmNMHwZ3UbadH9g3C5DgM2hz9123eRA5K9oL2ddu03prkzJlIS pXoA== X-Forwarded-Encrypted: i=1; AJvYcCVqFYvgFhXKDIOuwfrhdD/9O9UI8s7XiHRvyRI77zm9jVoU/WIIm5eATntv0xl2fAhJDZe6tAuSQZpZOts=@vger.kernel.org X-Gm-Message-State: AOJu0YyFvioLGUrTSSVKoKAHcggTSeJrUmQTYeJT+6Qh/Pn6WzUYbzYX D1Ub6tY0Hhom54Wopc3yXzGEkB0+/kYrftyy+5t+bZvMLDwRQFxMNx/BnGYkJ/Vg4M6W6Rq5Ldw b4jgyC7VrQVTN0/5jfFDakFauWsquQO0LNTGn1Z0Q/nx1sVXw6pY2TkWlfdAVO51bX78= X-Gm-Gg: AY/fxX4MMwWAqqwThD812bRmIxBAMJ+Y3Y/BJRjxgXuvhGSL7uvotAtHYzR0tzqyytJ TKoeSU4npm7HVgBfJeeJLpszba06BApeFmxbNfrxyFHHwpUzGJ/VspWPF4VkhXkqU5964DXAIPZ ucF9ns8xPCr1fSetp/6UBpFntiH1BnzEdmqpIU+9eoBk8WF0r+ruEQW2iNEXWKPuTAwuDgvoQ5x RNdl7P7UiSrt3tD5fBt2tQR0h1KcTtVcMBm6Vm90gDs40s72+T8nhRqNc5WWOev2mojlRspNhOO sjDaRnpzEkRy0drmQNEI/DvZm44V4Hc7qVbFYcdxQLeKeQLf6Hb0blpbzazT23X9Wbo+WYiRebB BNoYylAzLsQEjzPD1xke50JVyOGXy7q/L0aR9Fo+WyZUExQERA7wvo0tOjVJ/1hG05w== X-Received: by 2002:a05:7022:2381:b0:11a:4ffb:984f with SMTP id a92af1059eb24-1244ac400cbmr9688057c88.11.1768892817738; Mon, 19 Jan 2026 23:06:57 -0800 (PST) X-Received: by 2002:a05:7022:2381:b0:11a:4ffb:984f with SMTP id a92af1059eb24-1244ac400cbmr9688042c88.11.1768892817046; Mon, 19 Jan 2026 23:06:57 -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 a92af1059eb24-1244ad740c5sm20492756c88.8.2026.01.19.23.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jan 2026 23:06:56 -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 v8] arm64: dts: qcom: qcs8300-ride: enable WLAN on qcs8300-ride Date: Mon, 19 Jan 2026 23:06:49 -0800 Message-ID: <20260120070650.3192679-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-Proofpoint-ORIG-GUID: mLvH8RIMyFsIwnjcqscqSJvc9zMXI3lG X-Authority-Analysis: v=2.4 cv=drTWylg4 c=1 sm=1 tr=0 ts=696f2992 cx=c_pps a=JYo30EpNSr/tUYqK9jHPoA==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=b5B5FA7t-L3a07aDtOMA:9 a=Fk4IpSoW4aLDllm1B1p-:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: mLvH8RIMyFsIwnjcqscqSJvc9zMXI3lG X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIwMDA1OCBTYWx0ZWRfX9Hkvq6KWCuiN 0i5hUYdp3+H3YjfgambwGENSKaQ3tKHibuErm09xy9eDWFRR+Qqwcn75qBwzDjqWPQgpcwFouLg XxldcZvKIx+fPjhs46A6eAkuqrAT+rz7k+oelwal0D6GXiIIFy4Gu05XvnDCq0+JH1WJ++8FiyS pRCEbP7+E0FcOJ4p7jOGaImDAoWXJRhitlYVkrFChLpe6fL7pkjaX+It1BJLgSk6jdM3j3zrcaq wJjFbJ2U9mds2ZdQ/2zKGpj5guVvnespS3Tztxsbnsbkj2zDv4a1xvWXPzURhNRb7+g7sDiqL2z gID3X5MPPz2mJ/69i0wMxzqFW8EmGN/1hehDylfyXgR0A/E/2UntBBSK1cOIAVgFLQbUz7MXyhq z1WCN02avieogLxX8fGyjX285tEE90+jYN3wasR8aJTSLDecDSP8GyF5v6jk3YeOM92EjGucNhb LKoMHdHvNRivjgff/eg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-20_01,2026-01-19_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 bulkscore=0 adultscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601200058 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 --- This patch depends on: - PCIe https://lore.kernel.org/all/20251128104928.4070050-1-ziyue.zhang@oss.qualco= mm.com/ Changes in v8: - Reordered regulator nodes to maintain alphabetical consistency (Dmitry) - Place wifi@0 node under existing pcieport0 label - 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 | 105 ++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dt= s/qcom/qcs8300-ride.dts index 68691f7b5f94..864b32503d29 100644 --- a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts @@ -24,6 +24,26 @@ chosen { stdout-path =3D "serial0:115200n8"; }; =20 + 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_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"; @@ -33,6 +53,68 @@ 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>; + vddrfa0p95-supply =3D <&vreg_conn_1p8>; + vddrfa1p3-supply =3D <&vreg_conn_pa>; + vddrfa1p9-supply =3D <&vreg_conn_1p8>; + vddpcie1p3-supply =3D <&vreg_conn_pa>; + vddpcie1p9-supply =3D <&vreg_conn_1p8>; + + 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 { @@ -327,6 +409,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 { @@ -461,6 +560,12 @@ perst-pins { bias-pull-down; }; }; + + wlan_en_state: wlan-en-state { + pins =3D "gpio54"; + function =3D "gpio"; + bias-pull-up; + }; }; =20 &uart7 { base-commit: 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7 prerequisite-patch-id: 0e8aad7b8514142fb33c17829386f17c3a55127a prerequisite-patch-id: e641f09d4139ac77c34757bd08af2db746de3963 prerequisite-patch-id: 4d16e87cf6213d6e25b2c40e2753d4e629778d53 prerequisite-patch-id: 40187dae2c9518a10866104b9fcd5a481ac67d51 prerequisite-patch-id: dd3bdf2aebda74f3603aff24a2c9aaa7f4fd6763 --=20 2.34.1