From patchwork Thu Aug 31 05:37:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 13370926 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41588C83F2E for ; Thu, 31 Aug 2023 05:38:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9o4I5fwOY1zksV4mnrDfxuqjMHHxhQYxUm7yOfYczTM=; b=Iw2MqwNsUSuLaD Vkytw+Baoe7PnvXbIRqfH86VFPxzuw4ApzDFSoM1wh/jiitb1ePuF2nl56iNPcVr4oyhnk803QaD2 et5/kTN3MCgiSKa0CP2toDEGjEhqynzJ6Zr1YV0iyBD8gbfEZC4ZDcP+ceJ2fP4UG1xtC2s/YWixm SPLdUYyIcPquUHvmuegdtz2EHEoxADztpzTZR3sCdvQbGE69e+lq7+2RiAs0zIAm/6ZzA+CkGDJem q8cZnVlb6vF+Nc9kqXbvNdVpvsqmv0voMsEQu6t2GMMmkaRcWP8vlK9ACWBkz806coEokHKyJKi4G pvTbERYVpaXvj7bERsGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbaO9-00EhKB-38; Thu, 31 Aug 2023 05:38:41 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbaO4-00EhIM-1r; Thu, 31 Aug 2023 05:38:37 +0000 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37V5WJ8Q017447; Thu, 31 Aug 2023 05:38:25 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=qdnrmAXWSK6PoUnnHIRNhhhAf3jdJvUPULS3XdolKXU=; b=T2cA8xYZEdJ3fzJNdE7zWGQv9MpFeLC5F+3tIjpHnMCLeZz5CM6QW4cccz3gpFF282fm EWzKXZLb3JuHXO5T2jmVSckjcUtCYtl0G4pJ39+uaT9RCvK9EWdBX4xZ0W/oskQIVw2f cKOdbY8VutuCHDbEiktaXPfHrtivPnORsZrPqg7Vz3FpRTv8VxXcX2C2cSTgvwhr4FUv S1u5fcA6WJn6RSXsVsO4m5cyX34Hihy3Tl4TCdqzAtDwH5o5gdg2lqqTTFwoI4a8bS5R vDvATIc5g99bHZRv8Uu5RU1Q4Dc5+mSxKL7R2rTsdtHAzfZ7dpyl0ewoJZH7YLWexdqx Tw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ssy5q2ad6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Aug 2023 05:38:25 +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 37V5cO3T008625 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Aug 2023 05:38:24 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; Wed, 30 Aug 2023 22:38:18 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v11 3/4] arm64: dts: qcom: ipq5332: Enable USB Date: Thu, 31 Aug 2023 11:07:49 +0530 Message-ID: <7c14a3e29ee274f334444f809fa820e725e255dd.1693459976.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: EPK7tk_WYX_rTnVjYV8tU8PFzD56iHEL X-Proofpoint-GUID: EPK7tk_WYX_rTnVjYV8tU8PFzD56iHEL 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-31_02,2023-08-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 phishscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 mlxlogscore=689 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2308310049 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230830_223836_728017_54E6206A X-CRM114-Status: GOOD ( 14.45 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Enable USB2 in host mode. Signed-off-by: Varadarajan Narayanan Reviewed-by: Dmitry Baryshkov --- v11: Sort nodes in alphanumeric order 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..386a088 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; }; }; + +&usb { + status = "okay"; +}; + +&usb2_0_dwc { + dr_mode = "host"; +}; + +&usbphy0 { + vdd-supply = <®ulator_fixed_5p0>; + + status = "okay"; +};