From patchwork Tue Nov 19 02:20:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Liu X-Patchwork-Id: 844333 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 1E803137742; Tue, 19 Nov 2024 02:22:07 +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=1731982929; cv=none; b=lwM5TGq4umMB41mcmvpI2uSMYwtAsSsNEiQfPhvzXxevKCwvowqnNTFd6cZH6qGIMvYBcceMn1W42i9eWKvNcdPl355rf344Ba7pUCNmqkzk1M7MdFl3egoJ5U3ADWZ1VYy8i54672QHwb8J1KYjUkmaa9f+EA6485HZaC2Oyzs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731982929; c=relaxed/simple; bh=HM8QobMjDEKZCB9Ar2MpJorNmPSZG2Ip3ycGy5NXPGg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PmFHDpTX+mzD6OHJ+6lEm7ssQrDg15IFO8HHNR7MNgfHFJrg/wDEd69xTKGp9tvBj+7x5Ja3Y1ynUxTgAva7Gro1EKVmiRPWjarJAWkK1kKVLqRrv6wBbmWgqsW5fQ41OfHUyvxNHIDAeF9wqDj20AEQcwYH8w10ECQjL2P1k+4= 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=nzA6Gemk; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="nzA6Gemk" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AIGH1lF010249; Tue, 19 Nov 2024 02:21:48 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= j2Z19si2GeCg8hSx5tQ4Xzpoxx/wkG0S+gTOGHWEJuM=; b=nzA6GemkG5lce/uE 3uyuP8zXMbaEEUmALf7B0XqA2l7NwkoBJdUUkNt+gQgqf/3Z9bbq0j5F9FDizf94 qO8cmu9j2kdnUY6RPBXtojGR4MLshPe0IuGjL/NhziMTzM2g93t6YofqrXfBro5x ScQYjNfJM5wf7pobXiW5M9kmoaR8Mbmi0fyFSbcAvWBX9tLGlB0momrDeS7q/sre vXBNctHyIkNzA9CZqiZyxzUv5HDEBjtgVBr/RSylshCfjsZvYHalBuWGbAvoUQou AduW/M4g+arZEmEkqT8V5ZKZG1g9GpgYrmSLOACKwIUkFLhEKf6Hk5NU+ZjNJ3dx MdT61Q== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4308y9157n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Nov 2024 02:21:48 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AJ2LkaA016948 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Nov 2024 02:21:46 GMT Received: from liuxin-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 18 Nov 2024 18:21:40 -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 v2 3/3] arm64: dts: qcom: qcs615-ride: Enable UFS node Date: Tue, 19 Nov 2024 10:20:50 +0800 Message-ID: <20241119022050.2995511-4-quic_liuxin@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241119022050.2995511-1-quic_liuxin@quicinc.com> References: <20241119022050.2995511-1-quic_liuxin@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 nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: gShl6h2obtMHrRi7zV4smFJzBqcgBlUP X-Proofpoint-GUID: gShl6h2obtMHrRi7zV4smFJzBqcgBlUP 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 spamscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 clxscore=1015 suspectscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411190019 From: Sayali Lokhande Enable UFS on the Qualcomm QCS615 Ride platform. Reviewed-by: Konrad Dybcio Signed-off-by: Sayali Lokhande 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>; };