From patchwork Thu Mar 30 08:40:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 76966 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp975604vqo; Thu, 30 Mar 2023 01:51:12 -0700 (PDT) X-Google-Smtp-Source: AKy350bOAUvkqJpGTaRR+tVJdHWyLUDP7pV65OqICedFzB3IxNxfYgKuCDo9Y6Mm9j3poMnuzoD2 X-Received: by 2002:a17:907:3da1:b0:932:e6d5:bd7c with SMTP id he33-20020a1709073da100b00932e6d5bd7cmr29285029ejc.20.1680166272497; Thu, 30 Mar 2023 01:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680166272; cv=none; d=google.com; s=arc-20160816; b=PJ20CXKP5bv+1G+GRHFWVz9Zr/W1E9FwP+gM/vTKVnb0En68niMSn6rudP/gGbhW1T T+6uaXL4rwe0YrW5NGFjTWJblFKZ8HT+FlfpwbntG26UEkSX+tUA8jWRtxPcZyJPkELQ cQ0Yl1Elk0rnQwabb/H/XLlFDVaOwnGghMnRXb9r+PMv7Sr1rc7ZzbJX4B9yQMJXegHM VEJ8y2Wi88Lp1aHChwU5Mb4h36p04rapYxvw3X/s2ao+rBq0Rq4W5NQ2uhG5w/UzevDy KPtn4SGPBK/lc+IW64yJ9EIvc2gb0XQAdyShw6FPVJvquL22pD6ld8GoIJY8RSJHIKmh BpAg== 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=YKlUNCsu3QC8Ve0DwJYpAlzTsaXhk5euAqF7Y/7IRjE=; b=N3uaslsBOGhpiZx2ZEp334hkoERQ4wp5xoejS4asxd9PwIeWPlBds6ZHsY4gDSOWR/ QtJxPduOOtg1uLuCDCEFPIwLEiuQrYrUIB+/yff5Tn8o489ClN3O2UKa+pTzdkqBZrcG bNwHp8T03AqeBuvvtvLlSxBYCUM454yP1I1lYLq13PGtNW6VbMXor1X+ff2/672k4AWL ftiuyf73qUOL/yGPfVj4Y6hPRoYHpIROjW24rdxmi0K3FIH2NFTcbvajS8zMhGrSBxsJ 0d095sF8HzmZ5mas0G1Awi33woT/vnTP5/RPyaq6pKO814yISpIc1Ndtlez4utods/QU RxUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=T0xBGkfu; 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 l19-20020a170906795300b0093defbd6284si23419378ejo.1035.2023.03.30.01.50.48; Thu, 30 Mar 2023 01:51:12 -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=T0xBGkfu; 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 S230101AbjC3Im4 (ORCPT + 99 others); Thu, 30 Mar 2023 04:42:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230159AbjC3Ima (ORCPT ); Thu, 30 Mar 2023 04:42:30 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF78183E8; Thu, 30 Mar 2023 01:42:02 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32U3LpNF013220; Thu, 30 Mar 2023 08:41:51 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=YKlUNCsu3QC8Ve0DwJYpAlzTsaXhk5euAqF7Y/7IRjE=; b=T0xBGkfulH1Scwb5UP/LY3bfs9HiqBGvxOpxLGjFmd1waRn8fejmkKG0DpIYR250o5HL Nrg5eH+2AF7KK8L2RorM5wPI7Hoja2UzMo+yxSjGwwKQrzagcPtTyH1JWcqVbRnI/1ln moJZHuT9eBOPf7155VYlNLW4V+qBFxfHHP+x/o/yzdrGFIcOfSjxvoIXBF3Tt/4MgX/9 4D5XGufyOMu0PhY79/cLippGDFOrF0MYLuRte+7BsrxdV0SaDbaCQVtUX6wERpwmZfOV +SN0HoGNK+FttsaA+498E/mnzOg92z5EARY/EB1YTvZ+9jsqQnx42JjSHuArKy6BXTs/ hw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pmq95akws-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 08:41:51 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32U8fnG9001659 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 08:41:49 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, 30 Mar 2023 01:41:44 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v5 8/8] arm64: dts: qcom: ipq9574: Enable USB Date: Thu, 30 Mar 2023 14:10:50 +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: 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-GUID: ysDUxcMAa5hnMmVJIGb099gwdOV-1Yze X-Proofpoint-ORIG-GUID: ysDUxcMAa5hnMmVJIGb099gwdOV-1Yze X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-30_04,2023-03-30_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=827 adultscore=0 spamscore=0 impostorscore=0 phishscore=0 bulkscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303300069 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761782028923806946?= X-GMAIL-MSGID: =?utf-8?q?1761782028923806946?= Turn on USB related nodes Signed-off-by: Varadarajan Narayanan --- Changes in v5: - Move "host" mode specification to board dts Changes in v2: - Fix node placement and coding style - "ok" -> "okay" --- arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts b/arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts index 8a6caae..387bda4 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts +++ b/arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts @@ -30,6 +30,10 @@ status = "okay"; }; +&dwc_0 { + dr_mode = "host"; +}; + &pcie1_phy { status = "okay"; }; @@ -57,6 +61,10 @@ status = "okay"; }; +&qusb_phy_0 { + status = "okay"; +}; + &rpm_requests { regulators { compatible = "qcom,rpm-mp5496-regulators"; @@ -84,6 +92,10 @@ clock-frequency = <32000>; }; +&ssphy_0 { + status = "okay"; +}; + &tlmm { sdc_default_state: sdc-default-state { clk-pins { @@ -118,6 +130,10 @@ }; }; +&usb3 { + status = "okay"; +}; + &xo_board_clk { clock-frequency = <24000000>; };