Message ID | 20230926162042.14180-1-quic_nitirawa@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2217349vqu; Tue, 26 Sep 2023 15:00:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEitTgLT4Q0nLUeX+VPPwFjehI2cy2O6vZfei9YS18QBEOspP/oDkOwnlpG+hKbcaVXaLuK X-Received: by 2002:a81:9e48:0:b0:59b:fc99:8e5 with SMTP id n8-20020a819e48000000b0059bfc9908e5mr310570ywj.29.1695765655661; Tue, 26 Sep 2023 15:00:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695765655; cv=none; d=google.com; s=arc-20160816; b=AL1QL4S42mxDSLlwaDKeh9hn1raZnrsE66hp15DzbOXddQp1vH0jEajyH989Rd3xHB uVrjPlIJgefpHWNe52G4N4Y22bj4XYA1QsrISE9NQvS/ffr5d4WvGtqc82NjORqiRxg/ G0qBUfKCU/23ymNmIRyKPI/144LIxuphuY8Sv/7E11yCUAui9qKY0Hzh8zuil4Hmw5x8 WYiZFMSLH8CCrkzy5Tdb+OVfI/5Z75+mac8fUROZOT+Ds/3S7/OXSUPUEg6TOQufX/U3 MkmKKr2kWVs4uT53HobHdGDNvSGy9kg/evduTgn9AC9tSXKAPdqu6lkqz8jQxdDKDcHq k8Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=4egfuai/K1YaEUv09gPmcF8efD43YT+tVjuUW8tDWh4=; fh=K6pJT0tCUjjAwP4YTKohlR5+kEeLPFqNvlfg3NOMOtU=; b=UA1RvIxn6+lB/mn1TAKQWI6EPMIXOCdpwHArpzWOwuIrg0O+CEHBUoCJlAxjff7VZi nPHACIz6V8vAbPdHpG7K+zR5nXZtoFsJ3lEahWLCAfQgZScfdTFKMglo9b90QkvMh7f3 ogZPw7iW25hKwxZxEixuysln94fv967O6lctWgjNmBM3UKzD998RaW0bbaTLk7OviBZ8 i78iGKlcT4Zs/tj2bpmS1GyOFBsg9/DCkVrcrIwHsEXEorX0HK08QcBlYqfKgsxVyyIf 9mOEl5lqvG0eB4fWQPyFQCC4Y4xgFSxtokzliXZ1oMhFOMzi9etvseZwtuPhwW5Wsun2 Vflw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=N4WqbL7w; 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 x22-20020a17090aca1600b002743b58483asi6269266pjt.66.2023.09.26.15.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 15:00:55 -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=N4WqbL7w; 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 956CA83654C4; Tue, 26 Sep 2023 09:21:14 -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 S235233AbjIZQVG (ORCPT <rfc822;pwkd43@gmail.com> + 28 others); Tue, 26 Sep 2023 12:21:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235188AbjIZQVD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 26 Sep 2023 12:21:03 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9785210A; Tue, 26 Sep 2023 09:20:56 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38QD8X7G015172; Tue, 26 Sep 2023 16:20:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=4egfuai/K1YaEUv09gPmcF8efD43YT+tVjuUW8tDWh4=; b=N4WqbL7wY3jFMqFG83ksBNFNHsVOgBMlJmT0wQp0/HULRtA9zm+AC4/stwWuWho2rhm7 jVPDLwk01OUE0tncyka41JN5LFW7R9An/nR57zTB0IYfjMYezFv2Vo/bki3jCxMlax/h iDkKSFkDbhqRShNzc4LWklr7u9L8+Uv9XeZd+PgiGhHQkJ1b13Q5bvnWq28GHjV9M4uy d0LQM0FzlqR4f97ogv8ipXFqWND0dZ/nAubsB1/aq6IYuXDGcyYbBd0suZQ04EfPrG8L giHduI+Sr9IfKdFw+eVrqA2+OzubGq3NkiCFJXPyuPgJR9lgwDQZg1wuMkFmGpiEwBor Sg== 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 3tb7re3rp7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Sep 2023 16:20:48 +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 38QGKjw5010028; Tue, 26 Sep 2023 16:20:45 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3t9s3kk6mr-1; Tue, 26 Sep 2023 16:20:45 +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 38QGKiQ7010022; Tue, 26 Sep 2023 16:20:44 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 38QGKiAf010021; Tue, 26 Sep 2023 16:20:44 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2342877) id E04A8601917; Tue, 26 Sep 2023 21:50:43 +0530 (+0530) From: Nitin Rawat <quic_nitirawa@quicinc.com> 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 <quic_nitirawa@quicinc.com> Subject: [PATCH V2 0/3] Add UFS host controller and Phy nodes for sc7280 Date: Tue, 26 Sep 2023 21:50:39 +0530 Message-Id: <20230926162042.14180-1-quic_nitirawa@quicinc.com> X-Mailer: git-send-email 2.17.1 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: -lu74KSH2ts1NxLe9C2n0mkt1P08Xxe_ X-Proofpoint-GUID: -lu74KSH2ts1NxLe9C2n0mkt1P08Xxe_ 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 malwarescore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 mlxlogscore=555 adultscore=0 priorityscore=1501 phishscore=0 clxscore=1011 spamscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309260142 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: <linux-kernel.vger.kernel.org> 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]); Tue, 26 Sep 2023 09:21:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778139168474762149 X-GMAIL-MSGID: 1778139168474762149 |
Series |
Add UFS host controller and Phy nodes for sc7280
|
|
Message
Nitin Rawat
Sept. 26, 2023, 4:20 p.m. UTC
This patch adds UFS host controller and Phy nodes for Qualcomm sc7280 SOC and sc7280 Board. Changes from v1: - Addressed mani comment to separate soc and board change. - Addressed mani comment to sort ufs node in ascending order. Nitin Rawat (3): scsi: ufs: qcom: dt-bindings: Add SC7280 compatible string arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 soc arm64: dts: qcom: sc7280: Add UFS nodes for sc7280 IDP board .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 19 ++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 64 +++++++++++++++++++ 3 files changed, 85 insertions(+) -- 2.17.1
Comments
On 26.09.2023 18:20, Nitin Rawat wrote: > Add UFS host controller and PHY nodes for sc7280 soc. > > Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com> > --- > arch/arm64/boot/dts/qcom/sc7280.dtsi | 64 ++++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 66f1eb83cca7..3be8ea090ade 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -3353,6 +3353,70 @@ > }; > }; > > + ufs_mem_hc: ufs@1d84000 { > + compatible = "qcom,sc7280-ufshc", "qcom,ufshc", > + "jedec,ufs-2.0"; > + reg = <0x0 0x01d84000 0x0 0x3000>; > + interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; > + phys = <&ufs_mem_phy>; > + phy-names = "ufsphy"; > + lanes-per-direction = <2>; > + #reset-cells = <1>; > + resets = <&gcc GCC_UFS_PHY_BCR>; > + reset-names = "rst"; > + > + power-domains = <&gcc GCC_UFS_PHY_GDSC>; > + required-opps = <&rpmhpd_opp_nom>; > + > + iommus = <&apps_smmu 0x80 0x0>; > + dma-coherent; > + > + clock-names = "core_clk", > + "bus_aggr_clk", > + "iface_clk", > + "core_clk_unipro", > + "ref_clk", > + "tx_lane0_sync_clk", > + "rx_lane0_sync_clk", > + "rx_lane1_sync_clk"; As discussed, property-names is preferred to come after property, just like in the other node you're adding. [...] > + ufs_mem_phy: phy@1d87000 { > + compatible = "qcom,sc7280-qmp-ufs-phy"; > + reg = <0x0 0x01d87000 0x0 0xe00>; > + clocks = <&rpmhcc RPMH_CXO_CLK>, > + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, > + <&gcc GCC_UFS_1_CLKREF_EN>; > + clock-names = "ref", "ref_aux", "qref"; > + > + resets = <&ufs_mem_hc 0>; > + reset-names = "ufsphy"; > + > + #clock-cells = <1>; > + #phy-cells = <0>; > + > + status = "disabled"; > + > + }; Stray newline above. Konrad