From patchwork Thu Jun 8 10:03:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 104915 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp178247vqr; Thu, 8 Jun 2023 03:29:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7X+YnTkfuzNnVX9RYzJSCrBY6DhGp7+Tf3H1xljwU9Ul2GyTjKarhRv+9wUVfGp8VsaTZr X-Received: by 2002:a05:6358:e95:b0:129:cb51:7efe with SMTP id 21-20020a0563580e9500b00129cb517efemr5890489rwg.14.1686220146780; Thu, 08 Jun 2023 03:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686220146; cv=none; d=google.com; s=arc-20160816; b=rbGJrPDHXiAoxMzl5DoE6l+PTJo2Kdz7H9j9rBtvOl56bPkfT1QbkJgyqbHsf+MdIh n0K2Sfb/r5fEXu2WPZGWB+kl485KNmJ+fS4L/IKqveGBOQkJ4S/Pf7o8HkyYt8oDG91s V2x2AeuCNSsBB1nN46x9h1rlVAslkeFZhMzKUI1/Cv3xbg71PMH3xsafq/aNFqPY1Q2H 6Y6Y0TPRNM4+sXD0s7xRNmO94+0Ns3ILeao36idrQdU0HnNo8hteCvbOw7ylWhkG5p6f tNVQxhn012UcF6GpnNu0rSRTGFw/r+J0uSrV3RcSbFoDEojbVDkmFL/AKm3wr2eCddQH zkfw== 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=gGcxZvgA1XpXd/QMvwihachA1YvYAHMc3ntdl8NT2gM=; b=ZYrZ7DSIcX4GLu5fXpn3IQNx4e7VxY3X7r9LEtix4PkoiKDfdm8H+dvM0/FtQzAv/I 74dOeRcgAv9NXZ+hTCqWAjVONRFw9klZepX8zIONL8P0LGvfgbdVMftTHP+XIkSbWkjt cf3hHvJ9hBf29YRert4z8eEtgJGbFtLwF9nLL2h/3rrRQEe1t4gr90U40NVCLNLAyNEG ov9HpfkhB+bSDwZPBAEILrHgDME+crU4266SuVZ5EzHL3zjf8+b0BozjYMI6XSGBSQVS rzCdvtNfrtvEqYUHglJ6pDd/kXnhfVGAs/bPmiaBi4dpMSPtPiXE+u3+Ux63MZ3QMHIg JqKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eIY9oaiT; 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 x190-20020a6386c7000000b00536e6520663si830704pgd.388.2023.06.08.03.28.54; Thu, 08 Jun 2023 03:29:06 -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=eIY9oaiT; 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 S235668AbjFHKFQ (ORCPT + 99 others); Thu, 8 Jun 2023 06:05:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236095AbjFHKEl (ORCPT ); Thu, 8 Jun 2023 06:04:41 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43ACD30C1; Thu, 8 Jun 2023 03:04:29 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3588Juh3014011; Thu, 8 Jun 2023 10:04:24 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=gGcxZvgA1XpXd/QMvwihachA1YvYAHMc3ntdl8NT2gM=; b=eIY9oaiTs3FDVK7rHx3Kz1oOw8UE4OJQ5Y5WzR4rZPcUE5RTC6U0iHwTJ7yOKAmgM/WX ox0soq/s1vVjxjOgLNjEnc7Opoq1L6vis2OAYWA0EvIbVW97qGwRGwRIaK6RzZoqw/BN DXubdVoZ4lFoOqi9gMGzVoGkY87K5Eh9CkXBUdcgib8ZR8UxNoMXPoWAiAyOs7PQijyF 4wINccCmAjOAAgGQQtQEVRht9fd1RGIboTrkhOR3OhSYQKqkhxn8zGA1fshLlG3PFpql wE9D4v1DfbVhZ2ePkarD6UX2cIEjmmtxjVijvKigFFUVvdFh9HdH/jkUTf5uFkChDvsX /w== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r33bvrxyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 10:04:24 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 358A4NFq003084 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Jun 2023 10:04: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; Thu, 8 Jun 2023 03:04:18 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v14 5/5] arm64: dts: qcom: ipq9574: Enable USB Date: Thu, 8 Jun 2023 15:33:31 +0530 Message-ID: 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: 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: wf6suDPnk8eBbBuDezl9HvnU2QWEDr_n X-Proofpoint-ORIG-GUID: wf6suDPnk8eBbBuDezl9HvnU2QWEDr_n 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-08_06,2023-06-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 malwarescore=0 mlxscore=0 clxscore=1015 spamscore=0 phishscore=0 mlxlogscore=692 impostorscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306080085 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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768129976688468350?= X-GMAIL-MSGID: =?utf-8?q?1768129976688468350?= Turn on USB related nodes Provide vdd info Reviewed-by: Dmitry Baryshkov Signed-off-by: Varadarajan Narayanan --- 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts index 50ba1d2..877026c 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts @@ -123,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>; };