From patchwork Wed Oct 25 13:59:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 158108 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2621180vqx; Wed, 25 Oct 2023 07:01:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjrxUciF7PufPk4MIU1tbnVQzeRKfQuekkBtYNEaCoJkhL2YyLhCKuRaPPvNS9gbAR+E+n X-Received: by 2002:a05:6870:cb86:b0:1e9:fcd0:8f9a with SMTP id ov6-20020a056870cb8600b001e9fcd08f9amr17365378oab.38.1698242505915; Wed, 25 Oct 2023 07:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698242505; cv=none; d=google.com; s=arc-20160816; b=edxLkbFVPS32n9rusCCpk3oQU2+51ht1IsSXucG/ttoNOnFYyM2Fz1VnoKhK/ntZ3J 80ea4CZlv22xY7lTXI7sgr+OmSjAA1Z6+Fgv1IERC+D9qU5YxxE7JglmkXd5l7ilnbYI nLO0h1jGa5bBQZRpFha4Oqaa0kP5uDYTuk5FNI3FTjmO7yZV1FfqYAnLd6VCwfdqr1YQ mC81RUxiYONvZiAKo6+/pJlwTOvXgdaW34oQM4Li5iHEhBZppXIhuB7QCGl9uLLEsuhC /FZo2pqfQmWtPKNiFTI/8HyVu6pfdGyXeKJVU97BOo6uh5Vg6x6pIGmBZ13aWjI9ZTKq 0aUA== 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=OiJQTutBiRlCvmre1y8dxUMzEbgTBhND59JfCymNGcQ=; fh=mfqLrWBJ03v9tcGLp4nMSecstj1WwrL9mC1oYfwKzO4=; b=znTsd53ycwg3/aI/0LemAYtbkFJAV5GRVRDh1DS9//Ub4H8bV+IhW81Hsau6nmxZcG Iwo2Ftf2a1pka+I6XboTwaYQzpJ2Z/AaRLMIvzFnNoFMG2cs1OVyW6bfvpBWUmBICXcQ Vh5E192V0zq9jR9QpDo1QuemmQoGiwN1q2IoCEjkRmov6URg3G4N4q6GSQl/Jqms0cP2 IJkm/pPmzyO9GIGsq5EHT+tUARq5gGP4p/wiDulGErYzJAfcGDcLpFMRn65YqAKEJ1RD A4rWsssBFZU5fxbMVa3aILi7L/b+kw9WzSXQxDkIKJhkpwAm9gJpzNleZzn1McWrVkp6 DU6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=inlRPaCN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id nl13-20020a056871458d00b001ea11c6b53asi4066740oab.333.2023.10.25.07.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=inlRPaCN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 724888092211; Wed, 25 Oct 2023 07:00:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234980AbjJYOA1 (ORCPT + 26 others); Wed, 25 Oct 2023 10:00:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234965AbjJYOAX (ORCPT ); Wed, 25 Oct 2023 10:00:23 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09ED3138; Wed, 25 Oct 2023 07:00:18 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39PDQNgi029826; Wed, 25 Oct 2023 14:00:15 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=OiJQTutBiRlCvmre1y8dxUMzEbgTBhND59JfCymNGcQ=; b=inlRPaCNleBZBLjfkZQGAPDKzyf9XGJAYX4O5/oSyjdI5M3645Nl9SUdZBQatmsN36U6 STbb1uniYLnTnqZZgBhyz78qaMQ5K2uZB/gLl3Q+mI+CDwA2CvfzsPTL6vZ9t0+ykOJh UwH7Vzh70ortAebOi/GhqQ31pYLmkYAXVaDRIhINL5kw8n9UXtW2a0JH3V9/agpVuNWr knyzKZVydopl5xbI/qiPhFTjqwgtKSolqfxHnwA9lGW7xZmwao8/u5tmFz+SPvhSl06K WkwE7nOM8+bKkmXju3aNdMotrbKlHnm3noNqQ/QatOq6mCWUerIKoQjIfnyo3B7K+CMs dg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3txngvhmpq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 14:00:15 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39PE0EmY029103 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 14:00:14 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 25 Oct 2023 07:00:08 -0700 From: Sibi Sankar To: , , , , CC: , , , , , , , , , , Sibi Sankar Subject: [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Add GMXC PD index Date: Wed, 25 Oct 2023 19:29:41 +0530 Message-ID: <20231025135943.13854-2-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231025135943.13854-1-quic_sibis@quicinc.com> References: <20231025135943.13854-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: INkRwD7ISr7y_IZNFjHkTI415iVP1hVw X-Proofpoint-ORIG-GUID: INkRwD7ISr7y_IZNFjHkTI415iVP1hVw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-25_02,2023-10-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 malwarescore=0 clxscore=1015 adultscore=0 spamscore=0 bulkscore=0 mlxlogscore=853 impostorscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310250120 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 07:00:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780736334006235959 X-GMAIL-MSGID: 1780736334006235959 Document GMXC (Graphics MXC) power domain index which will be used on SC8380XP SoCs. Signed-off-by: Sibi Sankar --- include/dt-bindings/power/qcom,rpmhpd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/power/qcom,rpmhpd.h b/include/dt-bindings/power/qcom,rpmhpd.h index 7c201a66bc69..9a47b92decd9 100644 --- a/include/dt-bindings/power/qcom,rpmhpd.h +++ b/include/dt-bindings/power/qcom,rpmhpd.h @@ -26,5 +26,6 @@ #define RPMHPD_QPHY 16 #define RPMHPD_DDR 17 #define RPMHPD_XO 18 +#define RPMHPD_GMXC 19 #endif From patchwork Wed Oct 25 13:59:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 158109 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2621204vqx; Wed, 25 Oct 2023 07:01:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGARi7wugCocVxU762H06cYvCgxi5fyDA5w1DO8cySDvNuwaPaJwJuHaVu62XRDW+CyS53z X-Received: by 2002:a05:6830:1001:b0:6cd:87d:9f20 with SMTP id a1-20020a056830100100b006cd087d9f20mr14203676otp.29.1698242507531; Wed, 25 Oct 2023 07:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698242507; cv=none; d=google.com; s=arc-20160816; b=GxGEKpmRqfvZCdFDJl5LPwmhFrKeHsfaKyNWpHi60LIb6Fph76XfZH807WEYcAEyIB UBikM1XKibReWqmsEx5G4GRuoTNQPNzkuRQXFgSPORZXyn3zE2I4YPX6yE2m4k6GRGza EKlT8prkaVP9vp7KdkR5BH70N4RElfEP35ALkPY5L1Q33KvgpSD4iJZ1fiIGRrO2TNA1 8oAtzGdqQaq1OocCpcoRKOP+l9s9/bsX89OSk9I/Cth8gdCMenT2QRAbnizb0b9rZQ25 ZVbz3vLAExATybZk7iYzj+ZYFfZHZlBA7ibtRdwquxvfh7/tYx6F6O6cw3MqDbMQuNal TduQ== 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=JXlBZNY8x/Vghyv5/U65nn2G5hF4fnM3KxnkEeLzBv4=; fh=mfqLrWBJ03v9tcGLp4nMSecstj1WwrL9mC1oYfwKzO4=; b=YIbBvwdbwuwpYz8LuwlB7pTbSwZYxcOXAHjtP6QXBYmL+URqP6X1V33vb5UxJmvsGO lKilyyUGnfvBPmzjQVq1JiH+bWzsllxVKQQmq3ZuNDzEgwuVCJaxLFvtzy2uyYcoozy4 aUdSM3uTMJQlCxC05syk2WjAflYojYVVI8d7HBfModEu/V6sdwHRrwE8a3QZTcxmoBDF U+Mx/GAhwiAeQnSzKVz5RcWvLAGzAZCdKLp54e4hFXwTMll7I8hH2J27dI/qXFAUzBjJ 9xsR4Q7FdvTQPBZ2+xu2zEPoaNQM+ycrxDALbc1OpKdrxHPGtvC4W60UUw65ykbY80nK m/PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cME7vN+F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r3-20020a4ab503000000b00581feb37b90si3680949ooo.24.2023.10.25.07.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:01:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cME7vN+F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 59933809500D; Wed, 25 Oct 2023 07:00:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344545AbjJYOAd (ORCPT + 26 others); Wed, 25 Oct 2023 10:00:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235059AbjJYOA3 (ORCPT ); Wed, 25 Oct 2023 10:00:29 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 527B3186; Wed, 25 Oct 2023 07:00:24 -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 39PDQ8G7007063; Wed, 25 Oct 2023 14:00:21 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=JXlBZNY8x/Vghyv5/U65nn2G5hF4fnM3KxnkEeLzBv4=; b=cME7vN+FDPGd7putNPfHo9hKWjYgcV1wK5vCqYdX+ib2A0RQc/waASVxbtHDLc/4Qu3p 3iGWu39URvF1QJ653M+A5/UTtwIu2321CjKkWvB72JYjD+OzFLvav/XF6N36PHYblNK8 65hQqfM+QFp3xVoKq/c7CcoBpsuy/joiXGE/8UiM0kUbzomVWYWhX0SLX8LlHIlpAYye r/MoqRAkxoV0Tx2u8LL/2Y8Uy+hYJf2SWoSmxofTIwzJpgPuIOvU1yRCqLq6LlcsFlvR XVDAnH5nWmzhX8mbpHYfSi/ObT+9Z2toIN3hB8IRto8R0emx2zlFcZXh1c4vSLykrZc5 eQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3txpj5hfe8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 14:00:20 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39PE0Jo4030531 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 14:00:19 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 25 Oct 2023 07:00:14 -0700 From: Sibi Sankar To: , , , , CC: , , , , , , , , , , Sibi Sankar Subject: [PATCH 2/3] dt-bindings: power: rpmpd: Add SC8380XP support Date: Wed, 25 Oct 2023 19:29:42 +0530 Message-ID: <20231025135943.13854-3-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231025135943.13854-1-quic_sibis@quicinc.com> References: <20231025135943.13854-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: vazshF2j6IjzZaHXLd9R0PDvb8LeJ6eO X-Proofpoint-GUID: vazshF2j6IjzZaHXLd9R0PDvb8LeJ6eO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-25_02,2023-10-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 adultscore=0 phishscore=0 clxscore=1015 suspectscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=867 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310250120 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 07:00:39 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780736335647239385 X-GMAIL-MSGID: 1780736335647239385 From: Abel Vesa Add compatible and constants for the power domains exposed by the RPMH in the Qualcomm SC8380XP platform. Signed-off-by: Abel Vesa Signed-off-by: Rajendra Nayak Signed-off-by: Sibi Sankar Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index d38c762e1280..6bca9c6c377f 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -39,6 +39,7 @@ properties: - qcom,sc7280-rpmhpd - qcom,sc8180x-rpmhpd - qcom,sc8280xp-rpmhpd + - qcom,sc8380xp-rpmhpd - qcom,sdm660-rpmpd - qcom,sdm670-rpmhpd - qcom,sdm845-rpmhpd From patchwork Wed Oct 25 13:59:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 158110 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2621545vqx; Wed, 25 Oct 2023 07:02:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyZJgJUsGG4DgVko1xnc7kKk7RdG484mwYTvhollBWcxFX+IEnBetdgcUDaxm1QGkAXFw1 X-Received: by 2002:a05:6808:3ce:b0:3ae:55e5:43b6 with SMTP id o14-20020a05680803ce00b003ae55e543b6mr14330198oie.48.1698242525138; Wed, 25 Oct 2023 07:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698242525; cv=none; d=google.com; s=arc-20160816; b=ZvVWNpcsV1i9rOa1u+R2zJkK5lqj2cCHol1jznwicB5chOASoHbRnlbH6i83pLpDj5 NfkG6X3gE0L4KtUs/Cj0xtt0D4fHAc4oOnbLH1Pvcbzfxdzk0SwVtjUp2DV8hDWQ1rDy fF8h5sCLpNDdG0JqprHe9cErLD53d2pPJqRyE57pC8HKhITHsDtGH0KCT9tMKBcnRZEg vUJouv3TlbtxRkNX0uvj3gmZiAf+fRZY3QDVmCW1uQWqpRJzzKgfI4vQNL8fhXNHp83d E0wRO3F1RldZBu5n00HMe1DKV5eqgbq/kyb20FrjNoQiB49i5Qlv6KHkFvcaVY1YnSJL btiQ== 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=ypZW6YDknrSjp4Z0Tc7VoK7ZfYKqwjhnfLRxRoEWhBs=; fh=mfqLrWBJ03v9tcGLp4nMSecstj1WwrL9mC1oYfwKzO4=; b=UgP9YTjXaQ+kl3gqQrxlho+K+hSFeFg+mIQWhuw481qVHhNyY76vl9XWE0mK9ksRqY +rGkasIAm1cTlRorLJdUg/JBgm/pheG4Hd3Ba9XqamKY62ugFWMKnZpe49EbtRxs75a7 aNmyKo4rzK/qTSlUehD+G2Dj+Dd9MJn5FvAmyhYI29j7mW48XgAfCVToiYqNPjPi6GPq KyllyEuOMaGq9Af0t6DP+b0QW6OvbeSETxyx5f0kxqaXtsUHoskiwzzoW7DTfY0qQozJ KGl0RKdfviRCG33ul7Z9LKj+AKfSDk4YSPkXm0pcpj6mAMRs+cYyipSrh9vMJEC1obpO c33Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VcSjjfJG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id be40-20020a05680821a800b003a4383311ecsi4008912oib.210.2023.10.25.07.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VcSjjfJG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4626E8104398; Wed, 25 Oct 2023 07:01:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344707AbjJYOAm (ORCPT + 26 others); Wed, 25 Oct 2023 10:00:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344685AbjJYOAd (ORCPT ); Wed, 25 Oct 2023 10:00:33 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA6559C; Wed, 25 Oct 2023 07:00:28 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39P9VgoM003134; Wed, 25 Oct 2023 14:00:26 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=ypZW6YDknrSjp4Z0Tc7VoK7ZfYKqwjhnfLRxRoEWhBs=; b=VcSjjfJGdsedKR99c8UrD36zc6I2wwTkc3Md5KqSSoeuWAvtKbzYIryjcjcXanv3l2Eo c7DoY66BFkf7fPQJeb+DaFQ9oO+lHVQMWGdDOpihgoDc07t8aPRzrEUQdB8VA3kRIi7K 3TOVngmhXLcDLpYTQdADQjN8MqR23mC/0PRF+tskcN8rA8qtSq4TpQsuK6DqB8Es8CmE xv/lSDsQBYF4mxAwvmFZAwYcZ2+1eOFXrVT5V3THNyiBOQs4zS5Anr925tiRUUhlmMkZ bQZc7gGhQewaxQyUdUGvf8yZQ9lCLTRmGa0xkiDVUCYmOyouOUv5twDaqv65kc0iLKPO WA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tx7r83t1g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 14:00:25 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39PE0PG2029716 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 14:00:25 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 25 Oct 2023 07:00:19 -0700 From: Sibi Sankar To: , , , , CC: , , , , , , , , , , Sibi Sankar Subject: [PATCH 3/3] pmdomain: qcom: rpmhpd: Add SC8380XP power domains Date: Wed, 25 Oct 2023 19:29:43 +0530 Message-ID: <20231025135943.13854-4-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231025135943.13854-1-quic_sibis@quicinc.com> References: <20231025135943.13854-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Fp5K797bd-vo9z2Q7f8psKXSxuqQf4vf X-Proofpoint-GUID: Fp5K797bd-vo9z2Q7f8psKXSxuqQf4vf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-25_03,2023-10-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=846 lowpriorityscore=0 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310250120 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 07:01:02 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780736353936524779 X-GMAIL-MSGID: 1780736353936524779 From: Abel Vesa Add the power domains exposed by RPMH in the Qualcomm SC8380XP platform. Signed-off-by: Abel Vesa Signed-off-by: Rajendra Nayak Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- drivers/pmdomain/qcom/rpmhpd.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index a631fe1f9a06..28b7f5fcea7e 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -202,6 +202,11 @@ static struct rpmhpd qphy = { .res_name = "qphy.lvl", }; +static struct rpmhpd gmxc = { + .pd = { .name = "gmxc", }, + .res_name = "gmxc.lvl", +}; + /* SA8540P RPMH powerdomains */ static struct rpmhpd *sa8540p_rpmhpds[] = { [SC8280XP_CX] = &cx, @@ -564,6 +569,28 @@ static const struct rpmhpd_desc sc8280xp_desc = { .num_pds = ARRAY_SIZE(sc8280xp_rpmhpds), }; +/* SC8380xp RPMH powerdomains */ +static struct rpmhpd *sc8380xp_rpmhpds[] = { + [RPMHPD_CX] = &cx, + [RPMHPD_CX_AO] = &cx_ao, + [RPMHPD_EBI] = &ebi, + [RPMHPD_GFX] = &gfx, + [RPMHPD_LCX] = &lcx, + [RPMHPD_LMX] = &lmx, + [RPMHPD_MMCX] = &mmcx, + [RPMHPD_MMCX_AO] = &mmcx_ao, + [RPMHPD_MX] = &mx, + [RPMHPD_MX_AO] = &mx_ao, + [RPMHPD_NSP] = &nsp, + [RPMHPD_MXC] = &mxc, + [RPMHPD_GMXC] = &gmxc, +}; + +static const struct rpmhpd_desc sc8380xp_desc = { + .rpmhpds = sc8380xp_rpmhpds, + .num_pds = ARRAY_SIZE(sc8380xp_rpmhpds), +}; + static const struct of_device_id rpmhpd_match_table[] = { { .compatible = "qcom,qdu1000-rpmhpd", .data = &qdu1000_desc }, { .compatible = "qcom,sa8155p-rpmhpd", .data = &sa8155p_desc }, @@ -573,6 +600,7 @@ static const struct of_device_id rpmhpd_match_table[] = { { .compatible = "qcom,sc7280-rpmhpd", .data = &sc7280_desc }, { .compatible = "qcom,sc8180x-rpmhpd", .data = &sc8180x_desc }, { .compatible = "qcom,sc8280xp-rpmhpd", .data = &sc8280xp_desc }, + { .compatible = "qcom,sc8380xp-rpmhpd", .data = &sc8380xp_desc }, { .compatible = "qcom,sdm670-rpmhpd", .data = &sdm670_desc }, { .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc }, { .compatible = "qcom,sdx55-rpmhpd", .data = &sdx55_desc},