From nobody Mon Feb 9 21:21:34 2026 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2BA81DB141 for ; Sun, 2 Feb 2025 12:16:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738498580; cv=none; b=e4M+YY2xWuBls/fCqLVg7OLDiBmCdWzPs8p34yj+ohZ8fijiHp7FLcgrclzOHQmxhmP9x3tTxPe7mBV1VDcv9D8bBdx2NlxMe6hWOSxbgTje318MrVM3M9I7fTz2XuEiWjD9DwxFVkS40iq/MjSzQIPY2p5Ds2j1IZ2iN+PaFpQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738498580; c=relaxed/simple; bh=JNFb6Y/XdVHYoGkQV0QeQUNrQN1lFqLu5lpLIO5kuFE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UXpIpKm60nJr/hXiD0DtpawsFH8zkeVWk1qurPIMBRyE/YzoRo9i9LF6I3XIQ93mDesDTmcQK7taObPJEwHnkDguKswvModNz7cKhxzzruepJp8M08TofKbE2jztprydizHizuT5NKfcTMHAPg3c5T1VsQBwysoDmu7qJM0eLsc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oHl597bl; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oHl597bl" Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-30219437e63so46686211fa.1 for ; Sun, 02 Feb 2025 04:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1738498577; x=1739103377; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Ov3UCovqBDyElf7wgQMMIsdctTosh7cq25mLIhj+V3w=; b=oHl597bldXrjDkLKrDwsqZBIFvlxUBjIMVBRgxwO+fb6o7eDABcNdC3HY+UQlVP90t CmDI2qVBPYQZAeijNunYGEZEPULJJT+8E/hJI2LEqARFHHB4OWiSjoSrexVB6xGlx1o8 +LLA9F3bIi9Y9SxwaWuvE7qLNCbeFQGIKA1mWdVvIKxhSKW/va0rHhPHZjaSeROnjw5M sdKPsBUwBJrx3iKFX08QpTddetsf3UlStTu2av92uSaDg6EkQZWEcZ3Bh0iRXWk7v5Px XQ1XD5IUHl+HEm9weG0uvncaU0nhXXPEn/EdkQNkd5lwXYs0PlLbdIuxHP/w0P739btr 2org== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738498577; x=1739103377; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ov3UCovqBDyElf7wgQMMIsdctTosh7cq25mLIhj+V3w=; b=QVk2wAsgcjqHGEPTM4uUmVCR1soRFBTgQHpldd02Bay27vXHwVfWKlieGKJ6e9dYxs /RKuo3h+W7Xm9u1OwuLYdSJMqe4Va9jDPGrGuKWRjj0eluYeZG2yKRmyulBV4P4smbm+ J0+i0TJZHyZup8ZI3kBsdpWH7o6A5cs/AgJ6i8Fhc/57DSQJRyogK/ic3RMnHM1PVbbv ZYzjfD5IHxe1tEmdyUiQezRUe1Ke/7pUHS7jc/kPdIv/5GTkAxtSaHXyqqfLBPHzK+5w n2Nao2GdUYKNNMzp/a/d5coYwpoxNGUsVQmK5obUbn0ANf/GRdr3xE1nnzTJoCSVW+rt B0tw== X-Forwarded-Encrypted: i=1; AJvYcCUP/IJONeYUH7788KeTKdqSRGKt9iKl/deQkM9ahx+ya59Gz2+q0kgPusfVZho30zNGexCV6LkhCieFaPA=@vger.kernel.org X-Gm-Message-State: AOJu0YySBDZ/UlhArrn97ZPWHEai3i1DxSgvND+I1dR4UNYnbJilxUOH JJOTw0BZuW0zWjdBpkgaIfp7zbI+k6QtErsD/PRxOpzFjlDNFcJkD0cor6XhKK8= X-Gm-Gg: ASbGncsWnguHF6YaFaOu7bV6VPrIsZ3nY6KejOs/Sr17W2+MYLrN1tdm8EAYxGJ9ATh ErtwdAR/Lyo1fDcXcqoFsPyY7pzVXNChGG4CEbiMtIAMXSiRxFcsd5XXysNXT0DY6sXZTH0Tuio YP0g5M1kqugVhqN8qe8ez9oLbhC2DZxMvXr4C5vaNSElTg+pJT7ZqMAS0HvpX2ewXxSVwNei0Pr yInjYwyUTER9kCPQ0Yze0qXrZWjEMYlGyVvbNXBl0tKaRWQUoVcGXT0rprFD+3kXxCxtq7lzs3s PP6vYGS56UFQVU0KXQCGkbc= X-Google-Smtp-Source: AGHT+IHU+cY7Sd2FJwu/fK+FejNxlwvrPxT3OOghYyb0HQvwwOLYe3yknR5BZu/qRImPl6zTGSjVfg== X-Received: by 2002:a05:6512:3d2a:b0:540:16b3:3699 with SMTP id 2adb3069b0e04-543f0ef2da1mr2889703e87.9.1738498576871; Sun, 02 Feb 2025 04:16:16 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-543ebeb0a4esm950663e87.114.2025.02.02.04.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Feb 2025 04:16:16 -0800 (PST) From: Dmitry Baryshkov Date: Sun, 02 Feb 2025 14:16:02 +0200 Subject: [PATCH v3 6/6] arm64: dts: qcom: qrb2210-rb1: add Bluetooth support 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: <20250202-rb1-bt-v3-6-6797a4467ced@linaro.org> References: <20250202-rb1-bt-v3-0-6797a4467ced@linaro.org> In-Reply-To: <20250202-rb1-bt-v3-0-6797a4467ced@linaro.org> To: Marcel Holtmann , Luiz Augusto von Dentz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Balakrishna Godavarthi , Rocky Liao , Bjorn Andersson , Konrad Dybcio Cc: linux-bluetooth@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3096; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=JNFb6Y/XdVHYoGkQV0QeQUNrQN1lFqLu5lpLIO5kuFE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnn2IBlxn0ajqkpQJUmshzRsvUxqdik1OzGVj7t fB8L11OJ6uJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ59iAQAKCRCLPIo+Aiko 1UjUB/0XgJhzc/BM7b4PFzB0HBDUYi2cf0F8MCk7zDlSJF2i5R7Y9caEeQDxOtJLsLwumoRLsHk agl+SbPPMD1Ko63Ke//UhzKdl3q+0CSY841s1KHQaXSMTBnA3rb15CxX9c76QhEStY1pKeMpIIp LQOjfnEMjl+ZptAlrSK7lrcLtJeISceoQK0NVWvkEv3S1p9M5F200noLOF0mjxht2cp+JNvJioo sCCO0nObmvH1ncL0QIVmR5PLmHkq9AdgSUbgY3J69PMNsu9Gb/ViXkZwziVsLYVNfB51JDs6B+g MO81NMCey11gEa1Q5SB+2me34bViqTFIUjHaNJhFg/W65eFC X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Add support for the onboard WCN3950 BT/WiFi chip. Corresponding firmware has been merged to linux-firmware and should be available in the next release. Bluetooth: hci0: setting up wcn399x Bluetooth: hci0: QCA Product ID :0x0000000f Bluetooth: hci0: QCA SOC Version :0x40070120 Bluetooth: hci0: QCA ROM Version :0x00000102 Bluetooth: hci0: QCA Patch Version:0x00000001 Bluetooth: hci0: QCA controller version 0x01200102 Bluetooth: hci0: QCA Downloading qca/cmbtfw12.tlv Bluetooth: hci0: QCA Downloading qca/cmnv12.bin Bluetooth: hci0: QCA setup on UART is completed Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 82 ++++++++++++++++++++++++++++= ++++ 1 file changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts= /qcom/qrb2210-rb1.dts index 7a789b41c2f1887f0c41ae24da2e2fe8915ab13c..b9248505fadd3b986e188976435= b786f43975dc3 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -15,6 +15,7 @@ / { =20 aliases { serial0 =3D &uart4; + serial1 =3D &uart3; sdhc1 =3D &sdhc_1; sdhc2 =3D &sdhc_2; }; @@ -549,6 +550,66 @@ can@0 { }; =20 &tlmm { + uart3_default: uart3-default-state { + cts-pins { + pins =3D "gpio8"; + function =3D "qup3"; + drive-strength =3D <2>; + bias-bus-hold; + }; + + rts-pins { + pins =3D "gpio9"; + function =3D "qup3"; + drive-strength =3D <2>; + bias-disable; + }; + + tx-pins { + pins =3D "gpio10"; + function =3D "qup3"; + drive-strength =3D <2>; + bias-disable; + }; + + rx-pins { + pins =3D "gpio11"; + function =3D "qup3"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + uart3_sleep: uart3-sleep-state { + cts-pins { + pins =3D "gpio8"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-bus-hold; + }; + + rts-pins { + pins =3D "gpio9"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + tx-pins { + pins =3D "gpio10"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + + rx-pins { + pins =3D "gpio11"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + lt9611_rst_pin: lt9611-rst-state { pins =3D "gpio41"; function =3D "gpio"; @@ -584,6 +645,27 @@ key_volp_n: key-volp-n-state { }; }; =20 +&uart3 { + /delete-property/ interrupts; + interrupts-extended =3D <&intc GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 11 IRQ_TYPE_LEVEL_HIGH>; + pinctrl-0 =3D <&uart3_default>; + pinctrl-1 =3D <&uart3_sleep>; + pinctrl-names =3D "default", "sleep"; + status =3D "okay"; + + bluetooth { + compatible =3D "qcom,wcn3950-bt"; + + vddio-supply =3D <&pm4125_l15>; + vddxo-supply =3D <&pm4125_l13>; + vddrf-supply =3D <&pm4125_l10>; + vddch0-supply =3D <&pm4125_l22>; + enable-gpios =3D <&tlmm 87 GPIO_ACTIVE_HIGH>; + max-speed =3D <3200000>; + }; +}; + /* UART connected to the Micro-USB port via a FTDI chip */ &uart4 { compatible =3D "qcom,geni-debug-uart"; --=20 2.39.5