From patchwork Thu Jun 8 09:28:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 104890 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp153058vqr; Thu, 8 Jun 2023 02:32:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4VXfdH4cXZt6FNbjVQ2RSN2zOHqy0zbCIOMUE4j1Sq7fpdCB0/y6anm4J4dbWzQaDESoUY X-Received: by 2002:a05:6a00:18aa:b0:658:26a8:9d9e with SMTP id x42-20020a056a0018aa00b0065826a89d9emr10821522pfh.29.1686216722896; Thu, 08 Jun 2023 02:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686216722; cv=none; d=google.com; s=arc-20160816; b=Mlh9VylFauhKrXWp/8DGOZLEEATKyYPlDAfeUbVk2qFgk//R+1XDnwpZP1DeM5Y0oc mi2IpRSJVS75E6oju1h3lkUngaAp5BiYAOLUG2+Z2KVbSKuirCrXHVIEUjafkfYKPm07 YvxS88AUJaUnHse5ponSsSKelmgfvHv8Uou4b7lc6XPPG6yMbARQbUGMaVSDmYit9bm1 3rJ2P2pUZ/XQh6lgE30Lfpg/5Fm/nbS5EZ4KA8bplOhK67aNruw/zroOrvFHrkXbfKNY Xh2PlXy+FWwvNeL+YWnuQZpzyqibwOAP04E91VKnqSWgqYGYfqKhMg8unMiY7Tmuv7O9 zVuw== 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=/UClbIOUd+dy6lg+GZmRZ0mHcpb3iKwp4t8DiVT0ZvY=; b=Mda6RjJlU93H6zv3RvmM1RSKG6hk57/QYqbuwBvf/ltrHESDG/DyecrMlW8vMvvuaX tAiiBCEWYihPbAAnxx5QuDhEfl71xAhHp/0/zIfSJXjon9l4BwbSlMnHVvY/edC5Rylw 7BDohomU8WOx2m0PZIqgE6G5Ujw6Z2t/dPpJKufRJQ4EKBYj2mWl+QkR0FUS/Gf/tP5O yCMF4GlgFW2vl97vJ1M1mGJNCPRSDuwnd7nBfV980SCbaJvJNSGz8zEViPsEafjzCz+f x+3AQpVe31RBQ6EoFcucktU89gVnsDk3yM4exoGJQXx3fB5UiR5MZPYsvKWCBUctpGJi hmlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iCtweuU0; 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 o15-20020a63920f000000b005440dcfee56si745426pgd.265.2023.06.08.02.31.47; Thu, 08 Jun 2023 02:32:02 -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=iCtweuU0; 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 S235862AbjFHJ3m (ORCPT + 99 others); Thu, 8 Jun 2023 05:29:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235960AbjFHJ3c (ORCPT ); Thu, 8 Jun 2023 05:29:32 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C249E30DF; Thu, 8 Jun 2023 02:29:12 -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 3585U28G006023; Thu, 8 Jun 2023 09:29:08 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=/UClbIOUd+dy6lg+GZmRZ0mHcpb3iKwp4t8DiVT0ZvY=; b=iCtweuU0/sVuvUAiVBxcsqTLdvsOYR/vHI9eKqIIyzhNmP78Wf+H+yItOf1C96sUj2Gx KT/mccK26YzCIqd0j6rQU5svXeTuKmzX6TUYDsb0ajkTzpk5pkZayYICSftaWmzi3e6r n/4I8/jsRIZXxZjeLZGRiB/9dNvlqIAFEig7u3HBpWBWdecFaBglLpjJ6VXW83NLEceu 7kOivNtD8B/9oy31w0N1J3TZXKra4N3paY+hEihAXMysIciuThXbASCia/QUqWT3mtu3 y33QPiljxVdT+FKvgG7exvALNqdaA7CyrqJFtdLrYHAlnJ4nAVCnn4J4JbgecioAOd1k 5A== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r341c0uur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 09:29:07 +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 3589T6CY006931 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Jun 2023 09:29:06 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 02:29:01 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v13 5/5] arm64: dts: qcom: ipq9574: Enable USB Date: Thu, 8 Jun 2023 14:58:04 +0530 Message-ID: <59767ce5c77407a57ae344749951d27f9c5a2989.1686215358.git.quic_varada@quicinc.com> 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-ORIG-GUID: a4D_doBov5omgsRA7eRPy9LbH_U2rbdV X-Proofpoint-GUID: a4D_doBov5omgsRA7eRPy9LbH_U2rbdV 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-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 malwarescore=0 mlxlogscore=692 mlxscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306080080 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 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?1768126386360061800?= X-GMAIL-MSGID: =?utf-8?q?1768126386360061800?= 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 8daaba5..64f9e37 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>; };