Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3915672rdh; Fri, 29 Sep 2023 06:16:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/zmyw+p8nBJtzwxmSSRjhmsRInhHCOCfdir5myT7wS6cr3UnkhKf1m4b8HMq7BXsI8VUc X-Received: by 2002:a05:6e02:e4f:b0:34f:203c:2432 with SMTP id l15-20020a056e020e4f00b0034f203c2432mr3413384ilk.12.1695993396306; Fri, 29 Sep 2023 06:16:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695993396; cv=none; d=google.com; s=arc-20160816; b=BLM7KAkL5U0k1891oPuoZ7xkR9hF0iFO68duby2KD1l+wY3TazzNB/LqIKSvZYeqPH jpu3CrqF2PhLWNJibWGChX91VlSNU018l2fyGiTHUoY01BjX+jreKWhC41G6917rPKaa U+0ON3I4s/hQtC4Gg9M3IxgMyAXTVZrGcnWe835UIeNf/JhrEg7PsCMQfDCtidnYaHiX X2H3EaBI9Nyrw2/7L1GB0uJkWLnk0m+DC6HMPmsYLPBYejtqVtIxFX1XZmlajvb53MoS w5U9URSrw4f/73d07a/myGqgoYxx6RKdo5JY8oh2ThVOrWIXCzDjlF5EVjEsvL0FSyW7 UKpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/2WaqLCZEMih8oMDFvFi+4OgpctQVeAmUcRntbvmJJs=; fh=/y3C3YtKy84M5cSpQOYdVWwJq454ogwAI2SrqSRafB8=; b=YOGmKCwR7Hsa0tm+/J/dj/ECfNJShyNfyMCL3pcrZGF2s48N0XVdbl6nFeMz1VMs6U qdbY8vrKJcmHRBZfZlttpmIg4A9MVta+ZzyTH55RLQ+jUMq3/FUK8cbamVS1r67F7fBo xS9FO4cv8iORiDgN2vLgLGATOmmsTxmWt6rsd3rEGP1BFbBnTYsEHQ3dwte9/e0eyTrr zi8UaGvWesBp5s0HcbPJrEbLOfEwCPte3MZXHj8RLfSmzFBdDrYhSf+Nj21UP9TstjSC JbYH5eKLPW/Dvir37+ySpV0Qz2kTXuVHF0mEjFBtRYf5O6Y1YEL8Tfq2PIVDo2rl6GTX 3LFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DDwy+fEA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id k68-20020a633d47000000b0055e48c43ab7si1456098pga.470.2023.09.29.06.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:16:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DDwy+fEA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 40D55829D273; Fri, 29 Sep 2023 01:43:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232877AbjI2Ing (ORCPT + 99 others); Fri, 29 Sep 2023 04:43:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232876AbjI2InX (ORCPT ); Fri, 29 Sep 2023 04:43:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A7C092; Fri, 29 Sep 2023 01:43:17 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38T5qxsS016493; Fri, 29 Sep 2023 08:42: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 : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=/2WaqLCZEMih8oMDFvFi+4OgpctQVeAmUcRntbvmJJs=; b=DDwy+fEABnZ+lrVA6+YdttCUEtMcjpPYi1cKj/31f2Ra4o1Z+qZMUWhlm5vEIN0vfaBU VCkpcS0v1gYEvVLfMxk7upwouVjAKfnZLn0+uWMXBnFgESz3F7kRqDUSrBbaYpjE2UQ0 rYk+GoIVaEzq6h6MPKguKwi3ikdP2nnuH88IZtC4ViFoxpAkJ7sXmybvRlnHuGkDHkf/ gpRFpZ3BsRz4oqe/Va66rI5sUdj3qPCCWcl3RnBvWivrXkwbzZ/8Nh7L7JfNgaNOHr7e EaN8aRec2pc4yw1/Xf9Lj8BhzKZeT10SdElXCGWdrfBN7E4xPb4KS7okQlf2VMeeBSzR zw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tdqmv8d8u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:42:43 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38T8ggeQ032742 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:42:42 GMT Received: from hu-ipkumar-blr.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 29 Sep 2023 01:42:33 -0700 From: Praveenkumar I To: , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , Subject: [PATCH 1/8] dt-bindings: phy: qcom,uniphy-usb: Document qcom,uniphy-usb phy Date: Fri, 29 Sep 2023 14:12:02 +0530 Message-ID: <20230929084209.3033093-2-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929084209.3033093-1-quic_ipkumar@quicinc.com> References: <20230929084209.3033093-1-quic_ipkumar@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: p-pCxQSYsWdBXDBznGtYfr5qXXYi0UQU X-Proofpoint-ORIG-GUID: p-pCxQSYsWdBXDBznGtYfr5qXXYi0UQU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-29_07,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=970 spamscore=0 bulkscore=0 mlxscore=0 priorityscore=1501 suspectscore=0 malwarescore=0 impostorscore=0 clxscore=1015 adultscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309290074 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 29 Sep 2023 01:43:53 -0700 (PDT) Document the Qualcomm USB3 22ull UNIPHY present in IPQ5332. Signed-off-by: Praveenkumar I --- .../bindings/phy/qcom,ipq5332-usb-uniphy.yaml | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-uniphy.yaml diff --git a/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-uniphy.yaml b/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-uniphy.yaml new file mode 100644 index 000000000000..90434cee9cdd --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-uniphy.yaml @@ -0,0 +1,83 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,ipq5332-usb-uniphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm USB Super-Speed UNIPHY + +maintainers: + - Praveenkumar I + - Varadarajan Narayanan + +description: + USB Super-Speed UNIPHY found in Qualcomm IPQ5332, IPQ5018 SoCs. + +properties: + compatible: + items: + - const: qcom,ipq5332-usb-ssphy + + reg: + maxItems: 1 + + clocks: + maxItems: 3 + + clock-names: + items: + - const: ahb + - const: cfg_ahb + - const: pipe + + resets: + maxItems: 1 + + vdd-supply: + description: + Phandle to 5V regulator supply to PHY digital circuit. + + qcom,phy-usb-mux-sel: + description: PHY Mux Selection for USB + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle of TCSR syscon + - description: offset of PHY Mux selection register + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + + "#phy-cells": + const: 0 + +additionalProperties: false + +examples: + - | + #include + usb-phy@4b0000 { + compatible = "qcom,ipq5332-usb-uniphy"; + reg = <0x4b0000 0x800>; + + clocks = <&gcc GCC_PCIE3X1_PHY_AHB_CLK>, + <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, + <&gcc GCC_USB0_PIPE_CLK>; + clock-names = "ahb", + "cfg_ahb", + "pipe"; + + resets = <&gcc GCC_USB0_PHY_BCR>; + + #clock-cells = <0>; + clock-output-names = "usb0_pipe_clk_src"; + + #phy-cells = <0>; + + qcom,phy-usb-mux-sel = <&tcsr 0x10540>; + + vdd-supply = <®ulator_fixed_5p0>; + }; -- 2.34.1