From patchwork Thu Dec 21 03:50:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181991 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp170234dyi; Wed, 20 Dec 2023 19:59:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4XG5RElE6khbpFlMKH6HszVGsmyJNlHocmW7zSaSz1PzttzIOOOV+nW9Yt7A6sO9vMDrZ X-Received: by 2002:a17:903:486:b0:1d3:ebfb:2001 with SMTP id jj6-20020a170903048600b001d3ebfb2001mr2583079plb.80.1703131167328; Wed, 20 Dec 2023 19:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703131167; cv=none; d=google.com; s=arc-20160816; b=nzRVPM6UdFGkzbCCZH9Ev9BXsq98itynEET4/hxohR+ZATbQBrY6fJKUEuvn6yYHR5 Fc60HLtfJ8zKxPxGn5mxpETKraYwdWE/RWEsvS+jNFniyFkUcm8MIuRndRze2X9Y9OSs Nhec+z4NWz5y31SLXJmL3+B7sgSaTCIFO4i8B8OSgVqvCv+2AXex3vWmpeJ/Ivw8KKwa mFKr3/OoaoqXWCOx/BpLxIpbTRDujT/UsyB/JvgXeWxqr9yjSkbh+EreEYJjHvjJQpg9 aekLOjyKir4OtO1TQRg1Vihv0wt2KGDQbmL+k5e6KCOVaQZG6FEJGg/g7eWtf9olw1kE 4Tfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=pyo/7sTw5M8v3OoXaYpbrVLNBeRjx0rU67xrb1AgwAo=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=lOpj8qpRusA0kW06LuCF9Cpnv10GHOmHdZk8S/ei8NBSmH9PTYNgPNOKxekVjFM3ya vOtF2CrDD+hyktANtO2DsiIXMcDQd8WswHWUucZyRlVyJd5B76c4Xc1NH4ccmE+JsFLd D/kooMdV8JtDIGgndEg2gKI5UqRZitnjWkg7aBK/1s2oXBT7AQev4GEm8fuVtxysaFbj zdmM8UDZd1VvMv3C3Hs66b0mdVelM32MYOtcPbOcZ0yRuhRoDA1UU5IhLmYV2mYpgK9S owknmlbTjbpb8c9DJN0GB/lFOSkA8LmhEv/ryxZ99BII1Uq9BZInSWrAQq7L8ZRXzTC0 MWQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dZlzy3k9; spf=pass (google.com: domain of linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x7-20020a1709029a4700b001cfcf3dd310si750274plv.505.2023.12.20.19.59.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:59:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dZlzy3k9; spf=pass (google.com: domain of linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B2BE228638B for ; Thu, 21 Dec 2023 03:52:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6B0F171A9; Thu, 21 Dec 2023 03:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dZlzy3k9" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6AF98C17; Thu, 21 Dec 2023 03:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL3oqd9014503; Thu, 21 Dec 2023 03:50:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=pyo/7sTw5M8v3OoXaYpbrVLNBeRjx0rU67xrb1AgwAo =; b=dZlzy3k9EaUAn2PXQeyIPyQ017d2OxeeBnG4QaRBETDLuqmxMBZBh8rVDZC rm2WH8+YIoS+SEdASNyWr+PUN6i+bcE2P4uicMTchRuE/v+aQ5wAc5SmjA08U3mr Jt3+t2l5xcWd+3DEc108gao3mpzloKNGnJqM5vYozyLWA+2f8gDLEQCOTxb5tVSg umPGHomHV86VI1UBn2UXLAEmYesgbcgcNQa5+2DCs1+Xmf77Gv3K6jPI0q09RIFV 3bRgQrALtc6oQBC6+dte9EDziA8VstCkq1vHfF0MRnLsole8gsXlkXhjX2x0HoR+ KsSyp4YI7H+7Ze/vqoExNrSI8ZA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4234huxj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:52 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3oppI011714 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 GMT Received: from [169.254.0.1] (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.1118.40; Wed, 20 Dec 2023 19:50:50 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:38 -0800 Subject: [PATCH 4/8] soc: qcom: rpmhpd: Drop SA8540P gfx.lvl Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-4-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=875; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=zKM1tJ2bwLaUFYNjSeQF8Ps0X67w9IK/SdhRZin2yfM=; b=5U5q3V8oo5buTX466+jtHinXn9Pjc1uLJl0SH2t4VGZoE4nUeKpr2B48XjVkcupkFc1ntoRrZONn jpwAte8sCTL86cYC3zuotgjePtQodmR4q4r9pG6t7C7Q8K/NW0/q X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= 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-ORIG-GUID: Sx-bgnsO9QoMeoNuVRIl9JeUX-KpQVZB X-Proofpoint-GUID: Sx-bgnsO9QoMeoNuVRIl9JeUX-KpQVZB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 bulkscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 spamscore=0 suspectscore=0 impostorscore=0 mlxlogscore=937 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862467339872610 X-GMAIL-MSGID: 1785862467339872610 On SA8295P and SA8540P gfx.lvl is not provdied by rpmh, but rather is handled by an external regulator (max20411). Drop gfx.lvl from the list of power-domains exposed on this platform. Fixes: f68f1cb3437d ("soc: qcom: rpmhpd: add sc8280xp & sa8540p rpmh power-domains") Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov --- drivers/pmdomain/qcom/rpmhpd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index 3078896b1300..27a73ff72614 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -217,7 +217,6 @@ static struct rpmhpd *sa8540p_rpmhpds[] = { [SC8280XP_CX] = &cx, [SC8280XP_CX_AO] = &cx_ao, [SC8280XP_EBI] = &ebi, - [SC8280XP_GFX] = &gfx, [SC8280XP_LCX] = &lcx, [SC8280XP_LMX] = &lmx, [SC8280XP_MMCX] = &mmcx,