Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp3161852rdb; Tue, 29 Aug 2023 07:11:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBnhZJISHyxgSB6gu66C2qO7+EEoYLDWzUCLsPB/XVtYgTIUgL/1Y17Ay7onRhSH9qwll0 X-Received: by 2002:a17:907:7888:b0:9a2:25a6:a42f with SMTP id ku8-20020a170907788800b009a225a6a42fmr12002542ejc.19.1693318310689; Tue, 29 Aug 2023 07:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693318310; cv=none; d=google.com; s=arc-20160816; b=TpQBEox7ge1hl9bu5TYWSOam9XPqXoLavq6T0qPo/VYK0Hh5gbAFJrDJMBSxmhAgOk CRsl4uj0N935eOs0J7cTRg6hXzDPn+UsxtX+tS4GF6DCA5tmiZCbW4ULrSg5dET3SO1O BwwuLevH+DDIfAU1zAes44w43496ACLT7/1A0IyYDEkUPXZych3dlZwY2lSCatzy3HVS yljlrXqtTzLDIQnHMIa4CX/u3wBMt1rC9GlxnszpZFTu5AuYF/UF4TThDQJUCVRtuSY9 sDlsJ7A1XqCvv9OE2Z0JOkrslTRewIL+g48puRcuAO/Y6pUeGOpTnvinLn98+4oiaD9l Iqkg== 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=UWMw2UvtB1sGf7tiCC8TmLCnAB5phckeM4/x9uKHRWc=; fh=5KRlq+lwPXVnT6c0eUAp/+SgKUdK+sELXP7RNy028Ik=; b=vLy7uCGZEnx7Nvcqhdw15DTLlJryWz3HtDDycIgP6vBZ1fUVnlAYAFSyLHSSZ4hoL6 zaiKLRyW4pv3km57q+5uR3oXa1fwdRWBJ5wpGbEG7dO2uYTW7CdpfeS2J0mA/MK8kYLz mI8BTZFCnCfGJAMwyL7D2VydX1kzf4Sm146ooqoz91jemBdUGNoNM9QeXcobsO5yZYoy 4vMwkoz/ON3Ln+PVt1ayzdpyb7Y/TX6vCNtSTCisyjwnnjt97tcQfKD7otFsqgSrmiv7 AITU+s9zbGWvIt9Kg1Q/nOuq6p7Jj6ZyCcdUVSB7NYNDASkInj167Ap9cF0IA+VwI6yx Bawg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=m5uWJNrv; 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 q19-20020a170906941300b0099dfe30fddbsi5712759ejx.207.2023.08.29.07.11.02; Tue, 29 Aug 2023 07:11:50 -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=m5uWJNrv; 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 S234315AbjH2Iio (ORCPT + 99 others); Tue, 29 Aug 2023 04:38:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234372AbjH2Iib (ORCPT ); Tue, 29 Aug 2023 04:38:31 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D027FC; Tue, 29 Aug 2023 01:38:27 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37T4QAqR025675; Tue, 29 Aug 2023 08:37:42 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=UWMw2UvtB1sGf7tiCC8TmLCnAB5phckeM4/x9uKHRWc=; b=m5uWJNrvLtnrbXzp2RxrGoW41AX+EcMPbWLjUgTxNz5BDG2C315Xq7jawC/A495nhZMf 4/6tQghACt8TP3hIv052moMEvlTQKTSY3f4Efphp5+lufDV1JByxWl6cANGZbUc6M8oJ mImZQRKV04LyW4VgaCF/NmyQuXBUdh0cPRPaTWnNSIM7GtNO80L5r6llUwFLori0ogcD TM9rm/L4EniOxKf/YpK2rl7WaQf0UmDH2DtrX9+Erbh7YjZjT9qRjCN7uGsCEskI9Ex/ ifBhdJE93SajeRZePcOvKbGB83qn1n1AKzRuSC/3WILYnY7Ika1SkgBiE3SD+Ahh5NPJ SA== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ss7merthy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Aug 2023 08:37:41 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 37T8bf8V011600 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Aug 2023 08:37:41 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.36; Tue, 29 Aug 2023 01:37:35 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v10 3/4] arm64: dts: qcom: ipq5332: Enable USB Date: Tue, 29 Aug 2023 14:07:09 +0530 Message-ID: <764b497e865a1e23676c9c3913e3a26dbcb0fc22.1693296360.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-ORIG-GUID: A3VjUD3sorh1k1SDBZq3X0j1rxjc79tg X-Proofpoint-GUID: A3VjUD3sorh1k1SDBZq3X0j1rxjc79tg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-08-29_05,2023-08-28_04,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 bulkscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=630 phishscore=0 priorityscore=1501 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2308290073 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 Enable USB2 in host mode. Signed-off-by: Varadarajan Narayanan --- v10: regulator_s0500 -> regulator-s0500 "make W=1 ARCH=arm64 -j 16 CHECK_DTBS=y DT_SCHEMA_FILES=qcom,ipq5332-usb-hsphy.yaml dtbs_check" passed v9: regulator_fixed_5p0: s0500 -> regulator_fixed_5p0: regulator_s0500 "make ARCH=arm64 -j 16 CHECK_DTBS=y DT_SCHEMA_FILES=qcom,ipq5332-usb-hsphy.yaml dtbs_check" passed 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..1fe2e39 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: regulator-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"; +}; -- 2.7.4