From patchwork Mon Aug 14 08:06: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: 135227 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2605753vqi; Mon, 14 Aug 2023 01:45:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG57ub03nopdo0ESQhHD443Nltk7FYovzTDqcgN8Jx4AMIidPESprAq/tSCmHXeWG9JsUt6 X-Received: by 2002:a17:902:a402:b0:1bd:c485:e0c8 with SMTP id p2-20020a170902a40200b001bdc485e0c8mr7458678plq.17.1692002715840; Mon, 14 Aug 2023 01:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692002715; cv=none; d=google.com; s=arc-20160816; b=je3t2YxRZHipzMWdA1YsI0qYoFhDYPKlrby9LuhPWXEN65AMBMeWQHyq97I+Dl/0tE XyR5sjjKywLod1FzOC1kBaEwUZ664ENFk4QK8PYfjFUQtTbpbeb35/ZyjdJ8aVAckHQ0 UCcY9T4Wtvhl8CFv/9+JlU0AtbZ/R9+6dWy38it5ayt0oAKuQ/gNEU/UjfZP+oG/FT67 ClKDqdSsEb8i6w/CQXMmmZwBcQoa3R0UMTH+WXqxY3nrQLEexOoLF3JaT+U8ZQEyoMRH /t78c1vUegiyqhh5gExwk1jQgGwKlHAF22nLmN/H3UDkHfAxfzfmqqPEAh0BFLV5fidF YxFQ== 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=0k2HJcQX94dKFWJ5tuN/W9uwe9Rj3tjxabABZ2i+WP0=; b=Whd3ByqHSlAflaafdD6AXtCJqok4Emfnk1qBEmwnBZbWl1kB9U4LWQRvOPNA/2GpzC CCflZXYgOaHD0dWChf8G2MpTaG3NiQ7C4wIzDCxxSaree4zbq6cyiw0RIXqaJxLPb/Ec PfHrL85ricKDHSGWLZdH+DdCmaUqVWW9UmbJH9B9jGAFTuWPZDknOfSTpCLpzwt8xdZA ecgk49YzdIgFCUVzuKm+KONjbzw7R4wTIn56GVcScfTsffNalT5Jr2gReAp/fLm2/z1A NsvJfVH5n6cX27TJ7Xm5sUOCfmS/Y+jOz1jhLJZ7LMGCRHa7/IMPT8ZRk+aiTGnyEgnZ QuiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kssEuOnN; 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 y9-20020a17090264c900b001bdcf3997ffsi3430743pli.235.2023.08.14.01.45.03; Mon, 14 Aug 2023 01:45:15 -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=kssEuOnN; 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 S234636AbjHNIKg (ORCPT + 99 others); Mon, 14 Aug 2023 04:10:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234523AbjHNIJ4 (ORCPT ); Mon, 14 Aug 2023 04:09:56 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 163ACCC; Mon, 14 Aug 2023 01:09:34 -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 37E5Tsrl001252; Mon, 14 Aug 2023 08:08:39 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=kssEuOnN979azeNS2hdNFT8AOG5pBBoJY+IJUxok/ORudUzBdmTB55mffpUJMLROoYUd j1r9XLrl9v4uJvWfge+BlR788RzmWFDS5hLeKnRsGKGeIJYxVZV0Dkh40ZGfaLtSkKQ0 MBAzG40fK3IzumzlQFazM6C/IGVnBODrSqawESvWLmWy2FNZRTCRnItAX2xDNqyFqrsx Ye5/jJfQlSW/ArCL9Z0OWoFNKG+InUCLorSF/Tr5hyVEeYfeLPIKLo7GNhNBTPffjpJ9 UER+H3F2ICx3h2MTZTk+UuZt7ov6y1rN9a3x7t2i5oEPZqBrRGCqsbZB8Ax0iM4UL6VM Fg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3se3gmk8d0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Aug 2023 08:08:38 +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 37E88boO016533 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Aug 2023 08:08:37 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; Mon, 14 Aug 2023 01:08:30 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v8 4/5] arm64: dts: qcom: ipq5332: Enable USB Date: Mon, 14 Aug 2023 13:36:04 +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-ORIG-GUID: bP2cSkrcwMZEacojwwT3w5JHvTFm8AL8 X-Proofpoint-GUID: bP2cSkrcwMZEacojwwT3w5JHvTFm8AL8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-14_03,2023-08-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 impostorscore=0 mlxlogscore=637 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308140074 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_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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: 1774193439962708407 X-GMAIL-MSGID: 1774193439962708407 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"; +};