From patchwork Wed Oct 9 19:56:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 13829160 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 F42391E2821; Wed, 9 Oct 2024 19:57:01 +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=1728503823; cv=none; b=BM9up2uMsiTVvJXOyiDfyAyZlxBJGwONTcfapX1CG5TD1ce7JhNytSuYRjmAQbVQopDu4h2uP4QtR8ZiMbD03sREYtHGQyrBngCPPSGBUmmR/fjeJjcMfXYaaze/QN7tmaYTY29s2myUUdUkRkBMuD/d/kNfHKr+FwjxuvKPVTI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728503823; c=relaxed/simple; bh=ntltuQGLLpIlG5pRJkcPkdPOn1Oz4Rza7eNFqvuv8FU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oaJDtT7tSjSGFYSfF5qD1ar5jU4xrDMYU7k5QC/61ZUEciSN5EbVf6jWTvZxQ+OzM6JYnBwJKwct0J0XcEJL7KwZ/x9MpDs7c1Q03K1t2mitfRpAvSJ0KQI9LczfCZPD/BEZiFqyV5tqUcPgr23RfUqCGFOvRgesI38c5CnLYwI= 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=P0oy6Tz4; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="P0oy6Tz4" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 499Hxmru018520; Wed, 9 Oct 2024 19:57:00 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= 6B7LiOnAyCwacf6RlniMixrcMBc55j2v4Dd7OpIsZ9Y=; b=P0oy6Tz4Df8N1Qkw xxTIGTCcMMp0vzREubvDjB56f4MGbjyNCnEeftr7opdNV1RMjBEdbdOV5isA9SBY rjJX69PCDVG+A8p+9kFQ+eJiiMpq6QDPUj2hreZJBnrqqxhbFyJCVe6H8XTmi5DN JfROdetB8rt+KWv3aygvD2Ya5P94cN3GS53EgR7+5Vea14oWHDI8R/K6XJmVY2aj XIj3aXqIom36I7m3s3RoeoYkZd0A7fjjObeTfKYGRpiPhKlWPtwGJJfT/eq7sMy9 neavJMw5Fac6d7QIK8ifjjN0hnl+gp/9UppzzDA7UbNIhg8aUb6xDYZE3LR8nD5B /wpbiw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 425xptra3n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Oct 2024 19:57:00 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 499JuxSZ032278 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 9 Oct 2024 19:56:59 GMT Received: from hu-kriskura-hyd.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; Wed, 9 Oct 2024 12:56:55 -0700 From: Krishna Kurapati To: Krzysztof Kozlowski , Rob Herring , Bjorn Andersson , Konrad Dybcio , Conor Dooley CC: , , , , , Krishna Kurapati Subject: [PATCH 2/2] arm64: dts: qcom: Enable USB controllers for QCS8300 Date: Thu, 10 Oct 2024 01:26:36 +0530 Message-ID: <20241009195636.2649952-3-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241009195636.2649952-1-quic_kriskura@quicinc.com> References: <20241009195636.2649952-1-quic_kriskura@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: fWuhi-NRs1XlQ893sWhQ5TtNH_GJdNZu X-Proofpoint-GUID: fWuhi-NRs1XlQ893sWhQ5TtNH_GJdNZu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 suspectscore=0 spamscore=0 mlxscore=0 bulkscore=0 phishscore=0 mlxlogscore=465 lowpriorityscore=0 clxscore=1015 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410090124 Enable primary USB controller on QCS8300 Ride platform and set the dr mode to peripheral mode. Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts index 7eed19a694c3..3e925228379c 100644 --- a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts @@ -265,3 +265,26 @@ &ufs_mem_phy { vdda-pll-supply = <&vreg_l5a>; status = "okay"; }; + +&usb_1_hsphy { + vdda-pll-supply = <&vreg_l7a>; + vdda18-supply = <&vreg_l7c>; + vdda33-supply = <&vreg_l9a>; + + status = "okay"; +}; + +&usb_qmpphy { + vdda-phy-supply = <&vreg_l7a>; + vdda-pll-supply = <&vreg_l5a>; + + status = "okay"; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 { + dr_mode = "peripheral"; +};