Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38202490rwd; Wed, 12 Jul 2023 04:43:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWg9G0ykr/lpazu3g0pqTlZJr88Ld3hHmyHFlK58ClqT9AZ9cO5o0tc0yqFpAG5OmUULtt X-Received: by 2002:a17:906:5304:b0:993:db29:d27d with SMTP id h4-20020a170906530400b00993db29d27dmr17016009ejo.34.1689162193123; Wed, 12 Jul 2023 04:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689162193; cv=none; d=google.com; s=arc-20160816; b=MuOKpbV095mywOkLXh1P8TXhDZ/4cazlrCnnJZtDT2OiuUeRE/yvGaMlp9TdEpjxZz FHGml6NDQoAb5JyR289S2+rpKOP1ZfJdXQZYgifj5eo0hYDbCjU/aKAqnlA7UpMBEDus txq6z/6HTQAgsuSv0HN/RaA+C3GtmifZC+DYIvlsW6LF9JjT8Pg7jZ1E/XmYIl5p/XQD Z+QIvIShOR3kDw0Q76tRAABr6CWwHRtXbypo23fv18ylcLioPQqd27rng44s3txEwW6U ZOTTmMzja5hpF7yN+rPkDqaQURKdR17O7d2VHvzdKjxKTsmAkr2VFCeH+oSxnJLmW7U/ MBqg== 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=S8kgrjTTL4lWCAvjC5av2SNwL0eEAEeHJCs6sq7OfSg=; fh=5k38RZtG+6HomFK06DPIqaSvDTnJ/15hPHIK1s7dPN4=; b=xL1LZKXg589PEpcLg7u7tRN9bxHy3zuX7A6D+EBjE5IJX5YZULhyU5N3NRE41v6d8i WQqIouHPI8SYDrVYYr+FQqJY4S5NYJAz2WP4ESkHFSHC95vKu2j2/6HIbPVaD4BCuRFZ NyccXpl/5rwI4liIdL2EH8jtR2BtF//bKWSoN3Szc+1tSnsK8DOJVIOVYVrGPbKAQGKS ojB/NN9ArtOAjraCGhAfVmMYa9nq/Qflm5qNoIYyJG76sr0dLK6mMH0TjLollPgAYjHo /u304xA9RmcP4JloqV8fi+wVwCGQJtKreNK3AUu+V6/ODlBDFyPRLu+8k6Dhls829FFc lgEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YS5bP+xB; 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 ov6-20020a170906fc0600b009938d70d887si4039012ejb.382.2023.07.12.04.42.48; Wed, 12 Jul 2023 04:43:13 -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=YS5bP+xB; 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 S232766AbjGLLkc (ORCPT + 99 others); Wed, 12 Jul 2023 07:40:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbjGLLkS (ORCPT ); Wed, 12 Jul 2023 07:40:18 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F371F19A6; Wed, 12 Jul 2023 04:40: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 36CBZVtC032077; Wed, 12 Jul 2023 11:39:42 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=S8kgrjTTL4lWCAvjC5av2SNwL0eEAEeHJCs6sq7OfSg=; b=YS5bP+xBXCaF5Qvyxxipdy0bOMrKssnDihHtn0qPdnsCAKb0Rrmwpd7opmSJ0J/8sxY3 FhAxjPAbGf+1qDHZQLVwSQ9Ay/Rtpt8aFvYjO4sUHmWBwEZIvW5F8Z+c7eDFOnfH48uk BhGQNsgULV0rG/5uVutEgyWJEpMwxUhq7jtFkAcWQO7OLW1591E1b11sURlvBUxo68A5 f/xeNTDPXVMhYsbvmxnMEeys9olnM9ROnN554XAyTUer61UdS3rf2a/aMaUw+Gq9Vjwy Zv9ZjZMhb+w/P3fPDW4AiZv1MBxMCMj0/fIP27krvckgIVn1FsZEJi7rH2EdYTd7qZUP 8A== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rsgd395s5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:39:42 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36CBd7H1031810 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:39:07 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.1118.30; Wed, 12 Jul 2023 04:38:59 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v4 2/6] dt-bindings: phy: qcom,m31: Document qcom,m31 USB phy Date: Wed, 12 Jul 2023 17:08:19 +0530 Message-ID: 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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: DZE6hadq6oNMuukelwv86zcRU40Fl7Sw X-Proofpoint-GUID: DZE6hadq6oNMuukelwv86zcRU40Fl7Sw 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-12_06,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 adultscore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 bulkscore=0 phishscore=0 malwarescore=0 mlxscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120104 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 Document the M31 USB2 phy present in IPQ5332. Signed-off-by: Sricharan Ramabadhran Signed-off-by: Varadarajan Narayanan --- v4: Move M31 URL to description Remove maxItems and relevant content from clock-names Change node name to generic name 'make dt_binding_check DT_SCHEMA_FILES=qcom' passed v3: Incorporate review comments. Will bring in ipq5018 compatible string while posting ipq5018 usb patchset. 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 | 48 ++++++++++++++++++++++ 1 file changed, 48 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..eea90ff --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml @@ -0,0 +1,48 @@ +# 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 USB PHY + +maintainers: + - Sricharan Ramabadhran + - Varadarajan Narayanan + +description: + USB M31 PHY (https://www.m31tech.com) found in Qualcomm + IPQ5018, IPQ5332 SoCs. + +properties: + compatible: + enum: + - qcom,ipq5332-usb-hsphy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: cfg_ahb + + resets: + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include + usbphy0: usb-phy@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