Lines Matching +full:sm6350 +full:- +full:adsp +full:- +full:pas
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Qualcomm ADSP/SLPI Peripheral Image Loader for MSM8974 and MSM8996
7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
125 struct qcom_adsp *adsp = rproc->priv; in adsp_segment_dump() local
128 total_offset = segment->da + segment->offset + offset - adsp->mem_phys; in adsp_segment_dump()
129 if (total_offset < 0 || total_offset + size > adsp->mem_size) { in adsp_segment_dump()
130 dev_err(adsp->dev, in adsp_segment_dump()
132 &segment->da, offset, size); in adsp_segment_dump()
137 memcpy_fromio(dest, adsp->mem_region + total_offset, size); in adsp_segment_dump()
142 struct qcom_adsp *adsp = rproc->priv; in adsp_minidump() local
144 if (rproc->dump_conf == RPROC_COREDUMP_DISABLED) in adsp_minidump()
147 qcom_minidump(rproc, adsp->minidump_id, adsp_segment_dump); in adsp_minidump()
150 static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_enable() argument
169 for (i--; i >= 0; i--) { in adsp_pds_enable()
177 static void adsp_pds_disable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_disable() argument
188 static int adsp_shutdown_poll_decrypt(struct qcom_adsp *adsp) in adsp_shutdown_poll_decrypt() argument
195 ret = qcom_scm_pas_shutdown(adsp->pas_id); in adsp_shutdown_poll_decrypt()
196 } while (ret == -EINVAL && --retry_num); in adsp_shutdown_poll_decrypt()
203 struct qcom_adsp *adsp = rproc->priv; in adsp_unprepare() local
211 qcom_scm_pas_metadata_release(&adsp->pas_metadata); in adsp_unprepare()
212 if (adsp->dtb_pas_id) in adsp_unprepare()
213 qcom_scm_pas_metadata_release(&adsp->dtb_pas_metadata); in adsp_unprepare()
220 struct qcom_adsp *adsp = rproc->priv; in adsp_load() local
224 adsp->firmware = fw; in adsp_load()
226 if (adsp->lite_pas_id) in adsp_load()
227 ret = qcom_scm_pas_shutdown(adsp->lite_pas_id); in adsp_load()
229 if (adsp->dtb_pas_id) { in adsp_load()
230 ret = request_firmware(&adsp->dtb_firmware, adsp->dtb_firmware_name, adsp->dev); in adsp_load()
232 dev_err(adsp->dev, "request_firmware failed for %s: %d\n", in adsp_load()
233 adsp->dtb_firmware_name, ret); in adsp_load()
237 ret = qcom_mdt_pas_init(adsp->dev, adsp->dtb_firmware, adsp->dtb_firmware_name, in adsp_load()
238 adsp->dtb_pas_id, adsp->dtb_mem_phys, in adsp_load()
239 &adsp->dtb_pas_metadata); in adsp_load()
243 ret = qcom_mdt_load_no_init(adsp->dev, adsp->dtb_firmware, adsp->dtb_firmware_name, in adsp_load()
244 adsp->dtb_pas_id, adsp->dtb_mem_region, in adsp_load()
245 adsp->dtb_mem_phys, adsp->dtb_mem_size, in adsp_load()
246 &adsp->dtb_mem_reloc); in adsp_load()
254 qcom_scm_pas_metadata_release(&adsp->dtb_pas_metadata); in adsp_load()
257 release_firmware(adsp->dtb_firmware); in adsp_load()
264 struct qcom_adsp *adsp = rproc->priv; in adsp_start() local
267 ret = qcom_q6v5_prepare(&adsp->q6v5); in adsp_start()
271 ret = adsp_pds_enable(adsp, adsp->proxy_pds, adsp->proxy_pd_count); in adsp_start()
275 ret = clk_prepare_enable(adsp->xo); in adsp_start()
279 ret = clk_prepare_enable(adsp->aggre2_clk); in adsp_start()
283 if (adsp->cx_supply) { in adsp_start()
284 ret = regulator_enable(adsp->cx_supply); in adsp_start()
289 if (adsp->px_supply) { in adsp_start()
290 ret = regulator_enable(adsp->px_supply); in adsp_start()
295 if (adsp->dtb_pas_id) { in adsp_start()
296 ret = qcom_scm_pas_auth_and_reset(adsp->dtb_pas_id); in adsp_start()
298 dev_err(adsp->dev, in adsp_start()
304 ret = qcom_mdt_pas_init(adsp->dev, adsp->firmware, rproc->firmware, adsp->pas_id, in adsp_start()
305 adsp->mem_phys, &adsp->pas_metadata); in adsp_start()
309 ret = qcom_mdt_load_no_init(adsp->dev, adsp->firmware, rproc->firmware, adsp->pas_id, in adsp_start()
310 adsp->mem_region, adsp->mem_phys, adsp->mem_size, in adsp_start()
311 &adsp->mem_reloc); in adsp_start()
315 qcom_pil_info_store(adsp->info_name, adsp->mem_phys, adsp->mem_size); in adsp_start()
317 ret = qcom_scm_pas_auth_and_reset(adsp->pas_id); in adsp_start()
319 dev_err(adsp->dev, in adsp_start()
324 ret = qcom_q6v5_wait_for_start(&adsp->q6v5, msecs_to_jiffies(5000)); in adsp_start()
325 if (ret == -ETIMEDOUT) { in adsp_start()
326 dev_err(adsp->dev, "start timed out\n"); in adsp_start()
327 qcom_scm_pas_shutdown(adsp->pas_id); in adsp_start()
331 qcom_scm_pas_metadata_release(&adsp->pas_metadata); in adsp_start()
332 if (adsp->dtb_pas_id) in adsp_start()
333 qcom_scm_pas_metadata_release(&adsp->dtb_pas_metadata); in adsp_start()
336 adsp->firmware = NULL; in adsp_start()
341 qcom_scm_pas_metadata_release(&adsp->pas_metadata); in adsp_start()
342 if (adsp->dtb_pas_id) in adsp_start()
343 qcom_scm_pas_metadata_release(&adsp->dtb_pas_metadata); in adsp_start()
345 if (adsp->px_supply) in adsp_start()
346 regulator_disable(adsp->px_supply); in adsp_start()
348 if (adsp->cx_supply) in adsp_start()
349 regulator_disable(adsp->cx_supply); in adsp_start()
351 clk_disable_unprepare(adsp->aggre2_clk); in adsp_start()
353 clk_disable_unprepare(adsp->xo); in adsp_start()
355 adsp_pds_disable(adsp, adsp->proxy_pds, adsp->proxy_pd_count); in adsp_start()
357 qcom_q6v5_unprepare(&adsp->q6v5); in adsp_start()
360 adsp->firmware = NULL; in adsp_start()
367 struct qcom_adsp *adsp = container_of(q6v5, struct qcom_adsp, q6v5); in qcom_pas_handover() local
369 if (adsp->px_supply) in qcom_pas_handover()
370 regulator_disable(adsp->px_supply); in qcom_pas_handover()
371 if (adsp->cx_supply) in qcom_pas_handover()
372 regulator_disable(adsp->cx_supply); in qcom_pas_handover()
373 clk_disable_unprepare(adsp->aggre2_clk); in qcom_pas_handover()
374 clk_disable_unprepare(adsp->xo); in qcom_pas_handover()
375 adsp_pds_disable(adsp, adsp->proxy_pds, adsp->proxy_pd_count); in qcom_pas_handover()
380 struct qcom_adsp *adsp = rproc->priv; in adsp_stop() local
384 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
385 if (ret == -ETIMEDOUT) in adsp_stop()
386 dev_err(adsp->dev, "timed out on wait\n"); in adsp_stop()
388 ret = qcom_scm_pas_shutdown(adsp->pas_id); in adsp_stop()
389 if (ret && adsp->decrypt_shutdown) in adsp_stop()
390 ret = adsp_shutdown_poll_decrypt(adsp); in adsp_stop()
393 dev_err(adsp->dev, "failed to shutdown: %d\n", ret); in adsp_stop()
395 if (adsp->dtb_pas_id) { in adsp_stop()
396 ret = qcom_scm_pas_shutdown(adsp->dtb_pas_id); in adsp_stop()
398 dev_err(adsp->dev, "failed to shutdown dtb: %d\n", ret); in adsp_stop()
401 handover = qcom_q6v5_unprepare(&adsp->q6v5); in adsp_stop()
403 qcom_pas_handover(&adsp->q6v5); in adsp_stop()
405 if (adsp->smem_host_id) in adsp_stop()
406 ret = qcom_smem_bust_hwspin_lock_by_host(adsp->smem_host_id); in adsp_stop()
413 struct qcom_adsp *adsp = rproc->priv; in adsp_da_to_va() local
416 offset = da - adsp->mem_reloc; in adsp_da_to_va()
417 if (offset < 0 || offset + len > adsp->mem_size) in adsp_da_to_va()
423 return adsp->mem_region + offset; in adsp_da_to_va()
428 struct qcom_adsp *adsp = rproc->priv; in adsp_panic() local
430 return qcom_q6v5_panic(&adsp->q6v5); in adsp_panic()
454 static int adsp_init_clock(struct qcom_adsp *adsp) in adsp_init_clock() argument
458 adsp->xo = devm_clk_get(adsp->dev, "xo"); in adsp_init_clock()
459 if (IS_ERR(adsp->xo)) { in adsp_init_clock()
460 ret = PTR_ERR(adsp->xo); in adsp_init_clock()
461 if (ret != -EPROBE_DEFER) in adsp_init_clock()
462 dev_err(adsp->dev, "failed to get xo clock"); in adsp_init_clock()
466 adsp->aggre2_clk = devm_clk_get_optional(adsp->dev, "aggre2"); in adsp_init_clock()
467 if (IS_ERR(adsp->aggre2_clk)) { in adsp_init_clock()
468 ret = PTR_ERR(adsp->aggre2_clk); in adsp_init_clock()
469 if (ret != -EPROBE_DEFER) in adsp_init_clock()
470 dev_err(adsp->dev, in adsp_init_clock()
478 static int adsp_init_regulator(struct qcom_adsp *adsp) in adsp_init_regulator() argument
480 adsp->cx_supply = devm_regulator_get_optional(adsp->dev, "cx"); in adsp_init_regulator()
481 if (IS_ERR(adsp->cx_supply)) { in adsp_init_regulator()
482 if (PTR_ERR(adsp->cx_supply) == -ENODEV) in adsp_init_regulator()
483 adsp->cx_supply = NULL; in adsp_init_regulator()
485 return PTR_ERR(adsp->cx_supply); in adsp_init_regulator()
488 if (adsp->cx_supply) in adsp_init_regulator()
489 regulator_set_load(adsp->cx_supply, 100000); in adsp_init_regulator()
491 adsp->px_supply = devm_regulator_get_optional(adsp->dev, "px"); in adsp_init_regulator()
492 if (IS_ERR(adsp->px_supply)) { in adsp_init_regulator()
493 if (PTR_ERR(adsp->px_supply) == -ENODEV) in adsp_init_regulator()
494 adsp->px_supply = NULL; in adsp_init_regulator()
496 return PTR_ERR(adsp->px_supply); in adsp_init_regulator()
513 if (dev->pm_domain) { in adsp_pds_attach()
525 ret = PTR_ERR(devs[i]) ? : -ENODATA; in adsp_pds_attach()
533 for (i--; i >= 0; i--) in adsp_pds_attach()
539 static void adsp_pds_detach(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_detach() argument
542 struct device *dev = adsp->dev; in adsp_pds_detach()
546 if (dev->pm_domain && pd_count) { in adsp_pds_detach()
555 static int adsp_alloc_memory_region(struct qcom_adsp *adsp) in adsp_alloc_memory_region() argument
560 node = of_parse_phandle(adsp->dev->of_node, "memory-region", 0); in adsp_alloc_memory_region()
562 dev_err(adsp->dev, "no memory-region specified\n"); in adsp_alloc_memory_region()
563 return -EINVAL; in adsp_alloc_memory_region()
569 dev_err(adsp->dev, "unable to resolve memory-region\n"); in adsp_alloc_memory_region()
570 return -EINVAL; in adsp_alloc_memory_region()
573 adsp->mem_phys = adsp->mem_reloc = rmem->base; in adsp_alloc_memory_region()
574 adsp->mem_size = rmem->size; in adsp_alloc_memory_region()
575 adsp->mem_region = devm_ioremap_wc(adsp->dev, adsp->mem_phys, adsp->mem_size); in adsp_alloc_memory_region()
576 if (!adsp->mem_region) { in adsp_alloc_memory_region()
577 dev_err(adsp->dev, "unable to map memory region: %pa+%zx\n", in adsp_alloc_memory_region()
578 &rmem->base, adsp->mem_size); in adsp_alloc_memory_region()
579 return -EBUSY; in adsp_alloc_memory_region()
582 if (!adsp->dtb_pas_id) in adsp_alloc_memory_region()
585 node = of_parse_phandle(adsp->dev->of_node, "memory-region", 1); in adsp_alloc_memory_region()
587 dev_err(adsp->dev, "no dtb memory-region specified\n"); in adsp_alloc_memory_region()
588 return -EINVAL; in adsp_alloc_memory_region()
594 dev_err(adsp->dev, "unable to resolve dtb memory-region\n"); in adsp_alloc_memory_region()
595 return -EINVAL; in adsp_alloc_memory_region()
598 adsp->dtb_mem_phys = adsp->dtb_mem_reloc = rmem->base; in adsp_alloc_memory_region()
599 adsp->dtb_mem_size = rmem->size; in adsp_alloc_memory_region()
600 adsp->dtb_mem_region = devm_ioremap_wc(adsp->dev, adsp->dtb_mem_phys, adsp->dtb_mem_size); in adsp_alloc_memory_region()
601 if (!adsp->dtb_mem_region) { in adsp_alloc_memory_region()
602 dev_err(adsp->dev, "unable to map dtb memory region: %pa+%zx\n", in adsp_alloc_memory_region()
603 &rmem->base, adsp->dtb_mem_size); in adsp_alloc_memory_region()
604 return -EBUSY; in adsp_alloc_memory_region()
610 static int adsp_assign_memory_region(struct qcom_adsp *adsp) in adsp_assign_memory_region() argument
618 if (!adsp->region_assign_idx) in adsp_assign_memory_region()
621 for (offset = 0; offset < adsp->region_assign_count; ++offset) { in adsp_assign_memory_region()
624 node = of_parse_phandle(adsp->dev->of_node, "memory-region", in adsp_assign_memory_region()
625 adsp->region_assign_idx + offset); in adsp_assign_memory_region()
630 dev_err(adsp->dev, "unable to resolve shareable memory-region index %d\n", in adsp_assign_memory_region()
632 return -EINVAL; in adsp_assign_memory_region()
635 if (adsp->region_assign_shared) { in adsp_assign_memory_region()
638 perm[1].vmid = adsp->region_assign_vmid; in adsp_assign_memory_region()
642 perm[0].vmid = adsp->region_assign_vmid; in adsp_assign_memory_region()
647 adsp->region_assign_phys[offset] = rmem->base; in adsp_assign_memory_region()
648 adsp->region_assign_size[offset] = rmem->size; in adsp_assign_memory_region()
649 adsp->region_assign_owners[offset] = BIT(QCOM_SCM_VMID_HLOS); in adsp_assign_memory_region()
651 ret = qcom_scm_assign_mem(adsp->region_assign_phys[offset], in adsp_assign_memory_region()
652 adsp->region_assign_size[offset], in adsp_assign_memory_region()
653 &adsp->region_assign_owners[offset], in adsp_assign_memory_region()
656 dev_err(adsp->dev, "assign memory %d failed\n", offset); in adsp_assign_memory_region()
664 static void adsp_unassign_memory_region(struct qcom_adsp *adsp) in adsp_unassign_memory_region() argument
670 if (!adsp->region_assign_idx || adsp->region_assign_shared) in adsp_unassign_memory_region()
673 for (offset = 0; offset < adsp->region_assign_count; ++offset) { in adsp_unassign_memory_region()
677 ret = qcom_scm_assign_mem(adsp->region_assign_phys[offset], in adsp_unassign_memory_region()
678 adsp->region_assign_size[offset], in adsp_unassign_memory_region()
679 &adsp->region_assign_owners[offset], in adsp_unassign_memory_region()
682 dev_err(adsp->dev, "unassign memory %d failed\n", offset); in adsp_unassign_memory_region()
689 struct qcom_adsp *adsp; in adsp_probe() local
695 desc = of_device_get_match_data(&pdev->dev); in adsp_probe()
697 return -EINVAL; in adsp_probe()
700 return -EPROBE_DEFER; in adsp_probe()
702 fw_name = desc->firmware_name; in adsp_probe()
703 ret = of_property_read_string(pdev->dev.of_node, "firmware-name", in adsp_probe()
705 if (ret < 0 && ret != -EINVAL) in adsp_probe()
708 if (desc->dtb_firmware_name) { in adsp_probe()
709 dtb_fw_name = desc->dtb_firmware_name; in adsp_probe()
710 ret = of_property_read_string_index(pdev->dev.of_node, "firmware-name", 1, in adsp_probe()
712 if (ret < 0 && ret != -EINVAL) in adsp_probe()
716 if (desc->minidump_id) in adsp_probe()
719 rproc = devm_rproc_alloc(&pdev->dev, pdev->name, ops, fw_name, sizeof(*adsp)); in adsp_probe()
722 dev_err(&pdev->dev, "unable to allocate remoteproc\n"); in adsp_probe()
723 return -ENOMEM; in adsp_probe()
726 rproc->auto_boot = desc->auto_boot; in adsp_probe()
729 adsp = rproc->priv; in adsp_probe()
730 adsp->dev = &pdev->dev; in adsp_probe()
731 adsp->rproc = rproc; in adsp_probe()
732 adsp->minidump_id = desc->minidump_id; in adsp_probe()
733 adsp->pas_id = desc->pas_id; in adsp_probe()
734 adsp->lite_pas_id = desc->lite_pas_id; in adsp_probe()
735 adsp->info_name = desc->sysmon_name; in adsp_probe()
736 adsp->smem_host_id = desc->smem_host_id; in adsp_probe()
737 adsp->decrypt_shutdown = desc->decrypt_shutdown; in adsp_probe()
738 adsp->region_assign_idx = desc->region_assign_idx; in adsp_probe()
739 adsp->region_assign_count = min_t(int, MAX_ASSIGN_COUNT, desc->region_assign_count); in adsp_probe()
740 adsp->region_assign_vmid = desc->region_assign_vmid; in adsp_probe()
741 adsp->region_assign_shared = desc->region_assign_shared; in adsp_probe()
743 adsp->dtb_firmware_name = dtb_fw_name; in adsp_probe()
744 adsp->dtb_pas_id = desc->dtb_pas_id; in adsp_probe()
746 platform_set_drvdata(pdev, adsp); in adsp_probe()
748 ret = device_init_wakeup(adsp->dev, true); in adsp_probe()
752 ret = adsp_alloc_memory_region(adsp); in adsp_probe()
756 ret = adsp_assign_memory_region(adsp); in adsp_probe()
760 ret = adsp_init_clock(adsp); in adsp_probe()
764 ret = adsp_init_regulator(adsp); in adsp_probe()
768 ret = adsp_pds_attach(&pdev->dev, adsp->proxy_pds, in adsp_probe()
769 desc->proxy_pd_names); in adsp_probe()
772 adsp->proxy_pd_count = ret; in adsp_probe()
774 ret = qcom_q6v5_init(&adsp->q6v5, pdev, rproc, desc->crash_reason_smem, desc->load_state, in adsp_probe()
779 qcom_add_glink_subdev(rproc, &adsp->glink_subdev, desc->ssr_name); in adsp_probe()
780 qcom_add_smd_subdev(rproc, &adsp->smd_subdev); in adsp_probe()
781 qcom_add_pdm_subdev(rproc, &adsp->pdm_subdev); in adsp_probe()
782 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
783 desc->sysmon_name, in adsp_probe()
784 desc->ssctl_id); in adsp_probe()
785 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
786 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
790 qcom_add_ssr_subdev(rproc, &adsp->ssr_subdev, desc->ssr_name); in adsp_probe()
798 adsp_pds_detach(adsp, adsp->proxy_pds, adsp->proxy_pd_count); in adsp_probe()
800 device_init_wakeup(adsp->dev, false); in adsp_probe()
807 struct qcom_adsp *adsp = platform_get_drvdata(pdev); in adsp_remove() local
809 rproc_del(adsp->rproc); in adsp_remove()
811 qcom_q6v5_deinit(&adsp->q6v5); in adsp_remove()
812 adsp_unassign_memory_region(adsp); in adsp_remove()
813 qcom_remove_glink_subdev(adsp->rproc, &adsp->glink_subdev); in adsp_remove()
814 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
815 qcom_remove_smd_subdev(adsp->rproc, &adsp->smd_subdev); in adsp_remove()
816 qcom_remove_pdm_subdev(adsp->rproc, &adsp->pdm_subdev); in adsp_remove()
817 qcom_remove_ssr_subdev(adsp->rproc, &adsp->ssr_subdev); in adsp_remove()
818 adsp_pds_detach(adsp, adsp->proxy_pds, adsp->proxy_pd_count); in adsp_remove()
819 device_init_wakeup(adsp->dev, false); in adsp_remove()
824 .firmware_name = "adsp.mdt",
828 .sysmon_name = "adsp",
834 .firmware_name = "adsp.mbn",
843 .load_state = "adsp",
845 .sysmon_name = "adsp",
851 .firmware_name = "adsp.mdt",
854 .load_state = "adsp",
856 .sysmon_name = "adsp",
862 .firmware_name = "adsp.mdt",
870 .load_state = "adsp",
872 .sysmon_name = "adsp",
893 .firmware_name = "adsp.mdt",
900 .load_state = "adsp",
902 .sysmon_name = "adsp",
908 .firmware_name = "adsp.mdt",
916 .load_state = "adsp",
918 .sysmon_name = "adsp",
924 .firmware_name = "adsp.mdt",
932 .load_state = "adsp",
934 .sysmon_name = "adsp",
940 .firmware_name = "adsp.mdt",
948 .sysmon_name = "adsp",
1085 .firmware_name = "adsp.mdt",
1097 .load_state = "adsp",
1099 .sysmon_name = "adsp",
1280 .firmware_name = "adsp.mdt",
1291 .load_state = "adsp",
1293 .sysmon_name = "adsp",
1409 { .compatible = "qcom,msm8226-adsp-pil", .data = &adsp_resource_init},
1410 { .compatible = "qcom,msm8953-adsp-pil", .data = &msm8996_adsp_resource},
1411 { .compatible = "qcom,msm8974-adsp-pil", .data = &adsp_resource_init},
1412 { .compatible = "qcom,msm8996-adsp-pil", .data = &msm8996_adsp_resource},
1413 { .compatible = "qcom,msm8996-slpi-pil", .data = &msm8996_slpi_resource_init},
1414 { .compatible = "qcom,msm8998-adsp-pas", .data = &msm8996_adsp_resource},
1415 { .compatible = "qcom,msm8998-slpi-pas", .data = &msm8996_slpi_resource_init},
1416 { .compatible = "qcom,qcs404-adsp-pas", .data = &adsp_resource_init },
1417 { .compatible = "qcom,qcs404-cdsp-pas", .data = &cdsp_resource_init },
1418 { .compatible = "qcom,qcs404-wcss-pas", .data = &wcss_resource_init },
1419 { .compatible = "qcom,sa8775p-adsp-pas", .data = &sa8775p_adsp_resource},
1420 { .compatible = "qcom,sa8775p-cdsp0-pas", .data = &sa8775p_cdsp0_resource},
1421 { .compatible = "qcom,sa8775p-cdsp1-pas", .data = &sa8775p_cdsp1_resource},
1422 { .compatible = "qcom,sa8775p-gpdsp0-pas", .data = &sa8775p_gpdsp0_resource},
1423 { .compatible = "qcom,sa8775p-gpdsp1-pas", .data = &sa8775p_gpdsp1_resource},
1424 { .compatible = "qcom,sc7180-adsp-pas", .data = &sm8250_adsp_resource},
1425 { .compatible = "qcom,sc7180-mpss-pas", .data = &mpss_resource_init},
1426 { .compatible = "qcom,sc7280-adsp-pas", .data = &sm8350_adsp_resource},
1427 { .compatible = "qcom,sc7280-cdsp-pas", .data = &sm6350_cdsp_resource},
1428 { .compatible = "qcom,sc7280-mpss-pas", .data = &mpss_resource_init},
1429 { .compatible = "qcom,sc7280-wpss-pas", .data = &sc7280_wpss_resource},
1430 { .compatible = "qcom,sc8180x-adsp-pas", .data = &sm8150_adsp_resource},
1431 { .compatible = "qcom,sc8180x-cdsp-pas", .data = &sm8150_cdsp_resource},
1432 { .compatible = "qcom,sc8180x-mpss-pas", .data = &sc8180x_mpss_resource},
1433 { .compatible = "qcom,sc8280xp-adsp-pas", .data = &sm8250_adsp_resource},
1434 { .compatible = "qcom,sc8280xp-nsp0-pas", .data = &sc8280xp_nsp0_resource},
1435 { .compatible = "qcom,sc8280xp-nsp1-pas", .data = &sc8280xp_nsp1_resource},
1436 { .compatible = "qcom,sdm660-adsp-pas", .data = &adsp_resource_init},
1437 { .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init},
1438 { .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init},
1439 { .compatible = "qcom,sdm845-slpi-pas", .data = &sdm845_slpi_resource_init},
1440 { .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource},
1441 { .compatible = "qcom,sdx75-mpss-pas", .data = &sm8650_mpss_resource},
1442 { .compatible = "qcom,sm6115-adsp-pas", .data = &adsp_resource_init},
1443 { .compatible = "qcom,sm6115-cdsp-pas", .data = &cdsp_resource_init},
1444 { .compatible = "qcom,sm6115-mpss-pas", .data = &sc8180x_mpss_resource},
1445 { .compatible = "qcom,sm6350-adsp-pas", .data = &sm6350_adsp_resource},
1446 { .compatible = "qcom,sm6350-cdsp-pas", .data = &sm6350_cdsp_resource},
1447 { .compatible = "qcom,sm6350-mpss-pas", .data = &mpss_resource_init},
1448 { .compatible = "qcom,sm6375-adsp-pas", .data = &sm6350_adsp_resource},
1449 { .compatible = "qcom,sm6375-cdsp-pas", .data = &sm8150_cdsp_resource},
1450 { .compatible = "qcom,sm6375-mpss-pas", .data = &sm6375_mpss_resource},
1451 { .compatible = "qcom,sm8150-adsp-pas", .data = &sm8150_adsp_resource},
1452 { .compatible = "qcom,sm8150-cdsp-pas", .data = &sm8150_cdsp_resource},
1453 { .compatible = "qcom,sm8150-mpss-pas", .data = &mpss_resource_init},
1454 { .compatible = "qcom,sm8150-slpi-pas", .data = &sdm845_slpi_resource_init},
1455 { .compatible = "qcom,sm8250-adsp-pas", .data = &sm8250_adsp_resource},
1456 { .compatible = "qcom,sm8250-cdsp-pas", .data = &sm8250_cdsp_resource},
1457 { .compatible = "qcom,sm8250-slpi-pas", .data = &sdm845_slpi_resource_init},
1458 { .compatible = "qcom,sm8350-adsp-pas", .data = &sm8350_adsp_resource},
1459 { .compatible = "qcom,sm8350-cdsp-pas", .data = &sm8350_cdsp_resource},
1460 { .compatible = "qcom,sm8350-slpi-pas", .data = &sdm845_slpi_resource_init},
1461 { .compatible = "qcom,sm8350-mpss-pas", .data = &mpss_resource_init},
1462 { .compatible = "qcom,sm8450-adsp-pas", .data = &sm8350_adsp_resource},
1463 { .compatible = "qcom,sm8450-cdsp-pas", .data = &sm8350_cdsp_resource},
1464 { .compatible = "qcom,sm8450-slpi-pas", .data = &sdm845_slpi_resource_init},
1465 { .compatible = "qcom,sm8450-mpss-pas", .data = &sm8450_mpss_resource},
1466 { .compatible = "qcom,sm8550-adsp-pas", .data = &sm8550_adsp_resource},
1467 { .compatible = "qcom,sm8550-cdsp-pas", .data = &sm8550_cdsp_resource},
1468 { .compatible = "qcom,sm8550-mpss-pas", .data = &sm8550_mpss_resource},
1469 { .compatible = "qcom,sm8650-adsp-pas", .data = &sm8550_adsp_resource},
1470 { .compatible = "qcom,sm8650-cdsp-pas", .data = &sm8650_cdsp_resource},
1471 { .compatible = "qcom,sm8650-mpss-pas", .data = &sm8650_mpss_resource},
1472 { .compatible = "qcom,x1e80100-adsp-pas", .data = &x1e80100_adsp_resource},
1473 { .compatible = "qcom,x1e80100-cdsp-pas", .data = &x1e80100_cdsp_resource},