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 BD4BB3D9DC3 for ; Mon, 18 May 2026 07:50:34 +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=1779090638; cv=none; b=QklmWiPw2iZdnINCMHn5Ay5T5ttcstHXAhjnkYLZWxwPngqDkf/Yrh1JAe9LIbOi817JFbl3kfDiNELOCEaXvg5gElpMlqgWuw/4WUce1XShNvHNrFRCNcZqf70h4wDUCK434g/I7zG5tFc3XRAvxGMUCD/TZs4YXFBSRbHGPMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779090638; c=relaxed/simple; bh=e42XBPD10MnyssBj+iInx905f6nD7LR/IYxUEpTUH+c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=iBi3cqGJLz8TevfrEOgvJV0Qev3mRPoG4xmXuTbCqr7DL0e0+AGsxLeX01bJuwRtAf9WEDqUBpffVzudBpr0EZeEJPVBrgTM56V6FosiXZ6t8RwLo0D0OYq/KCvq7ucnot2x8CNbgL29hnu4awFjvRg0e+mT5SH6yZNs7xW/PLk= 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=gb+4VQqk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=N9qzpSmX; 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="gb+4VQqk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="N9qzpSmX" 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 64I7e4Dq2892697 for ; Mon, 18 May 2026 07:50:32 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= lJBnHUl957hvKo+iTLPq/Vl5eWX75Ini9s2OOopk20Q=; b=gb+4VQqk4SDMUVAP 8X2nIptoppQf4gkU6AIYiy4R0F3qV/gQYIl1eEqsnfKjXrOAq/EJbLFCAWM6p3id J6ajsxsIGRYxC3VbhLhACTWgUq42gvRyWnstqSPUD0VHRgUL6gLejmBBOQ1lK2K9 aJW99VWZsoeVSnENfGjQt4JLpypoSS2skuMVDCMnorY0zlgs56UnWDyjjcaAOGRv q8H6DP1QmtLBDBAJn/YzuTsfZyd08vqulpz8vgYF6vbXUeHPFfZVhkfBzQqEmPaQ LQp0LlFrWV7qOG9UZ9sMX9gIz1UMn7EjHdUTpplvl+vk23PsrsQw8SAjI0ruy0sH Ho5Fhw== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e7xk181m7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 18 May 2026 07:50:32 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-50e62562b6aso7346531cf.2 for ; Mon, 18 May 2026 00:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779090631; x=1779695431; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=lJBnHUl957hvKo+iTLPq/Vl5eWX75Ini9s2OOopk20Q=; b=N9qzpSmX7FI2E7/3x9w5qM+R1cLO1wmWCIMKkKaiplYG+9qcwGD8NoeVUCFGRa+Wx/ u80TAG1fT7dyER57tFl2pgsrppoCHdACYyY9rOUvNjWvlK7GB0gPhNyOlwqxvCt2CXr1 omCtBsG4VizmQjeRhdTM+U2IkE09VmDVFBbnC/hXJj7zenp3RTTHnpWe3Xa1EZfW0yoM IEpWTLraLkcCmKzyBktv/kB22sLygA4i5z3WWUO7613+jODRJgNhKWzMMiDEbYKTQ1Pq LmVYjmezaEz0UmzC4trDmufbAsf1jDqWfkNT+xNUUZaxOImdRHULmiYqztYRGNECaN5G lWHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779090631; x=1779695431; h=content-transfer-encoding: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; bh=lJBnHUl957hvKo+iTLPq/Vl5eWX75Ini9s2OOopk20Q=; b=JVunquDLNrHmgUa2bjYXjIuqTqPp4XwN4cw/G8ziVpDfHWr+xYNvqkvzuelChveNOm fogIZm9CZmXfHsIAPHyaB0oE1wO5sJ4p7a3R97PIPQFJMAsNMAEnBoCQseIgylnwuEKj P8t4Oz/34PQbfV80s0LWrhtObh+tSI15yw3tgGFPfvZTWHagZOUbMJcuL/9dTawXAXPD AvEi6vyq/U2WsSOPM+ohHKGm2jltSdE7X5Xef8A4KL7TNk+VSqyeWcG1fgKZokhP0R1h ZUh+cc345IKiZZBZGNgIbx+x4yPErKXoEkY47kKZanRb8Awvc1QcDvL/CnysgVtGdMOF NJWA== X-Forwarded-Encrypted: i=1; AFNElJ/koFqL9guzndkciIvJldSAuhupTGKKkibVJFpEATCtXASyo2JwWxoriM0xAhWEJGTTQTluwp+87eUf7HQ=@vger.kernel.org X-Gm-Message-State: AOJu0YznN6iRVxTMuAzoI1xjd7NGV9iUZGwLDSHHim3+okNcWNP95IyI xabP97H/uLnblYI7YHHd5pWDN7OmbZXo/L1YfsTcHhtTbhLOjYaR+V4uuhvhEhf1cHwqLes4qPg +dldQBo5XchF3ULtZo+mz1ltjgQWV+nqAs7HEsqV/i3lgtJNGljF5eIWP9f/wM8raAZQ= X-Gm-Gg: Acq92OGle4HBBRTwFuWiHqVIYQnRfj+O42LsVGLt/Mx2sT+yg7R7TSwEvqSLx1TbWij utCIGFmlj4dOSDJAeU2im+SFSE0AVG1OB4SAP6IOb43r0L5Qch47qxCBi/Yy4yZPPJtpgaqHHjZ NAcaHuPb2PuSfgJdlpxFJfklnWjc4yCKK2KhH1mIwGdFKQgxpU9FCPeA5Oc8wUtu1sZo3tXtRWZ B7vy20a40zveDiQuc66OKEG71iSbWZbtfwiXogae+cAKTMrKIEJCVnpxfXi72jQRy5rvx/SwJ+4 CbEzpjP+H60QwBO8oiVtaiS5u68KMGMIF4iQMOWPiQjQAdbGmbkrOsH+avA8UEwAMccDcv6942D Wm9CYjqR2+SL8jHB3smS1YEPzcDv5/Xlku8w7X2c7nyiYzPQZIT6o1lFefa1TNMs8qyfjL+motC v89/E= X-Received: by 2002:a05:620a:1996:b0:8ee:7878:af34 with SMTP id af79cd13be357-911cda511e2mr1481346185a.1.1779090631481; Mon, 18 May 2026 00:50:31 -0700 (PDT) X-Received: by 2002:a05:620a:1996:b0:8ee:7878:af34 with SMTP id af79cd13be357-911cda511e2mr1481343685a.1.1779090630941; Mon, 18 May 2026 00:50:30 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6834ba6af5dsm4592787a12.14.2026.05.18.00.50.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 May 2026 00:50:29 -0700 (PDT) Message-ID: Date: Mon, 18 May 2026 09:50:27 +0200 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] dt: arm64: qcom: sc8280xp-blackrock: amend usb0-sbu-mux enable gpio To: Dmitry Baryshkov , jens.glathe@oldschoolsolutions.biz Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Aleksandrs Vinarskis References: <20250609-blackrock-usb0-mux-v1-1-7903c3b071e4@oldschoolsolutions.biz> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: yc6bGSt9AiBs-iKH3poxBmhC5Hp3Kyw- X-Proofpoint-ORIG-GUID: yc6bGSt9AiBs-iKH3poxBmhC5Hp3Kyw- X-Authority-Analysis: v=2.4 cv=BICDalQG c=1 sm=1 tr=0 ts=6a0ac4c8 cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=gxl3bz0cAAAA:8 a=S0HaN-TvR45hvm6jBKcA:9 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 a=kiRiLd-pWN9FGgpmzFdl:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE4MDA3NCBTYWx0ZWRfX3LyEtlRr898I SA9LUVeTeNh7QkxdoCKSTPyq/7XFNEXOhdzaks+ul3DPl/L1cdp0QedDvfIc1GrC2f1qzai9nT0 4J4731sNeps9gjAB6xxZDmnQOCWL4c9HtiPASbEwuRFnhVAwh8ZvMfo1ixiix34GQtAh9sWVIHC 5GOao1nt8CFvNWr9/62Adprj1ynDb9GYbLoG0xy2algIv9KjALZReOHeR+nm/Y+FTe0XSPA4cMj eLM/9e4eXgbEOF/RL5PxPR2vsws1shG8JMCudSXeENYxeXYpG0uq+yy+qyczuz9oZK/EJRen38d asNbYWYE0wEp/NVx8oS94r5amuCsbcsfTpDe8h/jw7hlxyp6xzp1gTHx09HlyJTBdnlrGieW4y4 BCpyzt3TGzI7bOWQcFDIfsYjRuMVYoQzh+XjR/dORiePB3DYFo2mlYHQZ+9dP7CxNSRwl1bz9LU bjFF40BT/JYR8S2hzaw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-18_02,2026-05-15_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 impostorscore=0 phishscore=0 clxscore=1015 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605180074 On 5/17/26 1:59 PM, Dmitry Baryshkov wrote: > On Mon, Jun 09, 2025 at 10:53:56PM +0200, Jens Glathe via B4 Relay wrote: >> From: Jens Glathe >> >> The usb0 port didn't switch to dp altmode, investigation into DSDT >> UCS0 device resulted into GPIO 100. >> >> Signed-off-by: Jens Glathe >> --- >> This patch amends the enable gpio for the usb0-sbu-mux to the one >> found in the DSDT file for this box. It shows a list of GPIOs in >> a certain order, and it has 2 buffers with conflicting values. >> The one deviating is in the second buffer, at the place where one >> would expect the GPIO for the select pin of USB0 (by pattern >> application from USB1). The GPIO previously used is also there, but >> at the end of the UCS0 buffer structure). Changing it resulted in >> a working dp altmode functionality on usb0. >> >> This debug effort is a result of work / testing of the 4-lanes patch >> [1] on all available devices. Independent of it, it enables dp >> altmode on usb0, and with it, also 4 lanes, making it even more useful. >> >> [1]: https://lore.kernel.org/all/20250527-topic-4ln_dp_respin-v3-0-f9a0763ec289@oss.qualcomm.com/ >> --- >> arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> > > Reviewed-by: Dmitry Baryshkov > > P.S. Might it be that you need to set both GPIOs? Might the other GPIO > be related to USB4 tunnelling? On the CRD8280 schematic, GPIO_100 is N/C and there's a comment that at some point SBU_SW_OE_N was moved from 100 to 101 Konrad