Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2184484rwr; Fri, 21 Apr 2023 05:43:39 -0700 (PDT) X-Google-Smtp-Source: AKy350aokxfmkW7dW8WDHG+gi0gf8veuILxZA49B5pAzh7U6r4Aj+DI0scMmPmFo1YRYjCrOsI/+ X-Received: by 2002:a17:902:ced0:b0:1a7:db2f:e918 with SMTP id d16-20020a170902ced000b001a7db2fe918mr5802489plg.1.1682081019565; Fri, 21 Apr 2023 05:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682081019; cv=none; d=google.com; s=arc-20160816; b=VtMSBJorbBd3lRpzPyO6x2Mv3xoG+1nE1w5LvwCWEnRyLdXbK1hO23U+VDqj8VApjq Q5bvPPvzuWF1tnYsEvnzE0HmoPO3Re4QPwA6zaPDgq/wVYYlrwkz/oZQuBDHRBZHybk9 JvGS975jgVqInCu9jBXDSj3bqACbBhEPvNkILEcvGu811qIMRN3iINwctn7cz4mjZRs3 2ukIcVEqY4YNFF0/0fZkBENfXMWb+NE/vChGgF/soWv0RE/9ey25B4obmENEv9ZgiMdJ 9RZkoTgGsNLHQbFg7fIO/d57wB1sip31iVkBGKXC2UocOYer7vqOT+pvKgSukYEX4dlF l2ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=a2YDGIiOHfog6Q9UccwNuqcmQlpe7kGpJUwTYgXjAXc=; b=Mszlsr4YSYs2tB3gBLzStgBQcqWmnXejz6Y3U2MlJ8Yn7eJjGQtcFX6wrhvdVLuYzS BKlBghomd3HSVLlwuuiRNHG5uLireVMPu5XtIihgt7GwOuQBHuttdiLWLqFsnFdQBpOt pVN6dGM6wxHPs/XMm+f1N3P1inSo1YRx9bglxZqoEAZmZcHjJg5r/MPdMwasnVZMiGoq DmW06z2kxycEMoxVZW59IJP40I8h7TwpeLoFK8SgOIVPtknAufOwCQ5iigyU4nKekOG/ rPfed0oh5/KRV7kMDyOi3BkvE3B9XIQIx3jYzcn/0XmwUgAA/fulCn1cx/CwA5RNMnLY Bwbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mQo2BGJe; 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 a8-20020a170902ecc800b001a0ae87878dsi4767289plh.388.2023.04.21.05.43.28; Fri, 21 Apr 2023 05:43:39 -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=mQo2BGJe; 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 S232288AbjDUMnA (ORCPT + 99 others); Fri, 21 Apr 2023 08:43:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232283AbjDUMmr (ORCPT ); Fri, 21 Apr 2023 08:42:47 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D333118F8; Fri, 21 Apr 2023 05:42:29 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33LApXYS000961; Fri, 21 Apr 2023 12:42:16 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 : mime-version : content-type; s=qcppdkim1; bh=a2YDGIiOHfog6Q9UccwNuqcmQlpe7kGpJUwTYgXjAXc=; b=mQo2BGJe2aWrJXJT9ljU6q4ArTTqprAxnT1bipSlhQ6Y3zAwO0uY1ssZ9Kn6tNpeFoUe KFPDHMARVJ74qkFwNFb2+AUpXpIn/eB8PzxZCiShNfS3O8TTuaqRrg9awjsCMJTetW4n A6Nd5lg5QXglUH/d/Ck14IbU5jZFsfpYUXqEWUdqBURxD5FobD/z7dHQeaxtwnUp6/JY rKvmaMT8e1Dwwav04uDpFkkkLFXxwn2Vn6P3vThNY2Ic46e9qNz0fFZvfH65/lyMpgGe G3NuEpCLtG9w4vW9q2Fpm4r9kH1nqn+Ez3xqLXoylTRNRcLub8ydJdv6Beyj9OPwNH7q CQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q3qdm8d95-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Apr 2023 12:42:15 +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 33LCgEMU031077 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Apr 2023 12:42:14 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:09 -0700 From: Devi Priya To: , , , , , , , , , , CC: , , , , , Subject: [PATCH 1/2] dt-bindings: phy: qcom,qmp-pcie: Add ipq9574 bindings Date: Fri, 21 Apr 2023 18:11:49 +0530 Message-ID: <20230421124150.21190-2-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230421124150.21190-1-quic_devipriy@quicinc.com> References: <20230421124150.21190-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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: YbDPEJ-36g9fpRdiH1EtR6FSm1ZpQDpv X-Proofpoint-GUID: YbDPEJ-36g9fpRdiH1EtR6FSm1ZpQDpv 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 clxscore=1015 mlxscore=0 malwarescore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 bulkscore=0 adultscore=0 suspectscore=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 Add bindings for the PCIe QMP PHYs found on IPQ9574. Signed-off-by: Devi Priya --- Changes in V1: - Introduced a new binding for ipq9574 as suggested by Krzysztof .../phy/qcom,ipq9574-qmp-pcie-phy.yaml | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq9574-qmp-pcie-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/qcom,ipq9574-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,ipq9574-qmp-pcie-phy.yaml new file mode 100644 index 000000000000..7c8012647051 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,ipq9574-qmp-pcie-phy.yaml @@ -0,0 +1,90 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,ipq9574-qmp-pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm QMP PHY controller (PCIe, IPQ9574) + +maintainers: + - Vinod Koul + +description: + The QMP PHY controller supports physical layer functionality for a number of + controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB. + +properties: + compatible: + enum: + - qcom,ipq9574-qmp-gen3x1-pcie-phy + - qcom,ipq9574-qmp-gen3x2-pcie-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 5 + + clock-names: + items: + - const: aux + - const: cfg_ahb + - const: anoc_lane + - const: snoc_lane + - const: pipe + + resets: + maxItems: 2 + + reset-names: + items: + - const: phy + - const: common + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - reset-names + - "#clock-cells" + - clock-output-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + pcie0_phy: phy@84000 { + compatible = "qcom,ipq9574-qmp-gen3x1-pcie-phy"; + reg = <0x00084000 0x1000>; + + clocks = <&gcc GCC_PCIE0_AUX_CLK>, + <&gcc GCC_PCIE0_AHB_CLK>, + <&gcc GCC_ANOC_PCIE0_1LANE_M_CLK>, + <&gcc GCC_SNOC_PCIE0_1LANE_S_CLK>, + <&gcc GCC_PCIE0_PIPE_CLK>; + clock-names = "aux", "cfg_ahb", "anoc_lane", "snoc_lane", "pipe"; + + resets = <&gcc GCC_PCIE0_PHY_BCR>, + <&gcc GCC_PCIE0PHY_PHY_BCR>; + reset-names = "phy", "common"; + + #clock-cells = <0>; + clock-output-names = "gcc_pcie0_pipe_clk_src"; + + #phy-cells = <0>; + }; -- 2.17.1