Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp999025lqm; Thu, 2 May 2024 02:04:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbNoCKo0BvlWtspjHfD2QvDUDrU9Eu+lBJh3eVl9EGzDSitGjT5dD6kynLuK851sX8fGab8dap5CAUc9oqvKfHUsUrBH9EInsvSgpAqQ== X-Google-Smtp-Source: AGHT+IEiz05t+XjTD/7mCIV12Pa9xw+eOPbjEiG53+HjPqyBLhj/SupC6oRbG7GdAcoAJq1RC/nV X-Received: by 2002:a17:902:6bc6:b0:1eb:a636:ecab with SMTP id m6-20020a1709026bc600b001eba636ecabmr4554571plt.34.1714640688620; Thu, 02 May 2024 02:04:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714640688; cv=pass; d=google.com; s=arc-20160816; b=T2Jrus3irccEE5lAWxVbnsTulo+BikkDZgAQlxeqbO6ZUNxjV3yTCznDAHAt45BHPt LOgMwo4e2TF/sYXUrEVEfHK7J4tdxX/qM9mW+Qy2UI6xxlQzWqZzJHiE05qoJiDbvMDc eUuf6bf/8G0xLp1mDH1yGxnkAgTvGQC6RI+Kz/zEQzLDEUOTQLPF1xOptuo6AHp3wtUb cUGe6o70Fpit6qVi+rhDLjfjUWp/oNmLUJkjcW5RROrk7Wl9U/fQ1HuRajWVMHtLyWu4 M/hQlFOqFg/KB5StfTiqzN/06xj5gK1MIun3OiLy8BQbRugOrKmvvkquz8TL+XpYw9DU pr/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=GvTyKXXMsPRuSwaky8m+AKhm17G0F14YTIxoxZkYJAU=; fh=PSGKaX292GzWXvzJAMnrnakkGNRgY7SbJH6nK6iP7R4=; b=kHlRpt+q7s4u1R9Sg0yE1MJFdGfXOhLyczO8lQjWNl0Ua0xTwQriWWCN2JsyY7l5pp V3DULUeTVj/7e++srkYOdK+a0oaWkLLXJNX6cpEk2MLRTUUtQXarRYMojpC6jHA7biVC Ykj9SEQrnuJRDNYCwB1f63R+2rIlRuorFfakl5uOv+ds8HO9foED6eHECnu3buPLB8PK N5wzpmC4c4xC0ldEyT7q1HTI1ZGsT+2JwW0CIGmXrQ1lc8/dlLslZltxLFWjLfHi5ID9 1RRqpItgmDtEXXUDms8VzBHcyQcoDVzM7eKepZJM4SFLtGB+vsFULhAxuG26gYPBlHT0 layQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="h0Tw1/gm"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-166173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o17-20020a170903301100b001eb77a9f44csi597672pla.446.2024.05.02.02.04.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 02:04:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="h0Tw1/gm"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-166173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 29A8928393D for ; Thu, 2 May 2024 09:04:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCB1055C3C; Thu, 2 May 2024 09:04:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="h0Tw1/gm" 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 A9BD1524D4; Thu, 2 May 2024 09:04:04 +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=1714640646; cv=none; b=ZqxouXgMzW6Hlk205DW92mktQwfx6jTpIRXJezTSJ3rMCpPkewV+nNfvlMzYPrdimnGuW1U8BgqyolTAuigx1JpfQhLPMRbuH1FwixuRIooVn9UVv5VlE96BZQvUN2/A43t8lC5mfXsSTAduE11bBOHNv5jdg/5Bdp/9bY/K0n0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714640646; c=relaxed/simple; bh=/dLzXBWO2gX67x6MrYoCiCNImnc6++eIecsIUiMMaRQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XKO83diD4seQLJMWV6IQpTb7qw1A/wr0htalOR070KXGLonpxHhfNvi19blg+CNBIHM+ZSzuZ3Sl2aaiC9/a3Ce9pUdi6FLEMmu8MhZn+37JClqg44WoQXQbCYZdPJ+IZYa6ChIE9Ul3nnjboHwukYU1IMqstdgyrjWul19a2hw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=h0Tw1/gm; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4427iTur005893; Thu, 2 May 2024 09:03:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=GvTyKXX MsPRuSwaky8m+AKhm17G0F14YTIxoxZkYJAU=; b=h0Tw1/gmHgy/rvBo7OHFxpF b8n+1v4j0PA9s0q1Y2u3t1k4ggLkt8KJk62GnsolQXoWz5GsBftS+1DOEiBn6ov3 p86TWTqOkU8oxF9KEMOGfUMLqghFoE/qP7iHTojB3dFQ6v5CfD3Svdw0jCJcn315 noVj6Q2jE624ey65TXN+XU/hbgiBUfWu6dgFcpPyjKlinMCOMcFswwxKQtS1+iH4 DoK09RmbokgEJS28NusW4gT9rb+bth/5Ez+/ziz0QTbEba4SwuSaSxCavH/1Xllc 2Ism02RcwiXd8i61beQuhkNjSt2kR6SGhmMgTRVBZAq4cXXfnU2hofSEk3wUlEA= = Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xv6q0r4mh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 May 2024 09:03:49 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44293mI4004314 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 May 2024 09:03:48 GMT Received: from hu-kbajaj-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 2 May 2024 02:03:44 -0700 From: Komal Bajaj To: Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley CC: , , , Bjorn Andersson , , , Jack Pham , Krishna Kurapati PSSNV , Komal Bajaj Subject: [PATCH v3 0/3] Add devicetree support of USB for QDU/QRU1000 Date: Thu, 2 May 2024 14:33:23 +0530 Message-ID: <20240502090326.21489-1-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: -E_ChrEKDEc3R7aRPsF_Ax-lbipTMZ44 X-Proofpoint-GUID: -E_ChrEKDEc3R7aRPsF_Ax-lbipTMZ44 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-01_16,2024-05-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=15 impostorscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 spamscore=15 mlxlogscore=77 malwarescore=0 phishscore=0 adultscore=0 clxscore=1015 mlxscore=15 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2405020053 This series adds devicetree nodes to support interconnects and usb for qdu/qru1000. This is based on previously sent driver series[1]. ------ Changes in v3: * As per comments on upstream[2], to get role-switch working on QDU/QRU1000, it was recommended to use the actual TI switch driver. Since driver doesn't have the functionality to provide role-switch based on gpio, thus reverting back USB dr_mode to peripheral and removed the remote end-point nodes and usb-conn-gpio based role switch functionality. * Link to v2: https://lore.kernel.org/linux-arm-msm/20240319091020.15137-1-quic_kbajaj@quicinc.com/ Changes in v2: * Changes qmpphy node name * Changes dr_mode to otg and added USB-B port USB role switch * Dropped maximum-speed property from usb dwc3 node * Link to v1: https://lore.kernel.org/linux-arm-msm/20240311120859.18489-1-quic_kbajaj@quicinc.com/ [1] https://lore.kernel.org/linux-arm-msm/20240502082017.13777-1-quic_kbajaj@quicinc.com/ [2] https://lore.kernel.org/all/CAA8EJppNZrLzT=vGS0NXnKJT_wL+bMB9jFhJ9K7b7FPgFQbcig@mail.gmail.com/ ------ Komal Bajaj (3): arm64: dts: qcom: qdu1000: Add USB3 and PHY support arm64: dts: qcom: qdu1000-idp: enable USB nodes arm64: dts: qcom: qru1000-idp: enable USB nodes arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 23 +++++ arch/arm64/boot/dts/qcom/qdu1000.dtsi | 120 +++++++++++++++++++++++ arch/arm64/boot/dts/qcom/qru1000-idp.dts | 23 +++++ 3 files changed, 166 insertions(+) -- 2.42.0