From patchwork Wed Sep 27 08:18:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nitin Rawat X-Patchwork-Id: 145320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2536407vqu; Wed, 27 Sep 2023 03:49:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUz3qZ00d8nETwYYH7DlMGnwTO1CX3mMX9fowIw7ogWiiv7Qsz+Ny+yb+IHfB0DYKAI1y2 X-Received: by 2002:a17:903:1206:b0:1c3:92de:1b23 with SMTP id l6-20020a170903120600b001c392de1b23mr1499410plh.59.1695811784927; Wed, 27 Sep 2023 03:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695811784; cv=none; d=google.com; s=arc-20160816; b=FBEr4mjIrsqpuUXOPSgDGY+7uaxiMTbygXRmrm5opaFxlcCUgOVsq0IIMv5v8OVHp7 IoMETn9bHfc/Erz5Mw3tgWMSuZicBKIal7UdcnMSdEBB2mLLwcTHS0wrChVIjCvVHZkT +AtsETFEtJcpNDJs1SG/OOzzmCLlRf8WPMAV4dPLYOxlig3qSC8oMUcQOz5J1q9qWoh+ kWHC87wlkM57201XNPAQyxy6EcZ+Au3cFQaydw1dsuzDgxH/PRSXYz9+lMSfNKL+o6T8 4QauAJmQvoWtcteoi3vjpv8ETsYAWr97AHNTCKQaIShNJCkWWWODISUKRHUB+cT8i1Ps yzQw== 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=BYoR4eqk9EyRfG1QIDWq3QaZpNfHV654G3Li7QU5ttFX/tVtSkL/V+hSfMjQS9iUDA dqCJx1ZdaUX3UaDJuHnb5K2l08G7vIiN8ysdwJjtdge3LNk7uPwvnkxruIKVS4pRis2X /+ueck2C1olRPlOSbp3HSgILaY4rGWAYgNs5c1j4hWjHd0GbH8KhZ+hwRXzxQRAfgJVb FtL0n84gyFjerPj63++j6f/1LjkpS0hz6JZOwiGSrfMllvbXzBskjckpco7dTM74o5T9 nOg7Z0Ct7Jnhh2I53W4b2Q7urZjMgrRl7qIhr2yrx0xu4NIlU0EqzJIy86+RXYnEQFXl h0Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WvrTMDns; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id x10-20020a170902ec8a00b001c62cfff79dsi5243808plg.194.2023.09.27.03.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 03:49:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WvrTMDns; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 2C851801C8B6; Wed, 27 Sep 2023 01:19:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230260AbjI0IT3 (ORCPT + 23 others); Wed, 27 Sep 2023 04:19:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjI0ITT (ORCPT ); Wed, 27 Sep 2023 04:19:19 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97988E4; Wed, 27 Sep 2023 01:19:18 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38R7L4OW029979; Wed, 27 Sep 2023 08:19:07 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=WvrTMDnsSrrjoxRQNsNRtSRYaMV68OBuO3b2bgF2Z12jjHHrpojkwQ7vrn99v/uNrOhp /7o/6KJuGllm4I3bRHwAV8iErqxQ7c0pg6QnrzAAVD0tY0+tgXTXGLcr1PTSWBL1x1/Q +0vOKn5EtNXqQjJDQisW14YPGw44Hzlc+6UEujHPtcTD8uRt7mxC1E2wBXTys1NuZSG9 SN+b1wlxDjbcXugZzS4uXCAHN6wI7UBstA03TTMfXTqgaQZzuSs5HVvt1GkDSGBzXXse R1WUSNKeRWWWmkNdPxyF57KAnlLCstLTwSBMpcPE49+ZxBKKFFchlkEJUIjntim0NOyL /Q== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tbv662uh5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Sep 2023 08:19:07 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 38R8J2Rn009689; Wed, 27 Sep 2023 08:19:03 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3t9s3ksnsd-1; Wed, 27 Sep 2023 08:19:03 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 38R8J3Es009710; Wed, 27 Sep 2023 08:19:03 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-nitirawa-hyd.qualcomm.com [10.213.109.152]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 38R8J3iY009705; Wed, 27 Sep 2023 08:19:03 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2342877) id 4E1C85000AB; Wed, 27 Sep 2023 13:49:02 +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 V3 3/4] arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 IDP board Date: Wed, 27 Sep 2023 13:48:57 +0530 Message-Id: <20230927081858.15961-4-quic_nitirawa@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230927081858.15961-1-quic_nitirawa@quicinc.com> References: <20230927081858.15961-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: LlNSC2zcTTwo090iFW_xbzd98Kx5Lla9 X-Proofpoint-GUID: LlNSC2zcTTwo090iFW_xbzd98Kx5Lla9 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-27_03,2023-09-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 mlxlogscore=736 bulkscore=0 phishscore=0 suspectscore=0 clxscore=1015 impostorscore=0 mlxscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309270067 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:19:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778187538470166430 X-GMAIL-MSGID: 1778187538470166430 Add UFS host controller and PHY nodes for sc7280 IDP board. Signed-off-by: Nitin Rawat Acked-by: Manivannan Sadhasivam --- 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"; };