Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10444602rwd; Wed, 21 Jun 2023 23:26:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72TgWvHLA61Da2vZsNpMgYT9rT3kiOofROPoQWmzT2AMPjnYPNnzaRo+GlX//+uR8Mn4Pr X-Received: by 2002:a17:90a:b790:b0:25e:c1ff:2cd with SMTP id m16-20020a17090ab79000b0025ec1ff02cdmr15018733pjr.30.1687415161733; Wed, 21 Jun 2023 23:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687415161; cv=none; d=google.com; s=arc-20160816; b=N2u3Ctj6xNXRwNoea3d/wtROdImtFU4g98d29zNFfhLzAeQfY6b7tphhmjaq0aASMH 6pa18dBg2wY9Z53J2odh8zIphTEaByn/tUr8VdAf6g+p8CYtrgdfpjEkflq/iULvRPYg gLoQyjAHqQDhhLdA7jJarwMANhWxIazGUDTWJEXSawq1Ruov+ItRhziusLv9LlT1k2RV nuPwGbMHIWG27als6bL2x5xQOvvQ9L+LkPX88vSgkxrMqUfsq+pYjGfoeh6Htyx+6C7a V2DXiQ9+dGObWTxDvA1gWcJY4ag0rtn7kYs2BCV2Ayv0KMtJ8SPau/Val2Lk0SqOeqWi 4cCA== 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=BUQGp6XKY//q++YwEwPEeWBFKQflOiAkBFx2kYrDYpM=; b=yxWAWdsB9tyYlTNaaAXbfP5UEJc1yP8MRl0xQmycgc66tFUDtFFAmMQ9opPprMqhoa dHcjKy2DpqnFcnFFiZTs0Is8f9CQU1gfNB8LE4CVOETxz8VKFNoKNYJitgQkIP4XJLnU 05y+05icYklHUQDKKoPH2Pnll0VKh4D1llAhLJY74UzTb9quKnYI7WMqKx+csuLKzSiM BBWsiYXF92JDDptXeO4mzuGkATJpWnGw+Xa5NpA2M+BaAoiHtYJ4qqOFjQy+M0IfW4Pt 8y21k9ZCGCUdbad4JYv3jwN26/cA0lTMDPbNoDgMO/s6l6ljPbP4oGTGKZnPEMunzvMU 3fiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=F2Fpm0Ue; 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 h190-20020a6383c7000000b0053490e8df50si6166108pge.223.2023.06.21.23.25.50; Wed, 21 Jun 2023 23:26:01 -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=F2Fpm0Ue; 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 S230332AbjFVGXX (ORCPT + 99 others); Thu, 22 Jun 2023 02:23:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230354AbjFVGXQ (ORCPT ); Thu, 22 Jun 2023 02:23:16 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1638199C; Wed, 21 Jun 2023 23:23:10 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35M6BX9h022015; Thu, 22 Jun 2023 06:22:46 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=BUQGp6XKY//q++YwEwPEeWBFKQflOiAkBFx2kYrDYpM=; b=F2Fpm0UeepApdWxIgQX5AeOXQGa5gduEn7Y+9PDVr0/9HGqVn9P0dlk6xxr3kubZsQO2 W1wwC2WqMa7j8JAXWzOcay31HWnafp7GpYyS3F9g+hasPRBfSdxn91ULsz3t2/2tqliV hpGg+5/6blhEJiTJaY7LEMSkj/YG4gFTdq4Sg68dZTTACU1lAfuMMbkR8oVq28IykZqn gNQknKj8m4yd0N3YpMH8e+3BOItgAuQ/i5b+Cc/8LzxyTOU7jTUEkEBMVWyx3Ze078t+ gC8JobMVVNv4gJ2R1t1sRGeE3tUoyAc7l6s/P0wRktCEr6UuBmsjWM3o0QUfXdmHZYVT cw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rbqjbb3b0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jun 2023 06:22:46 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35M6Mjef022697 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jun 2023 06:22:45 GMT Received: from varda-linux.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 21 Jun 2023 23:22:38 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v2 2/6] dt-bindings: phy: qcom,m31: Document qcom,m31 USB phy Date: Thu, 22 Jun 2023 11:52:09 +0530 Message-ID: <4f4136a91b24d3ad35fa12bd19fe14b83da9affe.1687414716.git.quic_varada@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: 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 nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: W1qHr0IMF1HOcIe1O7rXysUae2QmRHKA X-Proofpoint-GUID: W1qHr0IMF1HOcIe1O7rXysUae2QmRHKA 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-06-22_03,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 adultscore=0 suspectscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306220052 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Document the M31 USB2 phy present in IPQ5332. Signed-off-by: Sricharan Ramabadhran Signed-off-by: Varadarajan Narayanan --- v1: Rename qcom,m31.yaml -> qcom,ipq5332-usb-hsphy.yaml Drop default binding "m31,usb-hsphy" Add clock Remove 'oneOf' from compatible Remove 'qscratch' region from register space as it is not needed Remove reset-names Fix the example definition --- .../bindings/phy/qcom,ipq5332-usb-hsphy.yaml | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml diff --git a/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml b/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml new file mode 100644 index 0000000..ab2e945 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,ipq5332-usb-hsphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: M31 (https://www.m31tech.com) USB PHY + +maintainers: + - Sricharan Ramabadhran + - Varadarajan Narayanan + +description: + USB M31 PHY found in Qualcomm IPQ5018, IPQ5332 SoCs. + +properties: + compatible: + items: + - enum: + - qcom,ipq5332-usb-hsphy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + contains: + items: + - const: cfg_ahb + + resets: + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include + usbphy0: ipq5332-hsphy@7b000 { + compatible = "qcom,ipq5332-usb-hsphy"; + reg = <0x0007b000 0x12c>; + + clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>; + clock-names = "cfg_ahb"; + + resets = <&gcc GCC_QUSB2_0_PHY_BCR>; + }; + -- 2.7.4