From patchwork Tue Sep 5 10:30:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13374417 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CFAF3CA0FF7 for ; Tue, 5 Sep 2023 10:30:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L3XhE0MLfNVCX+jYjuAdcDb+hZI2sDw15eeOanpsYDg=; b=1cNyW9Y0hQGYSP rZxJP5aKk1s57nhjN2AOx/j74qkP1V0hXEQP9iv+Lqz7iiTtzPBXinAAuLfFl1+Q+Pi6xU3pWvdir iswazoGpOQAZTafcxMlBYcs8sSWrYk55ioUogQkLa5MTugKc9Pwt5JNB4y1mulmdidex/DTro8ylg iMtGPr4PbzzhCgoQcsl6zO61jY0K7H0buWT1inbdKthv1Nk7C/qqjA889PrNlr9l372hyhIiRtHdP JFVR1i17zOG3aTAr9Hhk/xZOpCLIqMEABZh4hdI2x7AetrLhyrSVTFwI7/YkXMK4aA4+SZ0SpF7o2 9oHJupzk0i6dmzNsgkPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdTKk-005n0u-1g; Tue, 05 Sep 2023 10:30:58 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdTKg-005mtn-29 for linux-phy@lists.infradead.org; Tue, 05 Sep 2023 10:30:57 +0000 Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3859GJvl020272; Tue, 5 Sep 2023 10:30:44 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=sjI78r/3r3qjGhnVneYrGC+ayXPDVe/k7BOLmZbuPs8=; b=kDhQ5TBW8YbfYpSQ7gQjiTMhi+133Rtlg7ybjJ2cWfFcMtV5w62780i4vCDm//Is6Ikw WwbMY14C9SnNKoopb8EZpUz1Y+UKb1nzT+sDEN/FdU/7LDYVg6/8CZ943l2dEUMngwfy scM8sASAk2OkssqS8+b2wlqHsXeNX4D0KzgEjbuVJlCkEAhKFWSGdhHJmV+PVLJsWQgF ws69QPJhheUIPG3AP0/xscrEFOXVkIhnwp8AqZWQELv+JoKDne+cT3vxBzq2DGbsfGZP KVohvz5lME7hA/6bHYFrs0ymvz8NV5IVSpXvhncFYAJ7XmHVcsJUHJXESPa+AF4eBodl bw== 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 3swsp58vh8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Sep 2023 10:30:44 +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 385AUehD018105; Tue, 5 Sep 2023 10:30:40 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3sux4km16r-1; Tue, 05 Sep 2023 10:30:40 +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 385AUeHM018094; Tue, 5 Sep 2023 10:30:40 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 385AUevn018087; Tue, 05 Sep 2023 10:30:40 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id D790E1D1E; Tue, 5 Sep 2023 16:00:39 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, abel.vesa@linaro.org, quic_wcheng@quicinc.com Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, kernel@quicinc.com, Rohit Agarwal Subject: [PATCH v2 2/5] dt-bindings: phy: qcom,qmp-usb: Add SDX75 USB3 PHY Date: Tue, 5 Sep 2023 16:00:35 +0530 Message-Id: <1693909838-6682-3-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1693909838-6682-1-git-send-email-quic_rohiagar@quicinc.com> References: <1693909838-6682-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: d_FpHIomEwaq70fC11UIPiL6yvUWFGzW X-Proofpoint-GUID: d_FpHIomEwaq70fC11UIPiL6yvUWFGzW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-05_08,2023-08-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 impostorscore=0 spamscore=0 malwarescore=0 mlxlogscore=913 clxscore=1015 mlxscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309050093 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230905_033054_883087_0EFBC151 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add dt-bindings for USB3 PHY found on Qualcomm SDX75. Signed-off-by: Rohit Agarwal --- .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 40 ++++++++++++++++++++-- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml index f99fbbc..5725620 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml @@ -20,6 +20,7 @@ properties: - qcom,qcm2290-qmp-usb3-phy - qcom,sa8775p-qmp-usb3-uni-phy - qcom,sc8280xp-qmp-usb3-uni-phy + - qcom,sdx75-qmp-usb3-uni-phy - qcom,sm6115-qmp-usb3-phy reg: @@ -38,9 +39,7 @@ properties: maxItems: 2 reset-names: - items: - - const: phy - - const: phy_phy + maxItems: 2 vdda-phy-supply: true @@ -75,6 +74,7 @@ allOf: contains: enum: - qcom,ipq9574-qmp-usb3-phy + - qcom,sdx75-qmp-usb3-uni-phy then: properties: clock-names: @@ -122,6 +122,40 @@ allOf: required: - power-domains + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq9574-qmp-usb3-phy + - qcom,qcm2290-qmp-usb3-phy + - qcom,sa8775p-qmp-usb3-uni-phy + - qcom,sc8280xp-qmp-usb3-uni-phy + - qcom,sm6115-qmp-usb3-phy + then: + properties: + resets: + maxItems: 2 + reset-names: + items: + - const: phy + - const: phy_phy + + - if: + properties: + compatible: + contains: + enum: + - qcom,sdx75-qmp-usb3-uni-phy + then: + properties: + resets: + maxItems: 2 + reset-names: + items: + - const: phy + - const: common + additionalProperties: false examples: