Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 1765438F923 for ; Tue, 3 Feb 2026 07:18:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770103101; cv=none; b=TzstF0gnrSW2Xu7vF7eAUYoeQ5PK7wd6mYaqj1rNS4kfbz1PKL+0Bk+LN6AQBXvZyj2WPCt7lIxHUiyaslH8Kc1meAYu3wPAoaG6FOjdH0KpVPEDLiRdijsQtPY1qPnm2BnWQ7cTU7lFfV+1v8L9q1aDXlBUT7BTfgI4KOwTHQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770103101; c=relaxed/simple; bh=zqgXDC27wrbH231qmnfXbqUHNTA251yMVXx7ll5Lfjc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=TvgOnJD5AB398splEnqPfPbneGurPJvxzVYvPupeYR8FOoMlMTeOmOxjY8BBUNqCPZ6PsfBGibsJlNRwbzjN/uWHiuW4rZca4PUPZX+EStb3813jEIvOcuH9p2DDwb3wLFRw6vGey7qHTRsgOZcOqx06cDAv3sC4JH5W8f3MFso= 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=dBSCLEUf; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=G+24kbhV; arc=none smtp.client-ip=205.220.180.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="dBSCLEUf"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="G+24kbhV" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61362xkn3916029 for ; Tue, 3 Feb 2026 07:18:19 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=BI9OYiyYyM84p9UdwJQqnP8/H4HjmMVwzks g/PS1Dfs=; b=dBSCLEUfzPsBXV1oqRlkrsRAMkG2Q+jWeO0Vikh70VcSlhTOpO9 Ype/0GTRCamBJDyFKvVEpxAZyqwLe3hDVNJ2wZonvUE/mcrYLOYlCQFM0aQ5JxNP bAWKx4rEubW9YYQmyvV0xyKsp44/oJ7ffR759ou22F6IrjHfrFVjkTvFxayRrlaX RPqYp/cSIZXEHkKK9/RPaW0stbFXyOI0a2IonN655+FjtlQF7EEjHDS0ytkvl1Qj Hw6tG2Nrijm6djhDJ2z13lZXD8YhMfxEIgTmeEs2MVI7GIExi4EgesL0EZrGlac3 Ld+81PW7AtlF3niWDy0fOInosu05d35fvtg== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4c2tkmkcb0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 03 Feb 2026 07:18:18 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-81f42368322so4628598b3a.3 for ; Mon, 02 Feb 2026 23:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1770103098; x=1770707898; 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=BI9OYiyYyM84p9UdwJQqnP8/H4HjmMVwzksg/PS1Dfs=; b=G+24kbhVQOJ/AA+LFUkfLxGRQc5HatHm/uaQwR4MXXz20rwhZ/KFcy9gvlmjoKBP9h tNisLJJJrehjKhKZWc6VwcQ1yoao6Bfwxl44tYrEDo1vUyGqhnAitoPwgL03S65KUcpM GfRDeB6icUzjiJJr3jPVMGkrTyw1lUQX+1PS7OJeGj5lWX9itBdu3uzMO9pcK71fgHPX gczPxELu2O/1g2kV63eNZI4y6EeMpgE5G6H4VQMG59cZSf96Hw0IK1Qt5KqFZ/9HWYN7 hWDe/B9uYMD9tkSafaW8ci4BoZJawjwmDBEFCTdq8XAeWvtl7lsdScGJmWHqOS1QmRIO mNmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770103098; x=1770707898; 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=BI9OYiyYyM84p9UdwJQqnP8/H4HjmMVwzksg/PS1Dfs=; b=Mrl9B6A9ImhP8IzAGReWZIfmNncIFQnEICY/+8RxwJxR7ahdNdx6TAHUBO3ro5zMeV wuA6feYK1xPDc+6wnwHFVHkLEcN1A8IiKo1UUkBeSq4CZb/mcfrp+mZV+JhWxeNs+d37 OWXgRFl9rb4CUSCi9RY3wWKjR86W7tBfcwFRwemoZRaYBV2wQSKxomHETeF9kYSqtLZi nKOFrTJHNFyYpI8hr5XIlnjPHYk6r6xLeb7y/A6unz9f++JCRPBahxK3QQp1QfIUsDKc +kCmbbmnOxomzL6yrP17hpfYJmpLwQ/ZsyYttB+DfCWdf8kVR4Q6tKq6yEJ8f1k0fRPD oeFg== X-Forwarded-Encrypted: i=1; AJvYcCW/vKvchYcKqWX6mXi8YHZocs+vg11EjpeF11lJXRODNMjD7LWmoadUDRyOOxTxtf2p1svPXSdtxM21MwzH@vger.kernel.org X-Gm-Message-State: AOJu0YzzEqWWXRIDJACfgdFpe0qfWebnQGCLYD1AAEzODFSNfl796vbT xqlpPbRdnloBSqpa5p6/onx07TvHk5oYwpIZxz1eIawlfIPRpogiZG9D7O65Z8bN0BEO1qf2LkQ TIQmDZzs4QLgTvT5XaG9O1XqGJWY2tcbELqWNYggh/9HnFGYtnImPNhlrbCpi/1LMHalu X-Gm-Gg: AZuq6aKcIylGJVoRlJsUj5lpWhuIPFlW0Nn2OqBXxUQjp2gZjk08c3LS/As3DXBxph+ E0JJVu9VDP0PhBvUcuspuwJHGNELeHArvwHsiXVZ7IauI31/PbertMKYAsH7PknZA3huHVH9S8/ YSfQMKgTKgnSxsHEU6y4fGfa6Ctj244s1rnCaGcNgaQ1ADHnw8VaJFEcE3MR+dbe0CgZujiJSbP JOzVRmDMdsawU4kPdWBR/AWlX7rhqXSlPCcSUb0i+7c5mwzGbmpryixG7oD8jxL7lSi2Z6K1pvl srmJF2oVUQgCM7lE//ivSLckzyVm5KoCDvgnvz3IVGrrjNUIGKzeVK0SQZCU+6mVYHRmaMtPhZz paOMVvNRAa/+/uUKnGN57V6NsRIzRrApNnL4PAW+6Cg== X-Received: by 2002:a05:6a00:ad5:b0:81f:4dc7:d44 with SMTP id d2e1a72fcca58-823aa94032fmr12627326b3a.66.1770103097807; Mon, 02 Feb 2026 23:18:17 -0800 (PST) X-Received: by 2002:a05:6a00:ad5:b0:81f:4dc7:d44 with SMTP id d2e1a72fcca58-823aa94032fmr12627299b3a.66.1770103097258; Mon, 02 Feb 2026 23:18:17 -0800 (PST) Received: from hu-janathot-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82379b23020sm17827578b3a.1.2026.02.02.23.18.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 23:18:16 -0800 (PST) From: Janaki Ramaiah Thota To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: quic_mohamull@quicinc.com, quic_hbandi@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Janaki Ramaiah Thota Subject: [PATCH v1] arm64: dts: qcom: qcm6490-idp: add and enable BT node Date: Tue, 3 Feb 2026 12:48:07 +0530 Message-Id: <20260203071807.764036-1-janaki.thota@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=TaebdBQh c=1 sm=1 tr=0 ts=6981a13a cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=86PJZVPQ1pRugi-lMccA:9 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-GUID: b1E6-cNGgG4scfmB951ER9GQ9CmY9WDu X-Proofpoint-ORIG-GUID: b1E6-cNGgG4scfmB951ER9GQ9CmY9WDu X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjAzMDA1NyBTYWx0ZWRfXx4KIlmPkkeYJ sUeLYReP07jhXLkfX/NtsetSVR6lVnZqRe1piNdWgMQiqpeijzOxLwMTbLrtYzq43hZw3LctoBk IjlqvEJDjSrlLFCTWhc+9uyCbVM16oIY6zV2xOGm0/OzEfVmRdbxXy87rVxoEW5vy19yIwmO7BO /kUB0DqLFNcxy2XkRaJCyt7MutiqLO6j/Im/h7uUh0Qqav2aTX6Yoh13w6TI/cqftkVRbOstHi9 vsFPzZv7QKGTdehIFeTA0wihDHaYnoGbClaZdzS/DE/kjx825/u53t6l0PJJf1F4QiUnpBWICHx w9YTp3Pgf0Deeq1CA6OlSBJk/3CsTQWyBRsEPG6LVLoPK09Z4fPAh05GZSfwqP9fehrFery8O15 KEpNxZDl4pRXZ0/4XLuQgsIa5T2eAIBHW7pmdn5iJqJZxhR43+5Ls1fGrdDRSbhebtMWQrdSbLB ggzoXiRjdm8vSOtwA9w== 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-03_02,2026-02-02_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 priorityscore=1501 clxscore=1011 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602030057 Add the PMU node for WCN6750 present on the qcm6490-idp board and assign its power outputs to the Bluetooth module. In WCN6750 module sw_ctrl and wifi-enable pins are handled in the wifi controller firmware. Therefore, it is not required to have those pins' entries in the PMU node. Signed-off-by: Janaki Ramaiah Thota --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 169 +++++++++++++++++++++++ 1 file changed, 169 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index 089a027c57d5..4c9f16cc2e4d 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -36,6 +36,7 @@ / { aliases { serial0 = &uart5; + serial1 = &uart7; }; pm8350c_pwm_backlight: backlight { @@ -194,6 +195,63 @@ wcd9370: audio-codec-0 { #sound-dai-cells = <1>; }; + + wcn6750-pmu { + compatible = "qcom,wcn6750-pmu"; + pinctrl-0 = <&bt_en>; + pinctrl-names = "default"; + vddaon-supply = <&vreg_s7b_0p972>; + vddasd-supply = <&vreg_l11c_2p8>; + vddpmu-supply = <&vreg_s7b_0p972>; + vddrfa0p8-supply = <&vreg_s7b_0p972>; + vddrfa1p2-supply = <&vreg_s8b_1p272>; + vddrfa1p7-supply = <&vreg_s1b_1p872>; + vddrfa2p2-supply = <&vreg_s1c_2p19>; + + bt-enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; + + regulators { + vreg_pmu_rfa_cmn: ldo0 { + regulator-name = "vreg_pmu_rfa_cmn"; + }; + + vreg_pmu_aon_0p59: ldo1 { + regulator-name = "vreg_pmu_aon_0p59"; + }; + + vreg_pmu_wlcx_0p8: ldo2 { + regulator-name = "vreg_pmu_wlcx_0p8"; + }; + + vreg_pmu_wlmx_0p85: ldo3 { + regulator-name = "vreg_pmu_wlmx_0p85"; + }; + + vreg_pmu_btcmx_0p85: ldo4 { + regulator-name = "vreg_pmu_btcmx_0p85"; + }; + + vreg_pmu_rfa_0p8: ldo5 { + regulator-name = "vreg_pmu_rfa_0p8"; + }; + + vreg_pmu_rfa_1p2: ldo6 { + regulator-name = "vreg_pmu_rfa_1p2"; + }; + + vreg_pmu_rfa_1p7: ldo7 { + regulator-name = "vreg_pmu_rfa_1p7"; + }; + + vreg_pmu_pcie_0p9: ldo8 { + regulator-name = "vreg_pmu_pcie_0p9"; + }; + + vreg_pmu_pcie_1p8: ldo9 { + regulator-name = "vreg_pmu_pcie_1p8"; + }; + }; + }; }; &apps_rsc { @@ -695,6 +753,39 @@ &pon_resin { status = "okay"; }; +&qup_uart7_cts { + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; +}; + +&qup_uart7_rts { + /* We'll drive RTS, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qup_uart7_rx { + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module is + * in tri-state (module powered off or not driving the + * signal yet). + */ + bias-pull-up; +}; + +&qup_uart7_tx { + /* We'll drive TX, so no pull */ + drive-strength = <2>; + bias-disable; +}; + &qupv3_id_0 { status = "okay"; }; @@ -920,6 +1011,59 @@ &tlmm { gpio-reserved-ranges = <32 2>, /* ADSP */ <48 4>; /* NFC */ + bt_en: bt-en-state { + pins = "gpio85"; + function = "gpio"; + output-low; + bias-disable; + }; + + qup_uart7_sleep_cts: qup-uart7-sleep-cts-state { + pins = "gpio28"; + function = "gpio"; + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; + }; + + qup_uart7_sleep_rts: qup-uart7-sleep-rts-state { + pins = "gpio29"; + function = "gpio"; + /* + * Configure pull-down on RTS. As RTS is active low + * signal, pull it low to indicate the BT SoC that it + * can wakeup the system anytime from suspend state by + * pulling RX low (by sending wakeup bytes). + */ + bias-pull-down; + }; + + qup_uart7_sleep_rx: qup-uart7-sleep-rx-state { + pins = "gpio31"; + function = "gpio"; + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module + * is floating which may cause spurious wakeups. + */ + bias-pull-up; + }; + + qup_uart7_sleep_tx: qup-uart7-sleep-tx-state { + pins = "gpio30"; + function = "gpio"; + /* + * Configure pull-up on TX when it isn't actively driven + * to prevent BT SoC from receiving garbage during sleep. + */ + bias-pull-up; + }; + sd_cd: sd-cd-state { pins = "gpio91"; function = "gpio"; @@ -938,6 +1082,31 @@ &uart5 { status = "okay"; }; +&uart7 { + /delete-property/ interrupts; + interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; + pinctrl-1 = <&qup_uart7_sleep_cts>, + <&qup_uart7_sleep_rts>, + <&qup_uart7_sleep_tx>, + <&qup_uart7_sleep_rx>; + pinctrl-names = "default", + "sleep"; + + status = "okay"; + + bluetooth: bluetooth { + compatible = "qcom,wcn6750-bt"; + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; + vddaon-supply = <&vreg_pmu_aon_0p59>; + vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; + vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; + max-speed = <3200000>; + }; +}; + &ufs_mem_hc { reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; vcc-supply = <&vreg_l7b_2p952>; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project