From patchwork Fri Apr 21 12:41:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 8530 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1038239vqo; Fri, 21 Apr 2023 05:46:23 -0700 (PDT) X-Google-Smtp-Source: AKy350a7o5qKtBY79whJNBSMmpN+bAN7TM/famYAiCvSJKUi9e4WsKA4dvOzpLSlKgyXmnfoa9MM X-Received: by 2002:a17:902:e294:b0:1a6:4532:1149 with SMTP id o20-20020a170902e29400b001a645321149mr4129453plc.44.1682081183586; Fri, 21 Apr 2023 05:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682081183; cv=none; d=google.com; s=arc-20160816; b=h43O1wM/kOodndoZXL/OtWpXwq4wgAdV4y8wdfsmoiWGPc+OamIKT4hiiISSNb1BPx oAdcY3SlF5PbVuw5r6z+Dnoq/8tI0UcrhQ/++SxeJ3+oA0NXgpPqzVRGaAwAwaz7+Oec oc8Qx5aHXW1sY4LyKYFVQxzDeTGny6L4Q4AIyj75KInJwapOfb+2M5MSoFqaJ9UyAkUc AWeP9Pi41kXzNIS8AQR4Mihj6keO1bJeAaFErCOgYsmb8DFya82WGv/lXswpB90mF5yI XzCTPY59vkyjMAhxDTLevPjj4b5XAa1eyvPizvSHZoTtsVf+kAx+FKdOgSqjhD9EQwJv t4UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=W6qtNG8AwMU+iygFqb3O1Lr/iPUP2mZVTFrskY/9MYA=; b=F6aBpL7Xf/nG7AffrvZkXqinq2xY90bqRxfYh6NsOV081qMWauNrMxdgZviNglA665 xj/LuR7JwgAs/YGrwbPH2oSItqifFBfipzCBuAn2lw/TUqRvUvqW/+IODBBLL+SpaHEN vrQhOL3NaVlO4MRIV27gAgfHNnr7gDKwKZ4kJydTe9StioPYMiANe3enFQJm8TLPggHA tvm34D/21SZaPtGCoYyMz5XNzcTBUy1xk/1ZN2PGFrDN5HdtZtu5wnfFCE5jcO9JkTtM jlb2d3MTG3GZ25ajCseWNGKvrTixeAl/ZSw5t7XFzhbHFpyInOhqbmDwnvMZDClsIRuz J41A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NEgDRUcb; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n11-20020a170902e54b00b001a6d4f56673si4627391plf.457.2023.04.21.05.46.08; Fri, 21 Apr 2023 05:46:23 -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=NEgDRUcb; 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 S232270AbjDUMm6 (ORCPT + 99 others); Fri, 21 Apr 2023 08:42:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232230AbjDUMmq (ORCPT ); Fri, 21 Apr 2023 08:42:46 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7680B77A; Fri, 21 Apr 2023 05:42:26 -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 33LCTsUx020996; Fri, 21 Apr 2023 12:42:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=W6qtNG8AwMU+iygFqb3O1Lr/iPUP2mZVTFrskY/9MYA=; b=NEgDRUcbEKtYHEu2YJkaWndIv4Qvq8M3gcHt0pTMG89hwwEiNSQMSyH9JCUCQ2WS307Z +M1JMQxFaoRBZeuEDKSbPKEUzWQpfJt76eDH+vCbmTRngc1flxbp7pLRt3wJJIVOfUli Odj2CSnpaelLm6xgS5GHRB+grqXeenumTwtCFY0nnFwLcuVdV8vFXMQ3ev9i4K72drbJ VKzBR89LltGzgb1idzvQWwSRkPxxyvq/zKyqgW54eIZ6JDsD07lqGdWePm68HqUATQAg dsqTQ4I/2r9iNrhSUfSZDToBfyBVbDF5TWy5T0+9q5gdYmQbroLcWyO5slR3RwDiHSPj Kw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q3thdr0u3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Apr 2023 12:42:10 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33LCg90p031040 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Apr 2023 12:42:09 GMT Received: from devipriy-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 21 Apr 2023 05:42:03 -0700 From: Devi Priya To: , , , , , , , , , , CC: , , , , , Subject: [PATCH 0/2] Add support for PCIe PHY in IPQ9574 Date: Fri, 21 Apr 2023 18:11:48 +0530 Message-ID: <20230421124150.21190-1-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: eeGPSvC4WzGeAa1vVeXDPuWfI5-ITpRq X-Proofpoint-GUID: eeGPSvC4WzGeAa1vVeXDPuWfI5-ITpRq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-21_05,2023-04-21_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 mlxlogscore=580 mlxscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304210110 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763789959013402106?= X-GMAIL-MSGID: =?utf-8?q?1763789959013402106?= This series adds support for a single-lane and two-lane PCIe PHYs found on Qualcomm IPQ9574 platform. This series has been separated out from the below PCIe series as suggested by vinod https://lore.kernel.org/linux-arm-msm/20230404164828.8031-1-quic_devipriy@quicinc.com/ Detailed change logs are added to the respective patches Devi Priya (2): dt-bindings: phy: qcom,qmp-pcie: Add ipq9574 bindings phy: qcom-qmp-pcie: Add support for IPQ9574 g3x1 and g3x2 PCIEs .../phy/qcom,ipq9574-qmp-pcie-phy.yaml | 90 +++++ drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 332 ++++++++++++++++++ .../phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5.h | 26 +- .../phy/qualcomm/phy-qcom-qmp-qserdes-pll.h | 3 + 4 files changed, 445 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq9574-qmp-pcie-phy.yaml base-commit: 44bf136283e567b2b62653be7630e7511da41da2