Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp692471rwd; Thu, 15 Jun 2023 00:14:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5c8GLpd7MGsfWGuyjaBmM3E5kxYDM0Ipw1UOdtoahc0GVuOMiocx4g7HJbCRqdbnQOFRkN X-Received: by 2002:a05:6a00:2d9d:b0:656:5182:5e61 with SMTP id fb29-20020a056a002d9d00b0065651825e61mr5590890pfb.2.1686813277063; Thu, 15 Jun 2023 00:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686813277; cv=none; d=google.com; s=arc-20160816; b=kfUXcrkhNYWD1hPQFdrVzOWpGZ619f2uqA29K7NKA1f/YSLi2Qj8gdaia8VFXsveJg bDDjnQOsaM6OgIpdwu9T7jgKyZRohwPMSvPUb7gkdpkcN8Ey9gNV+LFxNWalTmMLaiMG p+zCa6JFBn8q5KQiPuogX8xli0rxq45ON7Cggn9ffsAhrSe7LybDoKsNVXwG/ZGZ8+U3 90FlzneQjBEatVW4gegdJKbv3SZUcn+JV8mD6QJAn/zfROzQkYBHoZRV6zrBAgQs9dIw SPwgnBKF3Me1u3jNE+OhOWInB+U359hXN76Ci0D09us7FNSLx1v8VcYPMJ8rzy4lwJMn OGlg== 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=Llx5aUWzuRsf3dJ/od1r447zlOZBOr9tAFIk/M9sTDQ=; b=N57HKsFdFyFEriNTot+FxQcRKp4XXRvZWyD2Kz5s6U3DjH66ONRxtKoIHJL8IZgjdp XTzCw6xR/dkCB/RL8fd0SmOC0yay/Rs12uueN/vxKe4K5BKddfugxk5mT1flkCpS3bB2 2unNL4HZGy9lpjUg1SaDiMm2y5cp4E9OduwcIpN5dw/g77h/BXenlVpbB3OTSl8OAMVl f0FTBo25pYCOnXb/rawVMm78ZkTdW9Y2xJwi0cngRavvv7Fu9fnZYfAaqs8JWQr3TeSI bjjBFvUolxHI4yWimgbutt+xf3Dcu0V8c6FVowSF0Jm5s4FCtCy4p31ilqQbUuWfAGmP 8vMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aXywIXPJ; 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 y3-20020aa79423000000b006669ba69adasi680405pfo.238.2023.06.15.00.14.24; Thu, 15 Jun 2023 00:14:37 -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=aXywIXPJ; 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 S232875AbjFOG04 (ORCPT + 99 others); Thu, 15 Jun 2023 02:26:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjFOG0v (ORCPT ); Thu, 15 Jun 2023 02:26:51 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C96422690; Wed, 14 Jun 2023 23:26:50 -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 35F4KmFd017112; Thu, 15 Jun 2023 06:26:25 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=Llx5aUWzuRsf3dJ/od1r447zlOZBOr9tAFIk/M9sTDQ=; b=aXywIXPJffsieon6Jd5XcAhSi3PqdZCldlf7P5QTbQ1pdQaQgeFUz63olWJGnOS7laWC 4lJeSaBNryFCz0ex4vr5yh1kg+6Xyo7TsoZ8TVF/9JzZVA7F+sJ5PZ8AJ88EKRJQ/pp3 xLn3SDF/ghYFzzMo1J5BCVrf2KIrthfYkjcWxAPIf1cj/pmOgAX59gSYgS++8y6n2IaU RMA9mRxS88y9pTUXYSsW5bFt+MRQhwuBveyCR41V5rsvF+0uUJeqxtNNB5rm/sVRBmLN T/ZZfbMxTcuXuqt9TpSZ0esDPK3ywUo3AD85n0eEj1w5Xm8NFJFF8QgW7P/11Gkj+LOc GA== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r78c7apq3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Jun 2023 06:26:24 +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 35F6QNkJ021789 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Jun 2023 06:26:23 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, 14 Jun 2023 23:26:09 -0700 Date: Thu, 15 Jun 2023 11:56:03 +0530 From: Varadarajan Narayanan To: Dmitry Baryshkov CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH 7/9] arm64: dts: qcom: ipq5332: Add USB related nodes Message-ID: <20230615062603.GH22186@varda-linux.qualcomm.com> References: <1b48e737aa14f5b5539cbf04d473182121d5b1ad.1686126439.git.quic_varada@quicinc.com> <8e21fef3-5ae4-673a-dce2-4ebf1dd0eb66@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <8e21fef3-5ae4-673a-dce2-4ebf1dd0eb66@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-GUID: eteCNZMKAjnIX2uwp5kaCbgI_zSdUDrF X-Proofpoint-ORIG-GUID: eteCNZMKAjnIX2uwp5kaCbgI_zSdUDrF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-15_03,2023-06-14_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 suspectscore=0 clxscore=1015 adultscore=0 phishscore=0 bulkscore=0 mlxlogscore=814 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306150053 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, Jun 07, 2023 at 02:23:20PM +0300, Dmitry Baryshkov wrote: > On 07/06/2023 13:56, Varadarajan Narayanan wrote: > >Add USB phy and controller nodes > > > >Signed-off-by: Varadarajan Narayanan > >--- > > arch/arm64/boot/dts/qcom/ipq5332.dtsi | 55 +++++++++++++++++++++++++++++++++++ > > 1 file changed, 55 insertions(+) > > > >diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > >index c2d6cc65..3183357 100644 > >--- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi > >+++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi > >@@ -383,6 +383,61 @@ > > status = "disabled"; > > }; > > }; > >+ > >+ usb_0_m31phy: hs_m31phy@7b000 { > >+ compatible = "qcom,ipq5332-m31-usb-hsphy"; > >+ reg = <0x0007b000 0x12C>, > >+ <0x08af8800 0x400>; > >+ reg-names = "m31usb_phy_base", > >+ "qscratch_base"; > >+ phy_type= "utmi"; > >+ > >+ resets = <&gcc GCC_QUSB2_0_PHY_BCR>; > >+ reset-names = "usb2_phy_reset"; > >+ > >+ status = "okay"; > >+ }; > >+ > >+ usb2: usb2@8a00000 { > >+ compatible = "qcom,ipq5332-dwc3", "qcom,dwc3"; > >+ #address-cells = <1>; > >+ #size-cells = <1>; > >+ ranges; > >+ > >+ reg = <0x08af8800 0x100>; > >+ > >+ clocks = <&gcc GCC_USB0_MASTER_CLK>, > >+ <&gcc GCC_SNOC_USB_CLK>, > >+ <&gcc GCC_USB0_SLEEP_CLK>, > >+ <&gcc GCC_USB0_MOCK_UTMI_CLK>; > > Please indent these values. Ok. > >+ > >+ clock-names = "core", > >+ "iface", > >+ "sleep", > >+ "mock_utmi"; > > Please indent these values. Ok. > >+ > >+ interrupts-extended = <&intc GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; > > No PHY IRQs? Will add. Thanks Varada > >+ interrupt-names = "pwr_event"; > >+ > >+ resets = <&gcc GCC_USB_BCR>; > >+ > >+ qcom,select-utmi-as-pipe-clk; > >+ > >+ usb2_0_dwc: usb@8a00000 { > >+ compatible = "snps,dwc3"; > >+ reg = <0x08a00000 0xe000>; > >+ clocks = <&gcc GCC_USB0_MOCK_UTMI_CLK>; > >+ clock-names = "ref"; > >+ interrupts = ; > >+ usb-phy = <&usb_0_m31phy>; > >+ tx-fifo-resize; > >+ snps,is-utmi-l1-suspend; > >+ snps,hird-threshold = /bits/ 8 <0x0>; > >+ snps,dis_u2_susphy_quirk; > >+ snps,dis_u3_susphy_quirk; > >+ snps,ref-clock-period-ns = <21>; > >+ }; > >+ }; > > }; > > timer { > > -- > With best wishes > Dmitry >