From mboxrd@z Thu Jan 1 00:00:00 1970 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 12D343DB32D for ; Wed, 5 Aug 2026 06:18:58 +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=1785910741; cv=none; b=Z4sJmzdK93p+RRQ+tGtRCyBaOV7e8sTx4WT6UB5j0xfxlwj3MoYoM913kCJToAXpdu9vWX+HYy2paOmPxxY++WKgzqMpL79lfk1VXG2vpQOIvvBf99/i2bzoS8KvG9RXCS+4pAY/pKJ0RIdN0m+37/izes5Op/46kS7pZ3T5dcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785910741; c=relaxed/simple; bh=MbJ4xQgIXo1xsWEFSQw1SlfI9A5LaPiERjRMt5TCJJ4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NDOhCknwFaxPfiZoXu6i+gRhG2LXXD460csuTEYkiuI0d0QO2QadKegu4drQHnuR/0Wssu3Skhxx0EEEPKGeqhOsXLdV35dIUQ9A6mDEXtdifp0zQ8kYnSP1Uj21cnDJ1vGl/8lsgTtjMLYPG5cmEfJi8vBpg0QUNUx1qLzJmqQ= 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=bGfZgjCP; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=QbQc9coV; 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="bGfZgjCP"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="QbQc9coV" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6755l2PL1731733 for ; Wed, 5 Aug 2026 06:18:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= IUwwlRJ7oVartoiGymz2Uz94bLku19J9MoLLo0EivII=; b=bGfZgjCPLEsdbuX0 y2IqEjjJ2DAuvYcFOuXiQ2jfAkP4ncf8ZxNZzpDceIEwJduml2aBH1KlcgDj1NhC A3VF4ajOodZhenUEq8Noxsw7AOS/4OK2MXYNziibP9FLpESvSQIOHc99HhhongMQ Ew0A61aw+rSeyY9Xh4EJIyYksud7MmEmE7eNiFWybFJNDKq4y8Y4pitEG3bjBNOt IaowQvGmK1KOAW5E0b9zqT20soR4+3Uxomit00/5o/ilti6m7JE7QbX+YJLBaI5u K5id3rUMiaMuTlbAxyVfJMY69RPSiGw39oaISC6xx5AergGlkB2ZlgE3YwEm0xH8 2Fb7bw== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fugmgm6g3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 05 Aug 2026 06:18:58 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-38ec0f510a9so1373741a91.2 for ; Tue, 04 Aug 2026 23:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785910737; x=1786515537; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=IUwwlRJ7oVartoiGymz2Uz94bLku19J9MoLLo0EivII=; b=QbQc9coVQPRTRH+ro1Vr417S/ouEUO/a3VAuCqx2+OFKHK8J08hFaaF4JJKp5e49+i 6xWRQAeizLcifnbXsJGGs2vcgFHKGnTqdDHO8rRg9E089UBu4/07+oL7jGpi85J9xcu3 g8ap1ETeQLRw4oZO27Y6Y5QJif5uJh5yaSMLHYJj6pK/1Y5dX6WtsxNoIWGf0IuWbzkz 93YRL85TMMgQKZHWtdST//TRiIt4dcJ7Rfk+F7v2WxVCWm2zRvl1VNGnjscM9eQvT4of lXwhadkIwa3qy+ECF4/ykG8vXptv1p+KKLtM+Rjj654AkBuRnF5Z50ALPcuKv71e2ge6 KzAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785910737; x=1786515537; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=IUwwlRJ7oVartoiGymz2Uz94bLku19J9MoLLo0EivII=; b=kHiNq1S1dZaHCcgLPaSpj+SLiRi285anypMLoB8Gs5AOmM/Tujk5xQYv+2GW7NqzDV hSX0kLkanL1TvPAVpElyZIi6R70OejhUIVdyh95Hg8TlY8feemX/ODivgVmSCPc2k0L5 08+yrKflQqtjir6zjBKy9IN/ttTE+oiF2TxdFJvwJ962XqsLc6LDlI5q0fq2TSqq/fEq PLuy8SkI8eGSqg5r1Ythsf/vE2awzKepKkvqL/uT3Gt4AVOV52t9FjLp1/N/Bt+GPita twGgj7JPWJ2y02G5y4Phj4pPEwaL41CqJlTHsINdefVbx4BBXl0WgoRYwRwkUUm5Z15P ccHw== X-Forwarded-Encrypted: i=1; AHgh+RrGQ8kHDE6uyrerhCm6xbrTqeD4HuU5Kdm0qwKQ+KWXsHQuzdwu/ZxvaQzuSLcRsk3Plf+zDQC/3Zad@vger.kernel.org X-Gm-Message-State: AOJu0YyespcDvrGugLqVv3fxoccQf1HXKyLo3f/xrYc8787Xn/xs2BxY IATV2VCZR3g/ljj1LIJMdq1Lyk8PEEgnFRJCX0D+fCkmmIZcLFhOpwMFUQ8BXUXcr7W6N5s1q+N fkK2UB7tJbalQLL5lB6vogOpojlMf2ZSREQr7ANUK5WC+Nlf49xr3kAeW9giNaALu X-Gm-Gg: AR+sD13B3rJ2qtPgO7plDJUWA+YvPCTF7jrJh4r+LxVwNnQkrsbjX8e3RnauZIK0OzQ r4W+K20mhv0tXpDe1BGtMB5EVaAtYcfo+7DSMukeqkaaGPwm2p7Ws3ywrCjJGWaklyT31OwIH/F hrUE0WVEp8Zg23ixEet6+ZNk1C9+2+V2izIe9ZoTDtzW8BKRne2N6FAJs/1EO7qi1p0gRJ6mBGc sf1ay6zCn3cYS3M9C3slUlATrLA+HN3WZnataduCmo4HKKBizfuG/CnUaAFibB03KWwIHB1eiOn UOWNXItaVpigVQm7NYo3HeyKdpYjFaPjUTd46N0Hvgqx+0sI8xguEgN1tCdp93l3eXYa/7PXNFr LCDjbB6pHfkArl09hWGzwbaUrXUZz1R4= X-Received: by 2002:a17:90b:4b87:b0:37f:c2a8:ce45 with SMTP id 98e67ed59e1d1-3903c537d5fmr4245644a91.4.1785910737451; Tue, 04 Aug 2026 23:18:57 -0700 (PDT) X-Received: by 2002:a17:90b:4b87:b0:37f:c2a8:ce45 with SMTP id 98e67ed59e1d1-3903c537d5fmr4245550a91.4.1785910736859; Tue, 04 Aug 2026 23:18:56 -0700 (PDT) Received: from [10.217.252.136] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-38febe308dbsm3451025a91.0.2026.08.04.23.18.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Aug 2026 23:18:56 -0700 (PDT) Message-ID: Date: Wed, 5 Aug 2026 11:48:48 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 6/6] arm64: dts: qcom: rb3gen2: add Industrial BT UART overlay To: Bjorn Andersson Cc: Konrad Dybcio , Bartosz Golaszewski , Marcel Holtmann , Luiz Augusto von Dentz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Balakrishna Godavarthi , Rocky Liao , Manivannan Sadhasivam , Konrad Dybcio , Dmitry Baryshkov , Bartosz Golaszewski , linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, quic_mohamull@quicinc.com, quic_hbandi@quicinc.com, quic_anubhavg@quicinc.com References: <20260727-rb3-industrial-bt-uart-v2-0-2d100f30e202@oss.qualcomm.com> <20260727-rb3-industrial-bt-uart-v2-6-2d100f30e202@oss.qualcomm.com> <794424df-4714-43a4-b4b8-e960998ad1f1@oss.qualcomm.com> <6d61d749-440f-40ad-82e5-e1e909afad06@oss.qualcomm.com> Content-Language: en-US From: Rahul Samana In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA1MDA0NyBTYWx0ZWRfX8svc/X8+i6yV +zpO8/gVLDRyCDrIA38TsvuyzxNxypFJtOhYOi1IojAkvLLizyljObDL2sdg2iHRmD4LRX/6VVz mIAayehloqKFuWZvJWt2R3kDE6Um9SY4pJ9ycERBWn54mpe+dtHaMdD3TW5UeHVPPIud5YkhsQI wDjHgQ6qZL7CwSjZT1Os4mxGmT+V2TD5xkx4RYHx0rTziCkyCTgs2ytHfardosRdeDSHPDsvqiN kKP4oFuMELfM+lZg2dGWR32LNWEAZs0hVObcmysiB3eL0H7vc6FVqCTnaIT+dVPCNdaM3ISl2wv S6IcblCd64hoCMTB9cbnfFGn6p2WhP5mO+ASWIlL94CWAFiNyYmzgI4w3HFHcRZelGpHxFpZmv0 GGifLAa0Ta5BeOPfZI6kK+X3G0rCNxzoDxMrlJJxo2/yqh1dA6VbCLVwzG1iUQcqscPku2+IrSn JG+WkObFW0gn3x9NSqQ== X-Proofpoint-GUID: quJEDgK9m7GHdp5sghaco_qwhrLnNISt X-Proofpoint-ORIG-GUID: quJEDgK9m7GHdp5sghaco_qwhrLnNISt X-Proofpoint-Spam-Info: AW1haW4tMjYwODA1MDA0NyBTYWx0ZWRfX5tvsGJbFGTvf fkKfq9FlhN3kVSgtv9vdugKFxjS8HysLfQqpR7i62pE5lGDKv8qrg2ZucAvP1B1IvmUt/Lnagw/ IU4aRAu8GIsQ1GHQdiWsjkj+iCVJPE4= X-Authority-Analysis: v=2.4 cv=XYC5Co55 c=1 sm=1 tr=0 ts=6a72d5d2 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=kUy7bicM43VmfkegJQAA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-05_02,2026-08-04_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 adultscore=0 malwarescore=0 spamscore=0 clxscore=1015 bulkscore=0 impostorscore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608050047 On 02-08-2026 09:08, Bjorn Andersson wrote: > On Fri, Jul 31, 2026 at 11:20:07PM +0530, Rahul Samana wrote: >> >> >> On 31-07-2026 21:19, Konrad Dybcio wrote: >>> On 7/31/26 4:48 PM, Rahul Samana wrote: >>>> >>>> >>>> On 31-07-2026 18:20, Konrad Dybcio wrote: >>>>> On 7/31/26 8:53 AM, Rahul Samana wrote: >>>>>> >>>>>> >>>>>> On 29-07-2026 18:01, Konrad Dybcio wrote: >>>>>>> On 7/27/26 5:45 PM, Rahul Samana wrote: >>>>>>>> The reworked RB3 Gen 2 Industrial mezzanine keeps the common Industrial >>>>>>>> mezzanine hardware description but routes QCC2072 Bluetooth over UART4 >>>>>>>> instead of the default Bluetooth-over-USB path. >>> >>> I only noticed this now - are there 2 variants of the industrial >>> mezz being sold concurrently? Is the already-in-kernel one some >>> sort of a prototype SKU? i.e. should we support both? >>> >>>>>>>> >>>>>>>> Build this variant by applying the common Industrial mezzanine overlay >>>>>>>> first, followed by the BT UART overlay. The overlay models the M.2 E-key >>>>>>>> connector graph endpoints for PCIe and UART, and disables the on-board >>>>>>>> WCN6750 PMU and UART7 path so the M.2 QCC2072 Bluetooth controller can be >>>>>>>> used instead. >>>>>>> >>>>>>> So is the onboard module disabled? Can we not just use two in parallel? >>>>>>> >>>>>> >>>>>> The Industrial mezzanine variants do not support the on-board WCN6750 >>>>>> wireless path. The common Industrial mezzanine overlay already disables >>>>>> the on-board Wi-Fi node. >>>>> >>>>> What does 'do not support' it mean here? They are physically present >>>>> as part of the SoM, so unless the lanes are somehow diverted away, >>>>> why is it not? >>>>> >>>>> Konrad >>>> >>>> Hi Konrad, >>>> >>>> The WCN6750 module is physically present on the SoM. What I meant is that >>>> the current Industrial mezzanine devicetree already disables the on-board >>>> Wi-Fi path, and this BT UART variant followed the same board-level policy >>>> for the on-board Bluetooth UART/PMU path. >>> >>> Okay, and do we know why that's the case in the first place? >>> >>>> For the endpoint labels, I can move the UART endpoint to the SoC DTSI, >>>> kodiak.dtsi, as uart4_ep. >>> >>> Please do >>> >>>> For the PCIe endpoint, the PCIe path to the M.2 QCC2072 device is not the >>>> PCIe0 root port in kodiak.dtsi. In the composed devicetree, it is >>>> behind the Industrial mezzanine PCIe switch, under: >>>> >>>> /soc@0/pcie@1c00000/pcie@0/pcie@0,0/pcie@2,0 >>>> >>>> >>>> So placing pcie0_port0_ep in kodiak.dtsi would not describe the actual >>>> topology. >>> >>> Yes, that was an omission from my side >>> >>> >>>> I tried adding a generic label/endpoint to that downstream port in the >>>> Industrial mezzanine overlay and referencing it from the BT UART overlay. >>>> However, when the overlays are compiled separately and then composed, that >>>> label is not available while applying the BT UART overlay, so the composed >>>> DTB build fails with FDT_ERR_NOTFOUND. >>> >>> I think this generic description is simply not achievable today without >>> a bigger plan in place >>> >>> Konrad >> >> Hi Konrad, Dmitry, >> >> Yes, both Industrial Kit variants need to be supported. >> >> The default Industrial Kit uses the common Industrial mezzanine hardware >> description and continues to use the existing Bluetooth-over-USB path. > > "Kit uses the common" what do you even mean?! The mezzanine is a > physical thing, it doesn't _use_ anything! The mezzanine exists and the > DeviceTree describe what it is. > >> The >> reworked Industrial Kit variant keeps the rest of the Industrial mezzanine >> hardware the same, but routes Bluetooth over UART4 instead. >> > > Does "reworked mezzanine" mean what it usually does? I.e. that you have > taken the mezzanine and modified it? > Hi Bjorn, Let me clarify. There are two physical RB3 Gen 2 Industrial mezzanine variants that need to be supported: 1. The existing RB3 Gen 2 Industrial mezzanine variant currently described in-tree, where the M.2 E-key interface routes Bluetooth over USB. 2. A reworked RB3 Gen 2 Industrial mezzanine variant, where the mezzanine board was reworked to make the existing M.2 E-key interface route Bluetooth over UART4. The reworked variant is a physical mezzanine board variant, not a software-only configuration of the same board. The intent of this overlay is to describe only that board-level difference while reusing the common Industrial mezzanine description for the hardware that remains unchanged. Thanks, Rahul > [..] >> >> I am open to other suggestions if there is a better way to model this within >> the current overlay structure. >> > > I don't think it's possible to give you other suggestions as you haven't > described what this thing is, you just explaining how you're hacking > something together and ask us to help adjust your hack without knowing > what it is you're trying to describe with your DeviceTree. > > Regards, > Bjorn > >> Thanks, >> Rahul >>