From patchwork Tue Sep 26 16:20:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nitin Rawat X-Patchwork-Id: 145029 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2179395vqu; Tue, 26 Sep 2023 13:37:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUAbnQSBwCRYLA3p3e410jlkF+QqD309b/FIlbZgvSjRZ8bkl/FH45fpY0Jx9zkiYd2EoZ X-Received: by 2002:a17:903:41c6:b0:1c3:6163:210a with SMTP id u6-20020a17090341c600b001c36163210amr10201278ple.60.1695760662040; Tue, 26 Sep 2023 13:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695760662; cv=none; d=google.com; s=arc-20160816; b=0YmbpZLnwi6sdF4q1HiJoyi86RZBIU18LV3KDRHabzTve1RGnz6s7fx1A32vpucNPm ANXRMv6QzGVXxXZxmEMO+UVCot1JntONTfyDKgUbWgaMad5jpm3UR6GoVyQXTnWd7Wmr VFmi0S71eLJkiN+xSW6A3fQKQZPKaICWRDPLkbRCAZ6YGFv3g5J2/6Ymif/oDMw5cccy ZukG1iSHM5hR+soypD/r/OlAUPaVG7YMr7QaS42PGdOafbhmZhdNVdC1aUD59WNf9J3G 5PuH6+URSM/pWEwzcSRAqYJT2tNc47j2JjM8+nBJ5XqcyHZJTZw+32pqcyxSMm//isof /8Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=LehS//YoR2gic3xDd8E3tZ4tviPkBJ1Uha5rLlpj9tY=; fh=K6pJT0tCUjjAwP4YTKohlR5+kEeLPFqNvlfg3NOMOtU=; b=nNiS+Ty6Nz8U6aWBEbbeCo3xPkYbtQjDFfRuYJP43CWDeoepyJP3cX3I7ynAfdgoYq wW554sRAZhA2uMwvwuf33Ef0pZhx7NfjqKVSvJwDt4QIHnEczxYq5c05I3YfRorOtRsA +ModIxleJEETw5bTcsBCjcTNY9Q16zQcQd83fPaDMWeirDbtyP1k7gUM/CP8Bk91urep Cxlkj3t6lYuE4X3BEsmAkRKaW5lgbbAW/VROsW4qiLY3Wzj2a4ZqDdGEwiQsakDg9X6J EKwkZYCVJXoHw9bCTBIHu7L/aLEtLTnjbKxqg0WHCwidoK9w5KZNbG7idmlVpgCATiXn KyUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MN+WZK6S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id f4-20020a170902684400b001befd0512ecsi12437249pln.314.2023.09.26.13.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 13:37:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MN+WZK6S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7CE5283EE9C1; Tue, 26 Sep 2023 09:21:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235200AbjIZQVN (ORCPT + 28 others); Tue, 26 Sep 2023 12:21:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235213AbjIZQVH (ORCPT ); Tue, 26 Sep 2023 12:21:07 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FB648E; Tue, 26 Sep 2023 09:21:01 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38QEqOVq001484; Tue, 26 Sep 2023 16:20:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=LehS//YoR2gic3xDd8E3tZ4tviPkBJ1Uha5rLlpj9tY=; b=MN+WZK6SeUNZjXf3VnZUK0cggxNo+aK4FxJZXQU99U+xH0lO6XR2YPYHxex8RhvJq3nb UCV70gaaKrLkMimHZ10X5rkLMQoy46/c1uQtmZEbopd53gA5oKwXoQFdyLGv/eMElSY8 BikcjkgMvkBpYaicxFl2MBBfjtY957voIsxljNrb0FCurjfxn2+oZqLpuUTxKWKxBxvr i1T5myuzhrM/b07TE6xpcH4+LiC3vEe4gGrBXqP6Hc0APmMqnl3ICncKNcI9WLMbeDVs jrbiBgD/4N2Fb2kveQWnemW+bg60WL37Npqh9x4GsCYLgySIWGV2/nroEhYf8bOHDDbu Jg== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tbexgjkbr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Sep 2023 16:20:53 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 38QGKoXG010076; Tue, 26 Sep 2023 16:20:50 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3t9s3kk6nh-1; Tue, 26 Sep 2023 16:20:50 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 38QGDbPq002942; Tue, 26 Sep 2023 16:20:50 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-nitirawa-hyd.qualcomm.com [10.213.109.152]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 38QGKowh010070; Tue, 26 Sep 2023 16:20:50 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2342877) id 6DC36601917; Tue, 26 Sep 2023 21:50:49 +0530 (+0530) From: Nitin Rawat To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org, alim.akhtar@samsung.com, bvanassche@acm.org, avri.altman@wdc.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Nitin Rawat Subject: [PATCH V2 3/3] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 IDP board Date: Tue, 26 Sep 2023 21:50:42 +0530 Message-Id: <20230926162042.14180-4-quic_nitirawa@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230926162042.14180-1-quic_nitirawa@quicinc.com> References: <20230926162042.14180-1-quic_nitirawa@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: rCNSMKswIH4bKmtGgqW-jKlgPNC0A0Pa X-Proofpoint-GUID: rCNSMKswIH4bKmtGgqW-jKlgPNC0A0Pa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-26_13,2023-09-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 spamscore=0 suspectscore=0 impostorscore=0 mlxlogscore=736 adultscore=0 clxscore=1015 bulkscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309260142 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 26 Sep 2023 09:21:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778126798509077720 X-GMAIL-MSGID: 1778133932070472425 Add UFS host controller and PHY nodes for sc7280 IDP board. Signed-off-by: Nitin Rawat --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 2ff549f4dc7a..a0059527d9e4 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -499,6 +499,25 @@ status = "okay"; }; +&ufs_mem_hc { + reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l7b_2p9>; + vcc-max-microamp = <800000>; + vccq-supply = <&vreg_l9b_1p2>; + vccq-max-microamp = <900000>; + vccq2-supply = <&vreg_l9b_1p2>; + vccq2-max-microamp = <900000>; + + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l10c_0p8>; + vdda-pll-supply = <&vreg_l6b_1p2>; + + status = "okay"; +}; + &usb_1 { status = "okay"; };