Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp381675rwl; Wed, 5 Apr 2023 01:58:39 -0700 (PDT) X-Google-Smtp-Source: AKy350bcVI9ST1h3AJw17GcMeAsFehcUUUbpm/gY+T7UB1++CIazkkB4uPconGkyxapJYSfcu8II X-Received: by 2002:a17:90b:4b4b:b0:23f:ed7:4774 with SMTP id mi11-20020a17090b4b4b00b0023f0ed74774mr1897544pjb.7.1680685119616; Wed, 05 Apr 2023 01:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680685119; cv=none; d=google.com; s=arc-20160816; b=OFPgYz9oP4QtnujpPVEe3fjR+fVraJ91yU0VpdyKehTrUcf+iJColGcZa+2fGUHw+C JLp2v1aLKQ+nFJBcmWmv396QvWwa0/nz1qsJrQR980Gn+mue6hsHbNQmvD4NboD07U5x BRbBdJe8Y7Lgh8WDPXDSL7uABTT3UccZwyPdBuPrLQ+QFbx+JGls7ZOocvNnEkLBkf1A 5is1zu1tijTUjxvWusLaiGffd9hQ2WLcbpdfLvBTimNJHY3TK+6rlRr/feQjWsU/mdDU bP6mv474TTU1EJX74C2c8lF6lLMCvonUzGdRH54S2wMwDk6tW+Prl4nmOROJzTQjuCjT C2JQ== 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=LG7tLRvP0u5ZX/K7WNtsXB8otVa6AGmVhABVmL3DtbI=; b=cvgZQ6SFi7zdZDtF1x0W2/XMDePqs4OCqTWsEpLLA+iX+6ZQhrmWhDUIoCr/CLknYF drz9rwrWa9OU8DWZrODV3Xatyf5wvJNfa1ldwiFt5/KY0Hny3ucV4uZvXWrFnUyotQx1 rCScyWUcv2GnCdtlT+fHC5qHu+jKKjPk5aU87lbH7oVlDmJ4yFlsiKnhSov1TsO3kvU3 6/R6//+PROaA+E/RHZVkp7J6iilGnNFUiDLtjZgJQvqaFPcN7muTDqYeIT8DUNAD+DTf EOaV4XCQZvI46A3ZgRuzaFjf+9mc9uS8kFENyP2YdCVELLdrfKZxkbLg9uujJOozW+HD NloA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CDrQkWYo; 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 kb7-20020a17090ae7c700b00230ca3efcf3si1007586pjb.158.2023.04.05.01.58.28; Wed, 05 Apr 2023 01:58:39 -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=CDrQkWYo; 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 S237639AbjDEI56 (ORCPT + 99 others); Wed, 5 Apr 2023 04:57:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237582AbjDEI5n (ORCPT ); Wed, 5 Apr 2023 04:57:43 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E81AAF3; Wed, 5 Apr 2023 01:57:41 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3354HIC2018207; Wed, 5 Apr 2023 08:57:18 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=LG7tLRvP0u5ZX/K7WNtsXB8otVa6AGmVhABVmL3DtbI=; b=CDrQkWYofJh4pUMGfcTe0Kwiyde0a0IyoqEiNZ8JZk/zXV+U2n6eNAOWiwb/CyI5WxhE EM9ZqJd/ppXS2e7xbO0SvazUtNZlRUj3EPlBUVmeq5lvdgKya09UHXPYPx6dVt7kPZZ/ woDvhFW4XXaUc0LH836hrUuyxR3TU5C5P8rNJY0KYFhlGIzT53Mke/ltJqeXaVdGyvwT ot1vj0rp8tQzGHOFADzSu0Qdb3TUal9edtXARdgYUufDe/QcvlZjPDYx9G4d2vEf2hSZ ruQxPgSUk1qvHvByEU6SSBie2HXWvJkZyFXE8+z6kY+QmQSDDaUk6yCL4IoDvsXj8HmA Sg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3prmkmthjv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 08:57:18 +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 3358vHZK004344 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Apr 2023 08:57:17 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, 5 Apr 2023 01:57:11 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v6 3/8] dt-bindings: usb: dwc3: Add IPQ9574 compatible Date: Wed, 5 Apr 2023 14:26:38 +0530 Message-ID: <2d9815179be668428a0ac85fdfadafa9a296a4c8.1680682939.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: 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-GUID: 6K6dpEItkqi8WjImbEQknu0nzDPUYPHA X-Proofpoint-ORIG-GUID: 6K6dpEItkqi8WjImbEQknu0nzDPUYPHA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-05_04,2023-04-04_05,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 priorityscore=1501 mlxlogscore=999 impostorscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304050080 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the IPQ9574 dwc3 compatible. Signed-off-by: Varadarajan Narayanan --- Changes in v6: - Made power-domains as optional - Resolved all 'make dtbs_check' messages Changes in v5: - Restore removed constraints Changes in v4: - Update other relevant sections - Remove constraints not applicable to IPQ9574 --- .../devicetree/bindings/usb/qcom,dwc3.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index d842819..f5dd268 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -17,6 +17,7 @@ properties: - qcom,ipq6018-dwc3 - qcom,ipq8064-dwc3 - qcom,ipq8074-dwc3 + - qcom,ipq9574-dwc3 - qcom,msm8953-dwc3 - qcom,msm8994-dwc3 - qcom,msm8996-dwc3 @@ -133,7 +134,6 @@ required: - "#address-cells" - "#size-cells" - ranges - - power-domains - clocks - clock-names - interrupts @@ -197,6 +197,26 @@ allOf: - const: iface - const: sleep - const: mock_utmi + required: + - power-domains + + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq9574-dwc3 + then: + properties: + clocks: + maxItems: 5 + clock-names: + items: + - const: cfg_noc + - const: core + - const: iface + - const: sleep + - const: mock_utmi - if: properties: -- 2.7.4