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 05D5B3DB32B 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6755l3F51681411 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-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fuk9u38j9-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-f72.google.com with SMTP id 98e67ed59e1d1-38e7b87ce77so1313345a91.0 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=Vatl0X8R8NE6NZeTBp6vbJGGaICUdl4qrOlCiW96UPvN+FQ3cdCUWDEiqmWFWicxeo KtHkCNaasPIGCGpLFJSUVzuKt2T1X0y72i5ttrAQA4YBcfxMQpgJ2uVmAQXQBWcegqf2 mmHhmPht6XDUNoMfU4N/Z+YeqlYhkWLKV923t3CWaVcKSeZQ4Q2QZLX4nHsV1dfFWp8Z 7vyERPzPDAo5iW17YkKAqO6znttJctJu8r0xhDloX+BNz/FXrh6dLNv8qBqhP6L3fOxg zzgd3GSokP7kAISNmCNgLI0ejooKyuPNeYY+I5Gmt7LprNvxpIkXfNqaFPrzUDILuQ+q Hs+g== X-Forwarded-Encrypted: i=1; AHgh+RrxJwIX8nATPMucQwbEz1KC5x2ULebOyQ84qiPnaEUuSMAGU36gomctJnPc8dIdiCayyQc767j1w2mWmSA=@vger.kernel.org X-Gm-Message-State: AOJu0YxuvLbGBjdqdK0T2zdT4jK+LRGfc50HI33XiAaN/riyNSZCjGBh 44Qbt2HxPs10GfqEYXwKUn2Fp4DnXGVCRxLYDjjKDPVa1XC9BWPtDqp22JRpRVZzelcCdLcMhfp R3pX6csiNkbAcCb3ulEWFyQ32OZCq0Z4VCD9hVvzCihGeCq3udH626qZgQQorVI/IJUI= X-Gm-Gg: AR+sD11NwnO8xA3TFzHB561zpTjbsVzAmKs3SI2zLhH9YsP3VT6ZLRyV8gV5HJHTQiq Wse9nViRNIuX5kBulScpmJvIVqZaQp2wloZsyCuwJd12FUelyTszTriIIcJ69q8AawmVOuDDrvP dyh1JnwQc9hNHNkjcct+IXENAzo64WQNaan0Z3Iq65p4v0ssz0icIXo3uI8s8YpX5lAkvG+io+k Y1wdg4OpGAtA9pb1R7TEo5KKFnTiixo13QhAeRcXUSLQGcYjcExfVkQhaiuYWbYnMAfNqTYqw46 kSFYAJ8AcpluoDRcFOa3i20TVCwRJCFggQ7uD3caR2aKoNpEncAhFOLpEVYkTissDm92u0hGOih hMWBZzb5ZdEFiZUzdhP6Gts5tajcqALU= X-Received: by 2002:a17:90b:4b87:b0:37f:c2a8:ce45 with SMTP id 98e67ed59e1d1-3903c537d5fmr4245622a91.4.1785910737424; 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: linux-kernel@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-Authority-Analysis: v=2.4 cv=NInlPU6g c=1 sm=1 tr=0 ts=6a72d5d2 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=kUy7bicM43VmfkegJQAA:9 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-GUID: kqHA-zwmetfVN2MjQc9DnSUqIvtwEj6v X-Proofpoint-Spam-Info: AW1haW4tMjYwODA1MDA0NyBTYWx0ZWRfX2iFVGhf6fQGd P5ea2rjmThwi60gs+I1uYF4Tn7wS0otOIVMpUIbGK/RRlKYo4sgMdMgRtJvTc6mTERYYxbWBtj0 cWGYsFX6kTI12YyDwb3P/xJKwuypsAg= X-Proofpoint-ORIG-GUID: kqHA-zwmetfVN2MjQc9DnSUqIvtwEj6v X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA1MDA0NyBTYWx0ZWRfX2IiJS1BwDlld pAhWf+zDbNgge4dwdb8wYUQCiz2t/lpWQeRYlO7Tmy5zB1MW4xHuzKDjGPzQX3dIcaa1OshyEs2 ZkoTX8sPO4qjRzPnQ7mv7tb/QYXG8eEs4tc0rPug+x/dLOrM7sNpH7ajJdPHg00vt556jsWiPr2 EKvVW8f8wMBy60Z+T5bamghvJaabrbv5sz6Fr+sMmS8hkZTZwKKX2j8rbOLd0o5a0XMNlcQnFjf KSR/f7W8kQww9eezdOrdrbOHkF3gTBPyP5T159YSWk59B73PsteXT7UJH452Jsxq9baFTpXQZuD 7dKfRVgb47KxNy3XAu+0rBTwK/ojA4rc9kCx4jA8gcGDJ4EVAmYqoNNKz1cDycFZ8VPg02qq+yq cjOaLaAQyY6+uIGm3Mrf7+UT8QlRCgeYMZLXWbuL0aOVVTPTw7hlmmqw3o3Rf3CbU1CuHxPfJwm bHg19LooJWtiEXmFSgA== 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 bulkscore=0 impostorscore=0 suspectscore=0 clxscore=1015 adultscore=0 malwarescore=0 spamscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=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 >>