From patchwork Fri Nov 22 06:44:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Liu X-Patchwork-Id: 13882798 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 4A9771714D7; Fri, 22 Nov 2024 06:45:55 +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=1732257956; cv=none; b=oZkdfY+FgZ+nvQ2+5wvei58PzodXSn7XGaQIaZyzqz0VlDkt+YKw0tQ59DT1NTaoWJoH6WQvgka9R1aUHUwkSmxcaJjZ2ES4/jS8+Ct9IZaF5HhAcS8XeWDiLbFjNycJTAmvyl3jE+qKcXQ7CYCu2fQ0BNpPgUvsaP7YucXV6l4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732257956; c=relaxed/simple; bh=LkyvncKh0x48UcTr9vCZPEKF/s9rYMsKWE+WpL7iRnY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NQ2zse4QXfuCWFFgsv8w4tYxjLUXj9Ov7NiNlqAT+rt1X+1k+VbO5589BzmeiCfibE9QRtsTr2WALu4oIChR9UpYgCLg4JIgHLOkBbEgycRLEJTWedjWBV7OBMzfAf2lZYXxiqCpP0pf/i0pwZlS7bAGQXGe6BbuUBM3W2mWve4= 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=fhEtIoHo; 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="fhEtIoHo" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AM06BtT004507; Fri, 22 Nov 2024 06:45:45 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= YaiTaDG4h3OUPCY6b36SmXVgqJDmLzA9RMdrQcI0dhM=; b=fhEtIoHokiSEYU+W O7ck7KohtoicDCUcPDhcWLA9DKr+A+GLz2caViexjEz0XR3obLk1aqjuU0++V/Dl I+SXFYViG2HwS3Db2Ve2KoO2YLJ0jffWKg9V67QByONCb4TRccsGgsN/k09GC/nI VDKygLxwYHl6T8g16jcM1fKA45pOQVkLZ5zddDAex2NM2mFyi/G5UQVapfOmbUeL 2AGhTBoKy4HuiwHlhJIe7VKo6Uum3mHDYnx/s14wPSHkbly0WU+DSfXRu5kHRhQs RaOLpzQR4FMOMag0SW4dEZFYLurGGxTqqO4LiZBepc3oBacZ7FueGuCnFlRvFhcr QmjCSg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 431ea761nc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Nov 2024 06:45:45 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AM6jis9032317 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Nov 2024 06:45:44 GMT Received: from liuxin-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; Thu, 21 Nov 2024 22:45:38 -0800 From: Xin Liu To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio CC: Vinod Koul , Kishon Vijay Abraham I , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , , , , , , , , , , Konrad Dybcio Subject: [PATCH v3 3/3] arm64: dts: qcom: qcs615-ride: Enable UFS node Date: Fri, 22 Nov 2024 14:44:28 +0800 Message-ID: <20241122064428.278752-4-quic_liuxin@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241122064428.278752-1-quic_liuxin@quicinc.com> References: <20241122064428.278752-1-quic_liuxin@quicinc.com> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: K8jRUzzKeywlp14X0yxrF6E6-q71sqBb X-Proofpoint-ORIG-GUID: K8jRUzzKeywlp14X0yxrF6E6-q71sqBb 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 phishscore=0 adultscore=0 bulkscore=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411220054 From: Sayali Lokhande Enable UFS on the Qualcomm QCS615 Ride platform. Signed-off-by: Sayali Lokhande Reviewed-by: Konrad Dybcio Co-developed-by: Xin Liu Signed-off-by: Xin Liu --- arch/arm64/boot/dts/qcom/qcs615-ride.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts index ee6cab3924a6..79634646350b 100644 --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts @@ -214,6 +214,22 @@ &uart0 { status = "okay"; }; +&ufs_mem_hc { + vcc-supply = <&vreg_l17a>; + vcc-max-microamp = <600000>; + vccq2-supply = <&vreg_s4a>; + vccq2-max-microamp = <600000>; + + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l5a>; + vdda-pll-supply = <&vreg_l12a>; + + status = "okay"; +}; + &watchdog { clocks = <&sleep_clk>; };