Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp317597lqh; Fri, 31 May 2024 02:10:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9dlFNo79SciwoE8nZk+4tBI/rrDIkQQN8CYwUDjdlwdOwDaEMbPqLPCwRN37c3ocvZsLkQjLSbsc2te62BQq9vQsglIOC8ewIC8IwRg== X-Google-Smtp-Source: AGHT+IGLd7jGHys4qy3wPnOAo0ZXbycePX1vAF9UB9/lurPDB9Tmja1U1qY4fmh0ii1t40IyxjTP X-Received: by 2002:a17:902:e546:b0:1f6:33db:2cbc with SMTP id d9443c01a7336-1f6370203dbmr12775315ad.32.1717146635107; Fri, 31 May 2024 02:10:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717146635; cv=pass; d=google.com; s=arc-20160816; b=OWtuGaIVl4Cpv0gM3bc5HRreD8TJ2rrYpYVv4R7VPuEhSPQKFss1H3CbgrabhZg4mR S+MURfTIwFBrgCKPGsVAUW7uFWfQbXTKb5uGk+6TGk6lQGonUVNVDqMgQEtXvoSYxtUM 8mojAUgOJOCwS0btARbxsFVxplDE3YsR8H1VesnVsi31CGg+YgqRtC021/sdLHNDB0Cu tbarbwVm2hPQjee6jX3v8nxxt+cWt45WtDDpY82WRUdHDRcEZ3hQPjWocW6dO7Zxk4US PXG8oR0eKzCNOw2WH7PQq7jErQQK1umYshJDvWs5cJ55t9ds5AcAs6K3dtKnEfwgjTRW hgiQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0hVCdwUXqXc2wcIi5oayEU7+yYRJGvhvSSqUH3wJufM=; fh=11FUXfh57f9Q+2m69JdGR6r6auwhpXMa2MR2tA+v2gM=; b=YELYMSOZE2mtFnyrGujrn96xseXf0fIduXYTbe8YHkfppA4BGF2omGh3RZHacXEl8u 4eIlMpJH/Rmfj7DggLTK/qG1mDf/s+HHVTWrxplIEWdt7DNpkwcTQjB2Xty0LFbcqu5j HFRm4r9HNtp6e+3QmC4yYmsSxqfQMmfzra3XrshaL1vlLJqf3y7+/kM1yFoSx9/H2SL6 +TUoChxteMEc6Tmh/ql9fI1Yhx0i2obi6vqlxy5dblQVIBC3VpSB+vbBSdrzU/A2b92S v+2+iX2xO6cdkiycUQOVjyIDkmnaeXWiyncV2Hk87B/aDnNkOnvFOipYeg9/GUBocm0N 5B8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="ObU6/gZv"; 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-196538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196538-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. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f63241d4fasi12602055ad.619.2024.05.31.02.10.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 02:10:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="ObU6/gZv"; 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-196538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196538-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 C68BF289320 for ; Fri, 31 May 2024 09:07:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E5F7156672; Fri, 31 May 2024 09:04:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ObU6/gZv" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 4BFA51420D0; Fri, 31 May 2024 09:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717146291; cv=none; b=C0gHFW7qftLbWw16efuZWCOgoN2Kl3K0N3R3mOnggmfYMg/TXCEKex5fw0FDNLun12ip7z1PArUwrnMGRxntVQRDLeIRp9r2PicRH8wsln5xDMvg5xvwsnF9qWGfijk1pOXn49PUyzJJdgpSQdqk691wIvMJ338k3oog07YjgdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717146291; c=relaxed/simple; bh=SG1Ge8lwpPmyDY/rGw7Oa0jGxqkeOumofgU7eCMHg48=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dBSPwBuKplEFHRSQN9bsBdWhTkYn0J7bJB8lmxThbDuaeLx7UXFCubRA+tOlW/NkVlYmtabPeInTejz7LFPfbaaxw++LPF6z/IJ59RV++3Tu/QxxJ31XT/775PJjjKTfgu3xZatS47+BrANmH02A9kMFeiAHl/tWttzyfOtZDfg= 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=ObU6/gZv; arc=none smtp.client-ip=205.220.180.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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44V8TWD5023460; Fri, 31 May 2024 09:04:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 0hVCdwUXqXc2wcIi5oayEU7+yYRJGvhvSSqUH3wJufM=; b=ObU6/gZv9H9Nqe3o xDManqf2KYvGetw26KptFEMF7+rQvn1zRpz+ySvIYLnln1uUABILf56Zf5j/rnXz fJ1/zLVwH1Ls6gb+O29S2DRYAFq02qw5QMysbZ00gMiQIGSlMaBlrQqYx9k5VvDv pzcVYtd7UbS9WBx62kKJNSsHpYxMut3oOby3Ha6I28l8bl5c0WalQqeAgpd4AX6C cBwu8GyUoOCzi+NrXt1yc137xoXkIh3d3b6gfpHWGsMX/QlpZnW6GkfFNMcl4/hZ ExMBgH2Amwbi/i0TMhRaHddhbb2b8asVcJjjTqQU8BCkpDeIQrAR1O2ZyYPaL4Gh cj1QjQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yba0gekkc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 May 2024 09:04:45 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44V94i0C007944 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 May 2024 09:04:44 GMT Received: from tengfan-gv.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 31 May 2024 02:04:38 -0700 From: Tengfei Fan To: , , , , , CC: , , , , Tengfei Fan Subject: [PATCH v3 1/2] arm64: dts: qcom: sm8550: Move usb-role-switch to SoC dtsi Date: Fri, 31 May 2024 17:04:21 +0800 Message-ID: <20240531090422.158813-2-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240531090422.158813-1-quic_tengfan@quicinc.com> References: <20240531090422.158813-1-quic_tengfan@quicinc.com> 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: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: OYcURXNWOZSdNCBJbZ2d2LQLh1D4Uwz4 X-Proofpoint-ORIG-GUID: OYcURXNWOZSdNCBJbZ2d2LQLh1D4Uwz4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-31_05,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=586 malwarescore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405310066 The usb-role-switch is SM8550 SoC property, so move it from board dts to SM8550 SoC dtsi. Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/sm8550-hdk.dts | 1 - arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 1 - arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 1 - arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts | 1 - arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 + 5 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts index 31f52df6b67e..411de3451db8 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts @@ -1255,7 +1255,6 @@ &usb_1 { &usb_1_dwc3 { dr_mode = "otg"; - usb-role-switch; }; &usb_1_dwc3_hs { diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts index 42d4d558b7aa..84d16227ef80 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -948,7 +948,6 @@ &usb_1 { &usb_1_dwc3 { dr_mode = "otg"; - usb-role-switch; }; &usb_1_dwc3_hs { diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index 2ed1715000c9..e20c6240f76d 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -1117,7 +1117,6 @@ &usb_1 { &usb_1_dwc3 { dr_mode = "otg"; - usb-role-switch; }; &usb_1_dwc3_hs { diff --git a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts index 92a88fb05609..6dd5232da9f9 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts @@ -739,7 +739,6 @@ &usb_1 { &usb_1_dwc3 { dr_mode = "otg"; - usb-role-switch; }; &usb_1_dwc3_hs { diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 9564963fbabf..db67e722e9cd 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -3279,6 +3279,7 @@ usb_1_dwc3: usb@a600000 { snps,has-lpm-erratum; tx-fifo-resize; dma-coherent; + usb-role-switch; ports { #address-cells = <1>; -- 2.25.1