Message ID | 20230929084209.3033093-5-quic_ipkumar@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3946029vqu; Fri, 29 Sep 2023 04:16:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqt5nLjUjiK7d+l7tmX3bxeb87PiQpPrLU5ciVgB1giZGRYFS1M8zq5T2BT/sy6wyx/XkH X-Received: by 2002:a05:6a00:10c2:b0:691:da6:490 with SMTP id d2-20020a056a0010c200b006910da60490mr4249809pfu.5.1695986192236; Fri, 29 Sep 2023 04:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695986192; cv=none; d=google.com; s=arc-20160816; b=mSga0rPb05IemekzOV8z2I8RjzEQ/2nwST5t4WCxT/HSVDIm1vmWCb691Z3JSosUhq D2Y+Iww76x5xe+crpII3jbtJ/0LLvI5wbtehEYOZ+3GkItQ7QGjd11DBjbmINzC1ZWRv FNM5uma48OjtHpvtIbPM4sioAIVi7iGT7sHHl1yWPdgbwp1VtjKxO+cMAMXCszJSoVcl 0FaBOmIVTKrHDoeeuzu3ss7RzwzGhvHWjdpcOOsW3+US2RhI5hF7WE//jqHWYdP25rPF dafdw8dWZ+fa/F92wFFsxcSGHzp+FmFtMcc1sdpklg1X/QBlqkvRjgFKBA0J7mWJ3uFf 8YQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bjvskR0dMl3MN6jJkPzBP88qL9AVOezaPO2jraQbkIs=; fh=/y3C3YtKy84M5cSpQOYdVWwJq454ogwAI2SrqSRafB8=; b=VxTiBah7hUVZy30HNq4BZoICGy9c6dRMN/RtLKyGJUMphnSOwbjIcBw2lK8M+yJ3oA rAuhUos7Q7KDQGgEwOf6hJtWbp8cPnxbnorqPl/SXVu5hm99yU4SGsCLuevlTiBH3B2h Nr0hiRlD4WSwtvHmmZql1Rixfop4u1YntWLOGm6C/NFpbRFHASXHC0QmPbYQgaEAJrjp dKZSknewNDFz/hCFsC+SLrxNWBSZIfXl7TeDEhqiMWICA0cHfg9vTnQzlLlw9fMoIFXN HI/vh112WTnHWE020gjJMTwQhMShQUVVEsWoCq09WCvmBa84l4TLtbpOsJ+cLFoQDgDi 6+KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NjhDv9YB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id cu2-20020a056a00448200b0068e256c6366si20448709pfb.352.2023.09.29.04.16.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 04:16:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NjhDv9YB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id DE74785A0419; Fri, 29 Sep 2023 01:44:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233009AbjI2IoB (ORCPT <rfc822;pwkd43@gmail.com> + 20 others); Fri, 29 Sep 2023 04:44:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232908AbjI2Inm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 29 Sep 2023 04:43:42 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B2111A8; Fri, 29 Sep 2023 01:43:39 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38T6xeB7003083; Fri, 29 Sep 2023 08:43:12 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-transfer-encoding : content-type; s=qcppdkim1; bh=bjvskR0dMl3MN6jJkPzBP88qL9AVOezaPO2jraQbkIs=; b=NjhDv9YBJV2d6JBO/GjVlbPATrzPgMYIDEMFichiizSyaSkWgXtQMoj81+ND/4u4OZ6P N5KCI0ccNIPv2IiAPU5etbBJ1xstNclrIs9BbSaMpAp7aZE45n0uOHy6q4HH9sBWTfB0 Ku6efzQg1/o2aYxg+PcFnGxs6yYvBd44fZO1mD9tlCESif+oXF78Q+tGdWNYpOeyJvo/ QXeCVxSVIT7r+Bf3BqfuqYIFydYignmoQM7VcMkP17RRNv62qafSIoA0Ppsj0rAhiqlE WhxCAAAexkjYs2mp6fPaUFGcG+tAzufjkivUQ1AFnb9Y0E+n8zDC3T/UDbB6aPd1cDGg vQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tct5gv3g4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:43:12 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38T8hBKK001088 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:43:11 GMT Received: from hu-ipkumar-blr.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 29 Sep 2023 01:43:02 -0700 From: Praveenkumar I <quic_ipkumar@quicinc.com> To: <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>, <vkoul@kernel.org>, <kishon@kernel.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <gregkh@linuxfoundation.org>, <catalin.marinas@arm.com>, <will@kernel.org>, <p.zabel@pengutronix.de>, <geert+renesas@glider.be>, <arnd@arndb.de>, <neil.armstrong@linaro.org>, <nfraprado@collabora.com>, <u-kumar1@ti.com>, <peng.fan@nxp.com>, <quic_wcheng@quicinc.com>, <quic_varada@quicinc.com>, <linux-arm-msm@vger.kernel.org>, <linux-phy@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-usb@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org> CC: <quic_kathirav@quicinc.com>, <quic_nsekar@quicinc.com>, <quic_srichara@quicinc.com> Subject: [PATCH 4/8] dt-bindings: usb: dwc3: Add clocks on Qualcomm IPQ5332 Date: Fri, 29 Sep 2023 14:12:05 +0530 Message-ID: <20230929084209.3033093-5-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929084209.3033093-1-quic_ipkumar@quicinc.com> References: <20230929084209.3033093-1-quic_ipkumar@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 8tH2XLhxZZGsd95aT5c88-YoBwfrUzlG X-Proofpoint-GUID: 8tH2XLhxZZGsd95aT5c88-YoBwfrUzlG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-29_07,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=742 impostorscore=0 phishscore=0 adultscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 bulkscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309290074 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 29 Sep 2023 01:44:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778370417554784822 X-GMAIL-MSGID: 1778370417554784822 |
Series |
Enable USB3 for Qualcomm IPQ5332
|
|
Commit Message
Praveenkumar I
Sept. 29, 2023, 8:42 a.m. UTC
Add aux and lfps clocks in Qualcomm IPQ5332. These clocks are required
for USB Super-Speed support.
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
---
.../devicetree/bindings/usb/qcom,dwc3.yaml | 20 ++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
Comments
On 29/09/2023 10:42, Praveenkumar I wrote: > Add aux and lfps clocks in Qualcomm IPQ5332. These clocks are required > for USB Super-Speed support. > > Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 29/09/2023 11:42, Praveenkumar I wrote: > Add aux and lfps clocks in Qualcomm IPQ5332. These clocks are required > for USB Super-Speed support. > > Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com> > --- > .../devicetree/bindings/usb/qcom,dwc3.yaml | 20 ++++++++++++++++++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml > index 67591057f234..18af2887b984 100644 > --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml > +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml > @@ -149,6 +149,25 @@ allOf: > - const: sleep > - const: mock_utmi > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,ipq5332-dwc3 > + then: > + properties: > + clocks: > + maxItems: 6 > + clock-names: > + items: > + - const: core > + - const: iface > + - const: sleep > + - const: mock_utmi > + - const: aux > + - const: lfps Could you please also describe the lfps clock in the top-level clocks entry? > + > - if: > properties: > compatible: > @@ -238,7 +257,6 @@ allOf: > compatible: > contains: > enum: > - - qcom,ipq5332-dwc3 > - qcom,msm8994-dwc3 > - qcom,qcs404-dwc3 > then:
On 9/30/2023 10:53 PM, Dmitry Baryshkov wrote: > On 29/09/2023 11:42, Praveenkumar I wrote: >> Add aux and lfps clocks in Qualcomm IPQ5332. These clocks are required >> for USB Super-Speed support. >> >> Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com> >> --- >> .../devicetree/bindings/usb/qcom,dwc3.yaml | 20 ++++++++++++++++++- >> 1 file changed, 19 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> index 67591057f234..18af2887b984 100644 >> --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> @@ -149,6 +149,25 @@ allOf: >> - const: sleep >> - const: mock_utmi >> + - if: >> + properties: >> + compatible: >> + contains: >> + enum: >> + - qcom,ipq5332-dwc3 >> + then: >> + properties: >> + clocks: >> + maxItems: 6 >> + clock-names: >> + items: >> + - const: core >> + - const: iface >> + - const: sleep >> + - const: mock_utmi >> + - const: aux >> + - const: lfps > > Could you please also describe the lfps clock in the top-level clocks > entry? Sure, will add. > >> + >> - if: >> properties: >> compatible: >> @@ -238,7 +257,6 @@ allOf: >> compatible: >> contains: >> enum: >> - - qcom,ipq5332-dwc3 >> - qcom,msm8994-dwc3 >> - qcom,qcs404-dwc3 >> then: > -- Thanks, Praveenkumar
diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index 67591057f234..18af2887b984 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -149,6 +149,25 @@ allOf: - const: sleep - const: mock_utmi + - if: + properties: + compatible: + contains: + enum: + - qcom,ipq5332-dwc3 + then: + properties: + clocks: + maxItems: 6 + clock-names: + items: + - const: core + - const: iface + - const: sleep + - const: mock_utmi + - const: aux + - const: lfps + - if: properties: compatible: @@ -238,7 +257,6 @@ allOf: compatible: contains: enum: - - qcom,ipq5332-dwc3 - qcom,msm8994-dwc3 - qcom,qcs404-dwc3 then: