Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2033164rwr; Fri, 21 Apr 2023 03:19:51 -0700 (PDT) X-Google-Smtp-Source: AKy350Y6C3jq2JKIiPk0saJgfg0zWe/QWvTnjuIYnUUWNZcHlClwdAkfdL66uXjW3Blp2xXByDKd X-Received: by 2002:a05:6a20:2583:b0:f2:c2a3:3b4 with SMTP id k3-20020a056a20258300b000f2c2a303b4mr19586pzd.41.1682072391003; Fri, 21 Apr 2023 03:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682072390; cv=none; d=google.com; s=arc-20160816; b=uupxrJCCSf4SBMbTQbREuYT8f3Ev4BU0/msyBA8C1Z+bwF0h3Gay5WWd4X56Lz+RG8 21Qb3/u2l+chxcg5jK4naWjdW7r5f/+PfQ3wfv2cjIRWaXLH0pDH9N/j6X/5iEKgquq+ UkWM7Hnambc+/8Lo5CmYuVYTWWDuP8ZtREUfUw+oLjOKl2v5/GUbP8wW8zD5OXA1fSXN JzAbbv0AEPelPbeYdxucf+mN9BpMPsBsYeGyoaC69Xdl2Klehu8MGLxG3k4hWOeG+9bu 2i96AZ7s5KpVfzMJUmKSAk8wgJieXEzPmfRvsSkd54ve93LBSkMiNGyOwnn2wLuNRL84 OEZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=w/flkLi6mlZFEUDZtiT0/UedesIT0Ogc6uR6JWPUsI8=; b=H7HFfbf6TI0swZ5r6GFTv0wDI329HV9GfnQw6b7qMd4nWIA5gL7ap85wzV4bnxKqzm +hR1frK9TmXX/dzRcS6+0T0U655/1wz0PjT47LOUzznqMBqqEc8sBTmrI/lhjZeFYi4G 5UBm6NLbVi2OvIP44YELZV5Ona+jFiFks5X1RDjj7FFhWcb+xVBi/pP21N/27rWLbh3f TMmdSlV3OeuN61gZxSJ3HC/eRnIPOzG1x2bwvx9Xoh0S2qDMCWE4Bz5y7R3M1qggUOzj z2Bmyb0VfCX5fC8yGwQJcXauLYAj4rj/y2KRPXYBAT3PqHmAVGHEozfxAdTsOnrR5iKP wXrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=h7iorEO4; 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 d16-20020a63fd10000000b0051f17a517adsi4161212pgh.492.2023.04.21.03.19.37; Fri, 21 Apr 2023 03:19:50 -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=h7iorEO4; 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 S231537AbjDUKRE (ORCPT + 99 others); Fri, 21 Apr 2023 06:17:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230507AbjDUKRD (ORCPT ); Fri, 21 Apr 2023 06:17:03 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EDC3107; Fri, 21 Apr 2023 03:17:02 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33L9uYJx020122; Fri, 21 Apr 2023 10:16:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=w/flkLi6mlZFEUDZtiT0/UedesIT0Ogc6uR6JWPUsI8=; b=h7iorEO4wghW0cO8ipX8pDHutGzqaPqt4MJOWlB0e9y1TLk9TuCvHjy8Uub/0j7nbxd0 N08P4VCVuFoaGh2hGrNiSz2PHbPZOQzwow/rJ2W0GVWXglTkAJG3yJt5zCadMRTbMXY6 vFOQRmNIUPxwHc/ON5QrUyoj7ARad7A1+Pc+Isl4DEE0R/dW8ngKPIhqGWGfZT9UJvdE pk6OxruhkuR+G9zwvRIqck6I4CIRuUg8oEXWoGr2mQLaMMQ6ruXGNvRknYICrKvCCC22 ybcW/cDNz9HyEV/rHPVPBXqYgcszaDFi+oDlBwiBdki5y9JEzT/xtcM5aHs6orcdpYL9 Yg== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q3e34s831-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Apr 2023 10:16:49 +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 33LAGmlU009507 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Apr 2023 10:16:48 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; Fri, 21 Apr 2023 03:16:42 -0700 Date: Fri, 21 Apr 2023 15:46:38 +0530 From: Varadarajan Narayanan To: Krzysztof Kozlowski CC: , , , , , , , , , , , , , , , , Subject: Re: [PATCH v8 3/8] dt-bindings: usb: dwc3: Add IPQ9574 compatible Message-ID: <20230421101637.GC5813@varda-linux.qualcomm.com> References: <3ee3163e6933b52e3eb4144c8041062dbd15e6c2.1680693149.git.quic_varada@quicinc.com> <533651bb-e72a-c899-5b64-16d000819e20@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <533651bb-e72a-c899-5b64-16d000819e20@linaro.org> User-Agent: Mutt/1.5.24 (2015-08-30) 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: rXRsAgAQmQR6q1cXncVvoY8_Sh7CN0hL X-Proofpoint-GUID: rXRsAgAQmQR6q1cXncVvoY8_Sh7CN0hL 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-21_03,2023-04-20_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 clxscore=1015 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 impostorscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304210088 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,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 On Thu, Apr 06, 2023 at 09:43:48AM +0200, Krzysztof Kozlowski wrote: > On 05/04/2023 13:41, Varadarajan Narayanan wrote: > > 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 > > > Power domains are required. Commit msg does not explain why this should > be now optional. Since IPQ9574 doesn't have power switches, couldn't provide power-domains info. So, had to make it optional to pass 'make dtbs_check'. Will post patch with updated commit msg. > > - 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 > > You do not need new entry. Just open the file and file respective > existing if. Sure. Will fix this and post. Thanks Varada > Best regards, > Krzysztof