From patchwork Thu Jul 27 06:33:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 126699 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp907529vqo; Thu, 27 Jul 2023 00:06:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlEmXXYn1EIRJnXNWhmY2TeJYycls58topDNTpBAZbN76lv2WJ7hMRi7dEQZlRoriCVk5Vsn X-Received: by 2002:a17:906:5182:b0:99b:bc52:8d2 with SMTP id y2-20020a170906518200b0099bbc5208d2mr1185997ejk.6.1690441614677; Thu, 27 Jul 2023 00:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690441614; cv=none; d=google.com; s=arc-20160816; b=VXGlAzMZ8RRGiyQnjooP9MNZDX+N3iXILXutsV81cG0YK5YAf9xC8cMCpkL0rjFBic tcxTW+GsJW0TG17+AzYtXAEQdG+GhQetuojAH5wTB0BEGuG5Wa3WnQBEfWYQ+8PsI6cc FezcsUk+iNkXx9FEHBL5zq8H5rYGWyWPyByc00qxLm17O2ipZqy9NtC7YfXr2yiDn0eD o7ba1UKckIDU2qXOfbdmcmYTvGxOmw9Y1OHOJybk3HEXmIq2Br9Fw1YxIGx4e3A4d9KT +jqPmWWNAzzYC4V805dvx1yu2n5mkst7DD9auIzTIoGN+74kvhvTeB6YgVp0IAH+mlLb NWVg== 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:to:from:dkim-signature; bh=qs9N8rfFTVwVbHCl3QcliIEoiN2bxMMKsoxhS6BMiLo=; fh=6h1Wj1mbqxcS7PNl0ctUGwtLQi5JQvLvrrK1KLcalrs=; b=KfzmCD7NQP8y2UGVoi8zmzpU9vlk3l53nHUPCfS+z6r0T50+21J/UMWAsIS5noF04+ BBETGCtBjDmEofYP6TQpY8DbWPUzJMUYkJOlAgw9/gGWWqU916eT9AUTusd3Zxyz3nby rZcOgZ60L0M2uJLc8G4DhPO9O6Dg99Z2c5vDu7Hyn/sE+RtNK6hfoC3wbin8KMnqVHb7 aPg9H0YBFXi2AsReAF1ekP5qY+0VgmIz2A+IY+Zg0szAtdQ0RELlOUXovxf9sY74J5TR muJLcrW6E8JCCYE0cI9pgPqJNTaXumV3DFwgXilDuPQ5xxpewyaw0i4apLNp1Cp4KxJ/ 8A0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pDzMUioX; 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 kj24-20020a170907765800b00992ad3f32d6si548343ejc.810.2023.07.27.00.06.28; Thu, 27 Jul 2023 00:06:54 -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=pDzMUioX; 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 S232173AbjG0Gf2 (ORCPT + 99 others); Thu, 27 Jul 2023 02:35:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232399AbjG0GfS (ORCPT ); Thu, 27 Jul 2023 02:35:18 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 284322118; Wed, 26 Jul 2023 23:35:05 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36R51A78023300; Thu, 27 Jul 2023 06:34:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=qs9N8rfFTVwVbHCl3QcliIEoiN2bxMMKsoxhS6BMiLo=; b=pDzMUioX8xaokDthPscNoCE71n8tF/Zg+N3yS1AKkkrx3kwTFSHCRcbRkeN76PP6bl1a bGzZ1rY1/30n9I46iW4fdm5u/eF5wVIhaN+N9U46hSs8G99j+attJvBaXl+FooaB1/fM BVbuGTEl93tVXhmrhUgqAU90sLdlVSlmRGBzai6sE5ZaY1kANMfW7/EGvyCtePcEDrG1 Be1WmjQaqUs7rcZJdizFH10pznocxK1C1BfP1IwLgpc7Pp7IcT6G52HBY0CeNWU+xubu tU90ctnLsJLRvbLvck4V/zSiPmPO5R3w36O/N/jZtwy8VdZ+Yo6QzokwQiw6akrY4/G6 5g== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s2v4tjrtq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 06:34:27 +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 36R6YQZa001176 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 06:34:26 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.1118.30; Wed, 26 Jul 2023 23:34:18 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v6 4/5] arm64: dts: qcom: ipq5332: Enable USB Date: Thu, 27 Jul 2023 12:03:17 +0530 Message-ID: <7440e75f006a179a9faab8a2346ec943a626c802.1690439352.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: 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-ORIG-GUID: MOIrMSWsBzomJ1iGrIjpzIoIPStI2j9k X-Proofpoint-GUID: MOIrMSWsBzomJ1iGrIjpzIoIPStI2j9k X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-26_08,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 mlxscore=0 bulkscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 mlxlogscore=664 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307270058 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: INBOX X-GMAIL-THRID: 1772556506312457166 X-GMAIL-MSGID: 1772556506312457166 Enable USB2 in host mode. Signed-off-by: Varadarajan Narayanan --- v6: Add vdd-supply and corresponding regulator v1: Enable usb-phy node --- arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts index f96b0c8..b4099a2f 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts @@ -12,6 +12,15 @@ / { model = "Qualcomm Technologies, Inc. IPQ5332 MI01.6"; compatible = "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332"; + + regulator_fixed_5p0: s0500 { + compatible = "regulator-fixed"; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <500000>; + regulator-boot-on; + regulator-always-on; + regulator-name = "fixed_5p0"; + }; }; &blsp1_spi0 { @@ -79,3 +88,17 @@ bias-pull-up; }; }; + +&usbphy0 { + vdd-supply = <®ulator_fixed_5p0>; + + status = "okay"; +}; + +&usb { + status = "okay"; +}; + +&usb2_0_dwc { + dr_mode = "host"; +};