From nobody Tue Nov 26 04:51:33 2024 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 9043E1E3766; Mon, 21 Oct 2024 23:03:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729551838; cv=none; b=MBip8/x6n1Bb5tBvb53UC4abfi2cyjQR/upoWneVHRG1ZkjTYs3HEUiK3MVqkR00vb3Gc4jYnOA8aQBHQneiTR+02gvNt/0EzT8DDXngR52KRHOoOGNDPNeUXZLmPNTuEAQs/DvbOwInZOs7D6w/b6grc5HCdq0YV5Z4+CDg2+8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729551838; c=relaxed/simple; bh=rzm1mYdO64VmoTtfYP4xFCMogqichlS6ZQ+nnyxsMfE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TOIqmMaJpxLPaYqF+wwMWK8IhVBcv+itKk6lLB8u4PbYlKt/0AFpdxRMV7O942rJwmIPo4I/XFJ8Fie+Lg+TMZ9J/n1uwC+foOjTGHQBtZkpvEC/+lEK/Nqr8Uhc8WxlzpukwzJRa5eyLyOqdS6q0o2rPiLvNf0URaKcfwNQhRw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=H/rjM+kz; arc=none smtp.client-ip=205.220.168.131 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="H/rjM+kz" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49LAoMof019646; Mon, 21 Oct 2024 23:03:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= CJvQihQ/bv8EzM14ioNhOHRmmuGa/+ehrLSDHhcBIn4=; b=H/rjM+kzeoZEfEod D88Ikb7Rv/hqO687hvi13vCaOQ1hyNRn6Q3wOjdMzwhOStIMf7bkKOJNPfZVWffb pag+cUOkpKsMrMkrPZpQQgSuuGSqdobh9RZXYJX8dV+Nl+UNRLaiLK/GRIwtAyL0 pY1rXYXNk/a546b/w7Pn0zFsIaP/Aju4HtvmxUxRX1TRAlQJOYA4sGic6weZQgvS RQHZ9NIe+D3ZX5Sp8zXGe4qc0al8q3jhoV9hYI7SN1otK4inZm5liuS7AvsFi5M5 C077iegVIOFUGuk2aBREVQKpo3hEOZZrbjVWdp+yZ8elVuG8qcTz/AKpEDvvb6lW fpn6Ew== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42c6w1p6tm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 23:03:47 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49LN3lVZ032698 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 23:03:47 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 21 Oct 2024 16:03:46 -0700 From: Melody Olvera To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Sibi Sankar , Tingguo Cheng , Taniya Das , Luca Weiss , =?UTF-8?q?Otto=20Pfl=C3=BCger?= , Dmitry Baryshkov , Konrad Dybcio , Bjorn Andersson , Neil Armstrong , "Abel Vesa" , Jishnu Prakash , Trilok Soni , Satya Durga Srinivasu Prabhala CC: , , , , Melody Olvera Subject: [PATCH 1/3] dt-bindings: power: qcom,rpmpd: document the SM8750 RPMh Power Domains Date: Mon, 21 Oct 2024 16:03:31 -0700 Message-ID: <20241021230333.2632368-2-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241021230333.2632368-1-quic_molvera@quicinc.com> References: <20241021230333.2632368-1-quic_molvera@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: tSVcM2VQNMuYK_zv_AjKXIhOlyN9H3xR X-Proofpoint-ORIG-GUID: tSVcM2VQNMuYK_zv_AjKXIhOlyN9H3xR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410210163 Content-Type: text/plain; charset="utf-8" From: Taniya Das Document the RPMh Power Domains on the SM8750 Platform. Signed-off-by: Taniya Das Signed-off-by: Melody Olvera --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Docu= mentation/devicetree/bindings/power/qcom,rpmpd.yaml index 17ad46e55529..baa1f52c206e 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -60,6 +60,7 @@ properties: - qcom,sm8450-rpmhpd - qcom,sm8550-rpmhpd - qcom,sm8650-rpmhpd + - qcom,sm8750-rpmhpd - qcom,x1e80100-rpmhpd - items: - enum: --=20 2.46.1 From nobody Tue Nov 26 04:51:34 2024 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 D22AD1FB3F4; Mon, 21 Oct 2024 23:03:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729551838; cv=none; b=ePgtpVH1dOThNIeYwfP0zJRI1QLXF/OpWr+P2PKpxc4nXV6NvLxJFcHKaW6OR9uhLUd1mmORqzDJJUUz28TGipa4ZrprqP/ykl1wuMxWv4t1dqIoDEfZ2WAsez9/DQhyVf/5iXt4U7CcldHt9djAtVxlb3xNVDP1uFq+0gcA8/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729551838; c=relaxed/simple; bh=StCfdhZD38qkZeYYiCNP0RsnX7S1azbaOPfsk1vFnxY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uZGRH6vTGUFyw4sxR9ps1t7ZIUS7FG5oI2S4pVizAVjObYnG5Pjho43gLEvzUC7PcJ4tisVmIBjTAx9DpwFp8UdUxJdq4U9+dZDLrqVEqTaf19JYcGA+3qrsRKsMXAbeqIS1DAksH94xfuwmkpVpxoQ4Vy4m4oHQ+R2hjzWoGGs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=bxN8JDq3; arc=none smtp.client-ip=205.220.168.131 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="bxN8JDq3" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49LJ6GZb021903; Mon, 21 Oct 2024 23:03:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= tYPBPFwHQxR4K1T+x6Jqh0d60UXeGE2NuTnNE7slmLU=; b=bxN8JDq32pjWccMV h4lWfH7TGumlefF5vc6JlDJst1oGBytPvIWMnqxdHpD1qZdW9ChHANOsUAA/mrEM suN1oCrnkwZo4UXgb8cFOjKTEBb+bA07BVjGN7PtrAdemZctLvSrScTlahWDpeu/ tNAu1thUKvWc4ueFkqtWSWfWsXtr3vTsrKB3xHXIcc71WnxVeiLdv4zBw9FU97yT oUhw8BSOM0972CTmhl0O6xVx8zNR6PNTG0zhxjzZ6bOckGK0Ba1pJzwNYgXyP35N 8gYe6co16hCPfnwn7M1Pd/OI1grFiFf4urFNYGKJXseI6iJU4Fahc4f1xD4iVsz0 0R1uAQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42c6tux8vk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 23:03:48 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49LN3mKB010675 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 23:03:48 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 21 Oct 2024 16:03:47 -0700 From: Melody Olvera To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Sibi Sankar , Tingguo Cheng , Taniya Das , Luca Weiss , =?UTF-8?q?Otto=20Pfl=C3=BCger?= , Dmitry Baryshkov , Konrad Dybcio , Bjorn Andersson , Neil Armstrong , "Abel Vesa" , Jishnu Prakash , Trilok Soni , Satya Durga Srinivasu Prabhala CC: , , , , Melody Olvera Subject: [PATCH 2/3] dt-bindings: power: Add additional RPMh levels Date: Mon, 21 Oct 2024 16:03:32 -0700 Message-ID: <20241021230333.2632368-3-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241021230333.2632368-1-quic_molvera@quicinc.com> References: <20241021230333.2632368-1-quic_molvera@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 7AyM2G8qD79CB0utHX52bW00wupey0II X-Proofpoint-GUID: 7AyM2G8qD79CB0utHX52bW00wupey0II X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 adultscore=0 spamscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1015 suspectscore=0 mlxlogscore=892 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410210163 Content-Type: text/plain; charset="utf-8" From: Jishnu Prakash Add RPMH_REGULATOR_LEVEL_LOW_SVS_D3 and RPMH_REGULATOR_LEVEL_TURBO_L4, used by SM8750. Signed-off-by: Jishnu Prakash Signed-off-by: Melody Olvera --- include/dt-bindings/power/qcom-rpmpd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/p= ower/qcom-rpmpd.h index 608087fb9a3d..df599bf46220 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -218,6 +218,7 @@ /* SDM845 Power Domain performance levels */ #define RPMH_REGULATOR_LEVEL_RETENTION 16 #define RPMH_REGULATOR_LEVEL_MIN_SVS 48 +#define RPMH_REGULATOR_LEVEL_LOW_SVS_D3 50 #define RPMH_REGULATOR_LEVEL_LOW_SVS_D2 52 #define RPMH_REGULATOR_LEVEL_LOW_SVS_D1 56 #define RPMH_REGULATOR_LEVEL_LOW_SVS_D0 60 @@ -238,6 +239,7 @@ #define RPMH_REGULATOR_LEVEL_TURBO_L1 416 #define RPMH_REGULATOR_LEVEL_TURBO_L2 432 #define RPMH_REGULATOR_LEVEL_TURBO_L3 448 +#define RPMH_REGULATOR_LEVEL_TURBO_L4 452 #define RPMH_REGULATOR_LEVEL_SUPER_TURBO 464 #define RPMH_REGULATOR_LEVEL_SUPER_TURBO_NO_CPR 480 =20 --=20 2.46.1 From nobody Tue Nov 26 04:51:34 2024 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 5293B1FDF9C; Mon, 21 Oct 2024 23:03:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729551838; cv=none; b=fspXlmqtUzh3j6d/gomm2mjAErHdxFThYRd/fXc7Pwf7RKy/qQ0iTRVyRJbhT8aINQRcqF4yckNdl3HkdKZno+J51ghDw7kt9283LaDGffQN55nuQenk9svj31/k9HlJ7GDvKugUAuG4W017I+eP8c2rzX4qc9dou+4Bk+fuM1c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729551838; c=relaxed/simple; bh=oG5aZ/WEx8gecHh85rVAir4hD4QrgdElO62TTUwxAdE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MkPhlWYjVE4fyIkga9xGlV/oOga+FRMhvy/qcz2wvtFXn5kO+LGu10FQhjmFFh0RMWGZD5a7Hs0X53Vw14lu7H8y5X92gvQytYMqYNJZnf0kcz+DVXO7Nefcix0AGc4B/w7XF2EKELIbJuPCYuEq3gYz4Vy6mHShJXh4c748xsw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=CgsMPxuw; arc=none smtp.client-ip=205.220.168.131 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="CgsMPxuw" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49LK1PqI005413; Mon, 21 Oct 2024 23:03:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= B3sDODZtZ6+3FLln1yJP69D8A594E6RmuPfJqpOA3GM=; b=CgsMPxuwxqucsoc8 PDCOwv6Tzml2MVe49ON47tWw2jUiRmaNPQmwLgyQ2OFtVgJsrthVdvzaZUZz5OxY 1czyHfawpky+Y6TTLqrHIOo1vFYeMz9xqE0aOOVloknWDKOZYWyCiX7zW4RF+eb5 DHDv/aqaoajWjJj6TB7fh3bftWOAZZ1xsQF9aiMWgoPDSpqIrcvYPDoAEcADIDKQ lrxw3otdjNYgT5QZOMqXvZcHrFAIjHQyrq3OBPSjPdUctLbJDtqE1K93O45gKtYM 04vitnPEcxWWYPzDMS+7qBTOBLnPB2ppAv7jS5cwfE97qeuxK0ZG5sCOpMfMMueB ahcpew== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42c6tux8vm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 23:03:49 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49LN3mBl009167 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2024 23:03:48 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 21 Oct 2024 16:03:47 -0700 From: Melody Olvera To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Sibi Sankar , Tingguo Cheng , Taniya Das , Luca Weiss , =?UTF-8?q?Otto=20Pfl=C3=BCger?= , Dmitry Baryshkov , Konrad Dybcio , Bjorn Andersson , Neil Armstrong , "Abel Vesa" , Jishnu Prakash , Trilok Soni , Satya Durga Srinivasu Prabhala CC: , , , , Melody Olvera Subject: [PATCH 3/3] pmdomain: qcom: rpmhpd: Add rpmhpd support for SM8750 Date: Mon, 21 Oct 2024 16:03:33 -0700 Message-ID: <20241021230333.2632368-4-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241021230333.2632368-1-quic_molvera@quicinc.com> References: <20241021230333.2632368-1-quic_molvera@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: ex0SPjzLg2hO4rr_lBR8x7lGsYHlqDA- X-Proofpoint-GUID: ex0SPjzLg2hO4rr_lBR8x7lGsYHlqDA- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 adultscore=0 spamscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1015 suspectscore=0 mlxlogscore=999 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410210163 Content-Type: text/plain; charset="utf-8" From: Jishnu Prakash This adds the RPMHPD present in SM8750 SoCs. Signed-off-by: Jishnu Prakash Signed-off-by: Taniya Das Signed-off-by: Melody Olvera --- drivers/pmdomain/qcom/rpmhpd.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index 731feab9f17d..28f4b3d0cbde 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -513,6 +513,31 @@ static const struct rpmhpd_desc sm8650_desc =3D { .num_pds =3D ARRAY_SIZE(sm8650_rpmhpds), }; =20 +/* SM8750 RPMH powerdomains */ +static struct rpmhpd *sm8750_rpmhpds[] =3D { + [RPMHPD_CX] =3D &cx, + [RPMHPD_CX_AO] =3D &cx_ao, + [RPMHPD_EBI] =3D &ebi, + [RPMHPD_GFX] =3D &gfx, + [RPMHPD_GMXC] =3D &gmxc, + [RPMHPD_LCX] =3D &lcx, + [RPMHPD_LMX] =3D &lmx, + [RPMHPD_MX] =3D &mx, + [RPMHPD_MX_AO] =3D &mx_ao, + [RPMHPD_MMCX] =3D &mmcx_w_cx_parent, + [RPMHPD_MMCX_AO] =3D &mmcx_ao_w_cx_parent, + [RPMHPD_MSS] =3D &mss, + [RPMHPD_MXC] =3D &mxc, + [RPMHPD_MXC_AO] =3D &mxc_ao, + [RPMHPD_NSP] =3D &nsp, + [RPMHPD_NSP2] =3D &nsp2, +}; + +static const struct rpmhpd_desc sm8750_desc =3D { + .rpmhpds =3D sm8750_rpmhpds, + .num_pds =3D ARRAY_SIZE(sm8750_rpmhpds), +}; + /* QDU1000/QRU1000 RPMH powerdomains */ static struct rpmhpd *qdu1000_rpmhpds[] =3D { [QDU1000_CX] =3D &cx, @@ -682,6 +707,7 @@ static const struct of_device_id rpmhpd_match_table[] = =3D { { .compatible =3D "qcom,sm8450-rpmhpd", .data =3D &sm8450_desc }, { .compatible =3D "qcom,sm8550-rpmhpd", .data =3D &sm8550_desc }, { .compatible =3D "qcom,sm8650-rpmhpd", .data =3D &sm8650_desc }, + { .compatible =3D "qcom,sm8750-rpmhpd", .data =3D &sm8750_desc }, { .compatible =3D "qcom,x1e80100-rpmhpd", .data =3D &x1e80100_desc }, { } }; --=20 2.46.1