Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1623037rwd; Thu, 8 Jun 2023 22:59:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ65178SeOvnRFXsYm7UDvunbR9aRAx8Z0VbUMrMdovadl0C0EJKwm+WVvETar3CC54oOC0v X-Received: by 2002:a67:f617:0:b0:434:8401:beae with SMTP id k23-20020a67f617000000b004348401beaemr285916vso.34.1686290396161; Thu, 08 Jun 2023 22:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686290396; cv=none; d=google.com; s=arc-20160816; b=iYWA+dyl1RZv/KzscmTReEnbt/SJwaWlPaUeD8bdL90A3tpKjYTxfp48MW8rBJ5YGy 6sYQMC1Ki+bWRem4htzbEufzsIEc8cBuYU54baJgLuEtMymF1QycHHlbHq8immhjej55 JN43OwKixoSnYPPoR2N2LxQZW3VT7PTnMG1BKvc6uZNXm2OxjSENo+91YB604EDWScsp t/cZZzb4oHsfFUNvEeyDtr18Dxfrocoz0WqnJRzLLKL5HFTVDaXluBFsHAxBWLOalHLq LA1i4PpmB9Jt6oDhvNDiGMqEx7A3Tv833zvV1msWGZ825HhNsf2BP+7Haf+pWb4p1vdm mwwQ== 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=D0Fd++hZFXiLvHodQk/Vg9MFpsazfeAQUnvaBMDTxas=; b=rLUc/PXKf0yKUkxpJLwVvslj67lTANOpcBwtgHyk3Zq7skmYkxnqef1tFSl4a5JkdY JEjofz9puz2a9ebgO1WWkrBQPxLkgsq1V/u9QD2l9bVdirx+bf/5hkJRNLzGi1URumWU tsiDab24sej/JWaxU9qKyACDkW8T4f0icXsZ9+pYX6r/Vsm+++xiwLUsjbD8pLzjTTwC i7mh5Wv1/DQo7u3iwx//Efrq5ZSY93z4F7g6iG7mnpwtBXcIxlgev0JrgSrEma1exf5Z mm8PN+wWORWkhQvPI/X5FojX8KwK4TW6DbQZp2encdGC0iAefBRH/TGlaDYUuSMIkVlL /NvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fsplNjEA; 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 u17-20020a170902e5d100b001b243a20f0fsi2206435plf.504.2023.06.08.22.59.41; Thu, 08 Jun 2023 22:59:56 -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=fsplNjEA; 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 S237737AbjFIF5q (ORCPT + 99 others); Fri, 9 Jun 2023 01:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236735AbjFIF5e (ORCPT ); Fri, 9 Jun 2023 01:57:34 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC66830E2; Thu, 8 Jun 2023 22:57:33 -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 3595vTE8003569; Fri, 9 Jun 2023 05:57:29 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=D0Fd++hZFXiLvHodQk/Vg9MFpsazfeAQUnvaBMDTxas=; b=fsplNjEA2tChAkWZpRGilmVHaAjBnabjKiFXiv/NHxCEbvjXVjLRW0nNQImSQYQByP5G mcVF4XgpShAw4YIZYiLEee0i5ZuT/nyhJsV6NPJNMy1UCWKRg3Cq9YvmcKasPo6FP/Vw VdyfdpBtyvJNKC6Od+UzBKbzK25oCEVUH1mbNX///BG6NcDTAv111OjeL9/i4UiS4GYo LS94doTxnP7UdXBfZzhRNLnthO18UmHHHqlGFpO1MoenYjuFRFSkHVLicTe+VhCpasCw k9FEeRNM8pDEpTgiQ9gbhGMrz6hVz7Thq1zXksHu/WlatiTlyR5mXtjA65HEsLI3yBGB bA== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r3nwersj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Jun 2023 05:57:29 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3595vSj8010257 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 9 Jun 2023 05:57:28 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; Thu, 8 Jun 2023 22:57:23 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v15 5/5] arm64: dts: qcom: ipq9574: Enable USB Date: Fri, 9 Jun 2023 11:26:34 +0530 Message-ID: <5021dbf3a28ee073795e7580bfa019df465e16ed.1686289721.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: 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: qeh4ogz572iPNQW8zV182fsk6v2z1JRl X-Proofpoint-ORIG-GUID: qeh4ogz572iPNQW8zV182fsk6v2z1JRl 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-09_03,2023-06-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 mlxlogscore=601 phishscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 spamscore=0 adultscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306090051 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 Add regulator defines Turn on USB related nodes Provide vdd info Reviewed-by: Dmitry Baryshkov Signed-off-by: Varadarajan Narayanan --- Changes in v15: - Move fixed regulator defines from 'arm64: dts: qcom: ipq9574: Add USB related nodes' to this patch Changes in v13: - s/fixed_/regulator_fixed_/ Changes in v11: - Rename dwc_0 -> usb_0_dwc3 - Maintain sorted order for the usb nodes Changes in v10: - Provide vdd info Changes in v5: - Move "host" mode specification to board dts - Due to dependency with earlier patches board dts filename changed ipq9574-al02-c7.dts -> ipq9574-rdp433.dts Changes in v2: - Fix node placement and coding style - "ok" -> "okay" --- arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts index 8c2451c..877026c 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts @@ -21,6 +21,24 @@ chosen { stdout-path = "serial0:115200n8"; }; + + regulator_fixed_3p3: s3300 { + compatible = "regulator-fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + regulator-name = "fixed_3p3"; + }; + + regulator_fixed_0p925: s0925 { + compatible = "regulator-fixed"; + regulator-min-microvolt = <925000>; + regulator-max-microvolt = <925000>; + regulator-boot-on; + regulator-always-on; + regulator-name = "fixed_0p925"; + }; }; &blsp1_uart2 { @@ -105,6 +123,29 @@ }; }; +&usb_0_dwc3 { + dr_mode = "host"; +}; + +&usb_0_qmpphy { + vdda-pll-supply = <&mp5496_l2>; + vdda-phy-supply = <®ulator_fixed_0p925>; + + status = "okay"; +}; + +&usb_0_qusbphy { + vdd-supply = <®ulator_fixed_0p925>; + vdda-pll-supply = <&mp5496_l2>; + vdda-phy-dpdm-supply = <®ulator_fixed_3p3>; + + status = "okay"; +}; + +&usb3 { + status = "okay"; +}; + &xo_board_clk { clock-frequency = <24000000>; }; -- 2.7.4