From patchwork Wed Apr 5 11:41:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 79574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp234687vqo; Wed, 5 Apr 2023 04:44:02 -0700 (PDT) X-Google-Smtp-Source: AKy350YYpvhK8ur4y6HyDyIvpdpJi7yVJuzq8VudILHsEASRNEMOLyLGfpRmJWyb5zY7eWBylIcc X-Received: by 2002:a17:906:4555:b0:932:3d1b:b69d with SMTP id s21-20020a170906455500b009323d1bb69dmr2543100ejq.47.1680695042081; Wed, 05 Apr 2023 04:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680695042; cv=none; d=google.com; s=arc-20160816; b=Wks3wf5QIai6/aaWPqXkzHiL1xUVYKA94Z4naXD2OEfGK/1CIQvAaRG/sCsFzX0HeM Tc4/hJ+TzRm5ak8KyeCRlGUu62LoHL3ysqlEfGtrz3y1nwc0/AQHPHZzKgQxfAvCj1Su mSMNcFSQcDi09iut+a5IRxWNf+0d46wPBrN4gHJ+0j9TpwqfdTxenaWdGGf88ka4aVZQ NLy59lCHXq+F2TVBcolGxu0Pt2+BcMbVJ9PfLkL7Ksdu4402Qr6XY4VQS9Xm19Go3S3x ewxUvWGQVXp2jmZ6212E7HbpmLihIP9A6K9uhkMw00MnccvhEgJgQjMZ5lG1GtfrHrxm SI6w== 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=O1Tc9u9hQPnddTYKztG9cgglde0byCO5OulCs6y7/df+fY9OLG8jybzvD0bzz08utP LZAY7eqsjmi0Za5mAggA7Eru9QR+5JcPn47HB2P8osxYrfAelFDQI3LVW73oKKJPFVJ/ v7LCIr5o4z6EoEkSN157LZkATCzEMiZIOneQm8Hs6vRpzikURKV/wBU2KZwp+rV3Ixc3 veIXFME5GJSRsdYofJ6mvq4o3WoDyjSPXydFoDjQ4q93JMQVU2fslx8IpsvH7X4KNOuq eFcy95w7N3iTJqXvtSTV6mnm6j08Lg9svGyydfgGtHo4tPZw3T9ohrfvnMYmKbsjUVAi 1HEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KFApxxQ2; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a170906645300b00946a18bb2dfsi12632862ejn.986.2023.04.05.04.43.36; Wed, 05 Apr 2023 04:44:02 -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=KFApxxQ2; 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 S237915AbjDELmJ (ORCPT + 99 others); Wed, 5 Apr 2023 07:42:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237708AbjDELmG (ORCPT ); Wed, 5 Apr 2023 07:42:06 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A29C30FD; Wed, 5 Apr 2023 04:42:05 -0700 (PDT) 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 3359cjhg002563; Wed, 5 Apr 2023 11:42:00 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=KFApxxQ24mfdTVNybGUcyqCCTTjqf4UlDnXKagYdJIAPOw1/hKFi31BZ8ouL/IeuUeCe CUrj1bKItjgWcI08nSanZJtLaRefpayR8GZ8fgFoln7Sbn+oMCLPhAAbm/mV9967pd/D 1n6an9hSHuHhEvJK+Mf4qRqRTNvrQRT9b4xsQMnzCm5iViT678b6h7/xrWOB8IsUYPls IFxiAJCU2vEvC4zo4fLphVTwQsPumdoTKE3i/QBHVfwGX6mSheYxqe48tOS862/3iWPr /lvG9IccsRr1XtHnZHr2z1Dj2e14wzaSmZiUAzl1PvqQKNjVPUD9KCDKxIGI6xEQ+5uO tg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3prnvg2m2e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 11:41:59 +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 335Bfwgw022005 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Apr 2023 11:41:58 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 04:41:53 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v8 3/8] dt-bindings: usb: dwc3: Add IPQ9574 compatible Date: Wed, 5 Apr 2023 17:11:22 +0530 Message-ID: <3ee3163e6933b52e3eb4144c8041062dbd15e6c2.1680693149.git.quic_varada@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 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-GUID: yTi1EYuy08mtKjFWmmxUztv6hYkJBuLA X-Proofpoint-ORIG-GUID: yTi1EYuy08mtKjFWmmxUztv6hYkJBuLA 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_07,2023-04-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 priorityscore=1501 malwarescore=0 adultscore=0 spamscore=0 mlxscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304050106 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762336484787860372?= X-GMAIL-MSGID: =?utf-8?q?1762336484787860372?= 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: