Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp979793lqb; Wed, 29 May 2024 17:27:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdvXE2syUcltYSCfpx/kgobn9/RkpxzlxaTAsvSZOPQliSwhR6cggN4xBEQexPb2HU4gcaFY0jHSYruerwRhvnAQnGZqCiEGDAc0RFtw== X-Google-Smtp-Source: AGHT+IGZe8BG27s9PEV+xXk381Fb7SmtdVpQ2Ua2FbDaH1h9bhclluRzmh+EgpWdGAuqZK5WujDj X-Received: by 2002:a17:906:499:b0:a59:ae57:1660 with SMTP id a640c23a62f3a-a65e8e51101mr36630566b.32.1717028878362; Wed, 29 May 2024 17:27:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717028878; cv=pass; d=google.com; s=arc-20160816; b=oJhyZKEcnbXVAWgG8euCbZTBbAYxq7auZ55sPNjdVPlG/Z48xOPENXIODdaZ66p7Rh Z4OlXEMiwPavKMnilovvGdpQpiHPT+aSUQ0H9LR3fD3gZpFFsWw5QdkGiMqgnH4E+Y58 bwU6L455YTAd0k2KESDO+MGKtpCpGtq/8asa6huqeFYTPBTXHaV029rXuBpwmVLyRoQn NnWcuAqPXt5iH2lsTrtCLuGcdkMd0GUUaKI3EAPkwhMF/EHVs3zosWaVbFyObQxhC4nO 7wKzOPpFdeq4MST8lkTrniXBtrOyXO2kr2KbOOjvvKRVM8xCkWQwoZGhvO9lV7UhBeBB UKuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=i6Bhr1ye9mTgoR0sRcNIZMsLpnxADZSDNNH60SjYE/0=; fh=TjsUZrr9u/Stulb8K04MOAp0XWjWPD2kks5odNjA6FU=; b=SLxp1ndSsnefsPc4p0TaMmSFlr+VyBYpMMZJoe+M7Ujsn+lmWSibYRe996F7Q7PA7G fXir0mgWVZgfKxNJ1D3WnY5gqLSqVuW/WxqEG+kMMreBU2dJKVrWoi24cGMX8FCbI7e6 xvXNdbbViKPn62R/m9iHI54CbbzWehpqNdbK3iFBzRS2IofOMNONgqxC2Ok1jbrDrU0e qv2T7usmflt/f44hUXeLay11ocRRDJzJ2mpV0DLFjQbiTaWVSY7xDChhODzwHU/KlvVe VO6Oi0vP6aTo05BcFpsRFBqUNx8R4eTn26HcsrO0tyHa+ICTMF3LmH3wJhIR/mBLDKte 8SJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QsWAEZ1X; 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-194803-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194803-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6389910880si162469566b.865.2024.05.29.17.27.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 17:27:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194803-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QsWAEZ1X; 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-194803-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194803-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 903F11F25097 for ; Thu, 30 May 2024 00:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56423848A; Thu, 30 May 2024 00:20:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="QsWAEZ1X" 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 C686BE56C; Thu, 30 May 2024 00:20:41 +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=1717028444; cv=none; b=TvyNkpa+W2ELrpEWGk71TTDfpBm9G0FaJ1uJbsoaR9wnB28kEO84y2+ST6N5ITR18K3hpFRLtat+85MZFaqg6cpWC0R7bGL6yBPdgoHprg+qX1ETsadQ+neEEpUVNO3cEhvA3ZwCDacJL/vUpqoIWOGEIuZbhJga3SapWS1verg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717028444; c=relaxed/simple; bh=aWEnvu8sJL8uDFRFJIWrECI5b1uUf7IRnJRCxH7hT7M=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=bz+e/hbm7gf/bqKRwLU4DNfu0PjyZD/h9bw1L8mFW3GdKdDoVrgrd49maKdrUF3Wy9C+MGG3r+rvXTDlJJABsJQu9eaJZNPxJvUJ8oz1aIBo2i0W9MBl5XIcsd/EQZlmNMEDH8eEQ3Eidb3/PKXc3B3Dti3XNVS81hM2CrahI8k= 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=QsWAEZ1X; 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 44THt71J006624; Thu, 30 May 2024 00:20:37 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= i6Bhr1ye9mTgoR0sRcNIZMsLpnxADZSDNNH60SjYE/0=; b=QsWAEZ1XZvsxmv8D aMMw7WkLiCDmbIDnYFHQ5zKq5s0MF6T35x9d9M5ZiMmCe2jJZaeQ7BNBiRl5YN4J 8w68QvKhwhH1wK8uU2HSEV1hApzum0H+bPFY3yGX9CzrtN+/7rpzqk5QamdlQJD8 FwUbYXAvX7yjCHMzQywaLPz1ELfjTosk6Vxb8nnStiRIuxhU0t/z6SUzzh1p2zZB mfzYfjXc+oAFkjWpAonx4L1XZrwaiBSiCNsI2JR3eSdI/VTY7J5HIRhAhnCYM1Zt rEldUu5KJVB2xIyyqW0KAhguzjoIuri2AqOpuprpc0Ew4NeSg9Msmc+HN2WKYqkr FvbcOw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ye96bgvet-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 May 2024 00:20:37 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44U0KaO4021288 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 May 2024 00:20:36 GMT Received: from [10.239.132.204] (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; Wed, 29 May 2024 17:20:31 -0700 Message-ID: Date: Thu, 30 May 2024 08:20:29 +0800 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 1/2] arm64: dts: qcom: sm8550: Move usb-role-switch to SoC dtsi To: Dmitry Baryshkov CC: , , , , , , , , References: <20240529100256.3158447-1-quic_tengfan@quicinc.com> <20240529100256.3158447-2-quic_tengfan@quicinc.com> From: Tengfei Fan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: 0j-haoehV0dzyMFINNe3gCvd1i025S0X X-Proofpoint-ORIG-GUID: 0j-haoehV0dzyMFINNe3gCvd1i025S0X 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-29_16,2024-05-28_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=582 spamscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 malwarescore=0 suspectscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405300001 On 5/29/2024 8:47 PM, Dmitry Baryshkov wrote: > On Wed, May 29, 2024 at 06:02:55PM +0800, Tengfei Fan wrote: >> The usb-role-switch is SA8775p SoC property, so move it from board dts >> to SA8775p SoC dtsi. > > The commit message doesn't match patch contents. Other than that LGTM I will update this commit message. I work on the sa8775p platform lately, so I wrote this commit message incorrectly. > >> >> 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 79311a6bd1ad..8e3ce1152211 100644 >> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi >> @@ -3264,6 +3264,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 >> > -- Thx and BRs, Tengfei Fan