]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: qcom: pd-mapper: Add support for Hawi SoC
authorMukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Wed, 6 May 2026 11:02:26 +0000 (16:32 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 13 May 2026 16:52:28 +0000 (11:52 -0500)
Hawi uses the same protection domain layout as Kaanapali, so reuse the
kaanapali_domains table. Also add the missing adsp_ois_pd entry (OIS
protection domain, instance_id 74) to kaanapali_domains, which is
required by both Kaanapali and Hawi.

Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260506110226.2256249-1-mukesh.ojha@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/qcom_pd_mapper.c

index 7bb14c20ab5d635caa8fb5c9343c96e5b0b633c0..b99718e25f2fccdfad4207cc0062c39e0a932d17 100644 (file)
@@ -266,6 +266,12 @@ static const struct qcom_pdm_domain_data adsp_charger_pd = {
        .services = { NULL },
 };
 
+static const struct qcom_pdm_domain_data adsp_ois_pd = {
+       .domain = "msm/adsp/ois_pd",
+       .instance_id = 74,
+       .services = { NULL, },
+};
+
 static const struct qcom_pdm_domain_data adsp_root_pd = {
        .domain = "msm/adsp/root_pd",
        .instance_id = 74,
@@ -370,6 +376,7 @@ static const struct qcom_pdm_domain_data *glymur_domains[] = {
 
 static const struct qcom_pdm_domain_data *kaanapali_domains[] = {
        &adsp_audio_pd,
+       &adsp_ois_pd,
        &adsp_root_pd,
        &adsp_sensor_pd,
        &cdsp_root_pd,
@@ -581,6 +588,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
        { .compatible = "qcom,eliza", .data = sm8550_domains, },
        { .compatible = "qcom,apq8096", .data = msm8996_domains, },
        { .compatible = "qcom,glymur", .data = glymur_domains, },
+       { .compatible = "qcom,hawi", .data = kaanapali_domains, },
        { .compatible = "qcom,kaanapali", .data = kaanapali_domains, },
        { .compatible = "qcom,mahua", .data = glymur_domains, },
        { .compatible = "qcom,milos", .data = sm8550_domains, },