Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2008790rwp; Thu, 13 Jul 2023 22:12:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlHspw25mMQuABFn8/sgmn5oUJa/qzkqCncquZ7MKlMfyT2zMgGOZatdYIvxSpEqOA/BEgNr X-Received: by 2002:a05:6358:9188:b0:134:5667:a16c with SMTP id j8-20020a056358918800b001345667a16cmr3980137rwa.32.1689311557071; Thu, 13 Jul 2023 22:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689311557; cv=none; d=google.com; s=arc-20160816; b=rJk+HBE2IFK6IpQzaUAFqfZgbmFyd7B44xwb2E871MJDezjhhpHHCdGAunKpXU4yhH /4Y0qAmKlGBDsFrPUPySOumn5l6teceJ5Zd1dAON45lcC4qhuTNa1dq81aJd3h7pGzkd zs3WleqAqPCt9RTCXo+8vKauhddfEMiOvs1uNX6H2PnLG9iEhbsXgwP6xERXgBmXsyMj Sum5hz/OXB8ZNhEnSsFhde0pxbpycFdVGk1atnNyFRgnXsRMyU0o0x0Fpz/aS5eRs/xy Ju5sMhOq4lfwqchf0NHtxc2V2n75vk1a9LdYrMVotKbHhllH2BR7YwCy9etXm1YbI/of NLhA== 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=cmH6+VfuPO1XWBA9yr4flAkYMy57XkVlfIG48ZScJLo=; fh=1PlPhL2iqZbkg6vrFcwyXzOFJk75/Sstg8kx1Kza+RM=; b=wFABHbbylJIh5MerHXDWkWDWg526sxoDV0Znp4amkrQUS3mXBM8GaqbztfoSq5ZM0e yBl+eckJlRiiarBhGiKOo7omrrmroZmGnU9oFwkeR7YYhkFxybNSOtclQYZTByN8I21v xYxQHbQvKligCagowAMs51OFXLBsl+h7aGOpEJpAaN26rsk05GCIguKQVDu1ro3Gq7Re Eufhx5zV0JXCEAFq7jt0Qmo0/5wHpm32L01Av6f6wdrRZtUgEsZa8EJkLCIBqblRIEEU l+FhLtMP6UIJd2I4SAjih164wyXYEY0rgCcgMKDSH/6+AjP+9Y1n1h+edRyTsCCAFcrG T8DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IDyUy2X8; 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 2-20020a630b02000000b0055c7eb346e1si2943474pgl.757.2023.07.13.22.12.24; Thu, 13 Jul 2023 22:12:37 -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=IDyUy2X8; 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 S229950AbjGNFJV (ORCPT + 99 others); Fri, 14 Jul 2023 01:09:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234867AbjGNFJP (ORCPT ); Fri, 14 Jul 2023 01:09:15 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7064C2D78; Thu, 13 Jul 2023 22:09:09 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36E3pOwS008610; Fri, 14 Jul 2023 05:08:53 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=cmH6+VfuPO1XWBA9yr4flAkYMy57XkVlfIG48ZScJLo=; b=IDyUy2X8Xh+kJ/Su/V3Ug0fTDdJ3I3ElbNbtoyFbaA9dPNBa/8ZufZAFDxlHWBmnlFOY ySzfi4D8qczQIZ2cuzswBP3moxY2V0hai0kM3NEG9xwt40zXOXINWMEHcP6oD+hwgBn9 RSPs71YsE48wyaO3JALw5CnmuSAddAnVGEHZtXCLUzQC/DqHkp4jKZWt+QqSWaKlyDCs 7g7463H2mZbnuInN+UKMpi1YYewak1K6sAuAc3ZcISCian3HRWfUGeV6tZGkglwqEIs0 w9PZhZG5igbNYP+cDHl9Oc2J6ery0ehxLT0HcpPXbS1LJuFpqVmLDyE8GLZUEzMy8vgA ng== 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 3rtptxgw0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 05:08:53 +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 36E58olq001133; Fri, 14 Jul 2023 05:08:50 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3rq0vm576y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 14 Jul 2023 05:08:50 +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 36E58nci001126; Fri, 14 Jul 2023 05:08:49 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-msarkar-hyd.qualcomm.com [10.213.111.194]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 36E58ngZ001124; Fri, 14 Jul 2023 05:08:49 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id C37A0333B; Fri, 14 Jul 2023 10:38:48 +0530 (+0530) From: Mrinmay Sarkar To: agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org Cc: quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, dmitry.baryshkov@linaro.org, Mrinmay Sarkar , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Vinod Koul , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Subject: [PATCH v2 2/6] dt-bindings: phy: qcom,qmp: Add sa8775p QMP PCIe PHY Date: Fri, 14 Jul 2023 10:38:34 +0530 Message-Id: <1689311319-22054-3-git-send-email-quic_msarkar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1689311319-22054-1-git-send-email-quic_msarkar@quicinc.com> References: <1689311319-22054-1-git-send-email-quic_msarkar@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-GUID: 9bHwhS5TqlhvKvLWSIK9xsZyQ35tLOxe X-Proofpoint-ORIG-GUID: 9bHwhS5TqlhvKvLWSIK9xsZyQ35tLOxe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-14_02,2023-07-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 priorityscore=1501 clxscore=1015 impostorscore=0 bulkscore=0 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307140046 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,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 devicetree YAML binding for Qualcomm QMP PCIe PHY for SA8775p platform. Signed-off-by: Mrinmay Sarkar --- .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml index a0407fc..ca55ed9 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml @@ -16,6 +16,8 @@ description: properties: compatible: enum: + - qcom,sa8775p-qmp-gen4x2-pcie-phy + - qcom,sa8775p-qmp-gen4x4-pcie-phy - qcom,sc8280xp-qmp-gen3x1-pcie-phy - qcom,sc8280xp-qmp-gen3x2-pcie-phy - qcom,sc8280xp-qmp-gen3x4-pcie-phy @@ -30,7 +32,7 @@ properties: clocks: minItems: 5 - maxItems: 6 + maxItems: 7 clock-names: minItems: 5 @@ -41,6 +43,7 @@ properties: - const: rchng - const: pipe - const: pipediv2 + - const: phy_aux power-domains: maxItems: 1 @@ -141,6 +144,20 @@ allOf: compatible: contains: enum: + - qcom,sa8775p-qmp-gen4x2-pcie-phy + - qcom,sa8775p-qmp-gen4x4-pcie-phy + then: + properties: + clocks: + minItems: 7 + clock-names: + minItems: 7 + + - if: + properties: + compatible: + contains: + enum: - qcom,sm8550-qmp-gen4x2-pcie-phy then: properties: -- 2.7.4