Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1347185rwd; Thu, 18 May 2023 10:50:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eMMwDjdV0uvGvl79TBy8NmYmW/R6NvfP1LrGbF3YJKP9aMgJE2TYE2gLXnkyhdROJMZgD X-Received: by 2002:a17:902:778b:b0:1a2:8c7e:f310 with SMTP id o11-20020a170902778b00b001a28c7ef310mr2566450pll.35.1684432208190; Thu, 18 May 2023 10:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684432208; cv=none; d=google.com; s=arc-20160816; b=Qvp86tiwToGChmlxb7WeSbHARBE2MlvP/FsrqcyNFV7Qu/36FvP5TjLW74jfodQhlt Bm+gJvpz2d+HCM68X6nXlHB7BFES7x5CixwKSb2ebYTUP35RuDlfI7izJJCnW9VlEPLj rNZQsxrsbfnf2QlDOGOSpNVS47yiASL4BR806XQZV3UrHtuAXwmXegc1/Im4nb6/V9wG Fj2+tzOfsMxX4cTrqpHOvzxAUsZyuymLJX5qPZZ5bSLKjMCWdH23xwDYMcy0fxApSHlo tgdYjet1wenJnAfPwSre5FLWDt9VBwW7+SDHHhEc9tqzPKDclrAXLsTPmPRrKuZX14WF AAoA== 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=il9SipwudKgwDZd7JgviDEKGSp3xyuj8/UA0OhZtHVY=; b=gutlW+NW4bFUXN0GUylqkKzeseBH46IKw7CcY/NqxcMvY94a9The1WDheB/3J9Aowo aUfn6xvaIHdoMUCL4zQOvf1NTBOqee0aa4c4mJAU1+o+Fn9fGGcbula3DQhDyi3JmmGr uoUM8MF05z0JpZhpr3WLbpxvhKJOz5sAyjHi82N1N2awlczM2r3iP7KGAxGG0XIui1Qg xom1D/NmCD4CgFgiBnAA6K4LOcsaQ3s6kTqrkMdYYPtPwrRJO6AgxqAWu5nbalR5/YsU gIxdQZsuW03UlNdCTzMR79oDMb0ByIe+vtbYQFoZJCHaoeXo2BuGsrni2TrmATsGmMFX R+rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=M4HUErbx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg13-20020a170902fb8d00b001a95babe3c0si1688531plb.371.2023.05.18.10.49.56; Thu, 18 May 2023 10:50:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=M4HUErbx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229749AbjERRsq (ORCPT + 99 others); Thu, 18 May 2023 13:48:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbjERRsQ (ORCPT ); Thu, 18 May 2023 13:48:16 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F319410E3; Thu, 18 May 2023 10:48:11 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34ICmhnE005791; Thu, 18 May 2023 17:48:06 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=il9SipwudKgwDZd7JgviDEKGSp3xyuj8/UA0OhZtHVY=; b=M4HUErbxaMdYJKtmCRgkjoLrJ/i+DpUUx6wM0GAQdwVVQKYBC18akQCIb3S2vobwmNtp m/emtLbICgB0zJyrndjXKmv0npLodBggMRqhjrKH/jaMjvRe42f48oOEd8JoOrk1dYvj zIi/pKk/5fJKKmBIhsHuHppLe7T905OLGKnWpi/9EXuoHw4KIMwSh2yGy8eHQnXmIITP yIXIh3k4hQc+qbuj6LU1ij48FmckklFg2P5dXc9yuRXZxa1fvUzXFvMftGxXxDzPgQeQ fdJy6rAv+asojUx8XwKNoCSsWfdYI6uniRoaoLaxdfBlLWzwxV9sf/qAsP0zkV7MY6Va 4g== 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 3qnb7h9wha-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 May 2023 17:48:06 +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 34IHm2fK012305; Thu, 18 May 2023 17:48:02 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3qj3mkakxk-1; Thu, 18 May 2023 17:48:02 +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 34IHm2Do012206; Thu, 18 May 2023 17:48:02 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 34IHm2ba012096; Thu, 18 May 2023 17:48:02 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 6DBD95EC1; Thu, 18 May 2023 23:18:01 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org, bhelgaas@google.com, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH v6 2/5] ARM: dts: qcom: sdx65: Add support for PCIe PHY Date: Thu, 18 May 2023 23:17:50 +0530 Message-Id: <1684432073-28490-3-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1684432073-28490-1-git-send-email-quic_rohiagar@quicinc.com> References: <1684432073-28490-1-git-send-email-quic_rohiagar@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: 8er7kFDeIjtcfGLz1S7bV0dsr_9PEaI9 X-Proofpoint-GUID: 8er7kFDeIjtcfGLz1S7bV0dsr_9PEaI9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-18_13,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 mlxscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 adultscore=0 suspectscore=0 phishscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305180144 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Add devicetree support for PCIe PHY used in SDX65 platform. This PHY is used by the PCIe EP controller. Signed-off-by: Rohit Agarwal Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-sdx65.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index 525dd8a1..2fe61c2 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -295,6 +295,37 @@ status = "disabled"; }; + pcie_phy: phy@1c06000 { + compatible = "qcom,sdx65-qmp-gen4x2-pcie-phy"; + reg = <0x01c06000 0x2000>; + + clocks = <&gcc GCC_PCIE_AUX_PHY_CLK_SRC>, + <&gcc GCC_PCIE_CFG_AHB_CLK>, + <&gcc GCC_PCIE_0_CLKREF_EN>, + <&gcc GCC_PCIE_RCHNG_PHY_CLK>, + <&gcc GCC_PCIE_PIPE_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "rchng", + "pipe"; + + resets = <&gcc GCC_PCIE_PHY_BCR>; + reset-names = "phy"; + + assigned-clocks = <&gcc GCC_PCIE_RCHNG_PHY_CLK>; + assigned-clock-rates = <100000000>; + + power-domains = <&gcc PCIE_GDSC>; + + #clock-cells = <0>; + clock-output-names = "pcie_pipe_clk"; + + #phy-cells = <0>; + + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x01f40000 0x40000>; -- 2.7.4