From patchwork Thu Jan 12 13:51:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 42451 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3896990wrt; Thu, 12 Jan 2023 06:04:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXsl4PGl7pGdMTABpcjVmsKQcr+vb+wUoE84gomNwaAj+Gw+w2OCvpcfSZWcmKw9iRwEM8c2 X-Received: by 2002:a05:6a20:7d9c:b0:ad:2abb:5a5e with SMTP id v28-20020a056a207d9c00b000ad2abb5a5emr9011819pzj.61.1673532279441; Thu, 12 Jan 2023 06:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673532279; cv=none; d=google.com; s=arc-20160816; b=c7p/RVirDOqIOVRFZOxj6qpNMpliDat7by769qlkPUhQCsdgusA8Dafv4J/IIUMrnv Rnum+LGWCuGIqrkirBcI0h9lbPEIEljjhlnmFjdUPZIdR9tO+/9fQ3XdLKYjiIALpGU3 QDPxNrdJ4VX8Ojk7/0Z0DwO3HklnLz6dJRjgtKk7AvSx48S4VTO4HmvUbPvLWUpmSeCp b+E/D3ozdYYRaxm2FcxGWCsQn3F1sVp+oDkaf0fqL4fx/lGoAY2O6xi137RB/FOSgj1i Rn2EgwRBiqxw9/mF8HTPnayO5d5BOG5RnRX+lWQpiVb+HVww86akWWxuLlGucNLexFwe s2mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kcMTzljDeT/7YLmtLRXP5hfDVv6Ofl8ame0LMxCO+sg=; b=eW8XvBks0i9xDfyNrldteigsSgUT5QlupDhv12x3qjdTF1X779L8pUjkhqsIXFeVAZ VizKLyUgYd3eld7PW3u7Bkl1NzJj6R8o4CyYJqMd9AssRGVO8jLF8OS8/uKLDYJDYbtk bgfBsmEXwVY+NdG8HH5Kd/2SQgmI8CGWdaSYGUJyk6clKk7MMammI56Lnmmm7o2bxKyr AkDR+I2981HsT4h+BKGiMcrNrmu1k7omeMwpdhdiLn/b2w3sIj0gTrSrC4pAN8V51QHk nfg6utp6MbJWpSr5m+lTUE6cc7x0l1BXFKOaiBtKpO47MAcqiJQ2YEmnFJum2lrvonno ED7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Nzl4ZOXU; 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 b16-20020a630c10000000b004b2317cd02fsi13060497pgl.582.2023.01.12.06.04.26; Thu, 12 Jan 2023 06:04:39 -0800 (PST) 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=Nzl4ZOXU; 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 S232994AbjALNvj (ORCPT + 99 others); Thu, 12 Jan 2023 08:51:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232597AbjALNv2 (ORCPT ); Thu, 12 Jan 2023 08:51:28 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A74D14FD4E; Thu, 12 Jan 2023 05:51:26 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30CDS7Jo025737; Thu, 12 Jan 2023 13:51:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=kcMTzljDeT/7YLmtLRXP5hfDVv6Ofl8ame0LMxCO+sg=; b=Nzl4ZOXUCfUnxhDoV6FaQvJdBJW5pMOhzCHXE+aPpgTk8NaOmGuJcG8NGBicnlEgyiAf wbtgyC0Rj6eBrHIJNySFH8HhN05Ogns22eDkB8aTsDBYinBozl6T9MSvsYDUZVQumgbD 8RcQyx/WP8REqzdcwu4lPkcHWRokb3WM/ytw8Oax/PDkToqg8UiPMwPqldnogIZCn/3E V9K06TTQ3sO5yWiGU4NaA3zfAv2T6qFibyhjmGKBgtxIJrZfyl04gJtJYRGf3Op0yAMk sVQ5mu+OMftcyhnUw3uQ7+xRSJKD9nG6FJ4oEvwRk/fjIqmPqW03E7x1d3fyefAoVLw0 BA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n2k47g1wf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 13:51:23 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30CDpNod032487 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 13:51:23 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 12 Jan 2023 05:51:22 -0800 From: Bjorn Andersson To: Bjorn Andersson , Konrad Dybcio CC: Krzysztof Kozlowski , , , , Johan Hovold Subject: [PATCH] arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers Date: Thu, 12 Jan 2023 05:51:17 -0800 Message-ID: <20230112135117.3836655-1-quic_bjorande@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: FmbTFr9fyrophvdogZyMBSxpU07RYgsu X-Proofpoint-ORIG-GUID: FmbTFr9fyrophvdogZyMBSxpU07RYgsu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_08,2023-01-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 clxscore=1011 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=910 impostorscore=0 lowpriorityscore=0 spamscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301120100 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754825783535720939?= X-GMAIL-MSGID: =?utf-8?q?1754825783535720939?= Running GCC_USB30_*_MASTER_CLK at 200MHz requires CX at nominal level, not doing so results in occasional lockups. This was previously hidden by the fact that the display stack incorrectly voted for CX (instead of MMCX). Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Bjorn Andersson Reviewed-by: Konrad Dybcio Reviewed-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 2ed17baf50d3..4f4353f84cba 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -2265,6 +2265,7 @@ usb_0: usb@a6f8800 { "ss_phy_irq"; power-domains = <&gcc USB30_PRIM_GDSC>; + required-opps = <&rpmhpd_opp_nom>; resets = <&gcc GCC_USB30_PRIM_BCR>; @@ -2319,6 +2320,7 @@ usb_1: usb@a8f8800 { "ss_phy_irq"; power-domains = <&gcc USB30_SEC_GDSC>; + required-opps = <&rpmhpd_opp_nom>; resets = <&gcc GCC_USB30_SEC_BCR>;