Lines Matching +full:adsp +full:- +full:pil +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
16 #include <dt-bindings/clock/qcom,lpass-sc7280.h>
17 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
19 #include "clk-alpha-pll.h"
20 #include "clk-branch.h"
21 #include "clk-rcg.h"
22 #include "clk-regmap.h"
23 #include "clk-regmap-divider.h"
24 #include "clk-regmap-mux.h"
723 { .compatible = "qcom,sc7280-lpassaudiocc" },
732 pm_runtime_use_autosuspend(&pdev->dev); in lpass_audio_setup_runtime_pm()
733 pm_runtime_set_autosuspend_delay(&pdev->dev, 50); in lpass_audio_setup_runtime_pm()
734 ret = devm_pm_runtime_enable(&pdev->dev); in lpass_audio_setup_runtime_pm()
738 ret = devm_pm_clk_create(&pdev->dev); in lpass_audio_setup_runtime_pm()
742 ret = pm_clk_add(&pdev->dev, "iface"); in lpass_audio_setup_runtime_pm()
744 dev_err(&pdev->dev, "failed to acquire iface clock\n"); in lpass_audio_setup_runtime_pm()
746 return pm_runtime_resume_and_get(&pdev->dev); in lpass_audio_setup_runtime_pm()
775 ret = qcom_cc_really_probe(&pdev->dev, &lpass_audio_cc_sc7280_desc, regmap); in lpass_audio_cc_sc7280_probe()
777 dev_err(&pdev->dev, "Failed to register LPASS AUDIO CC clocks\n"); in lpass_audio_cc_sc7280_probe()
783 dev_err(&pdev->dev, "Failed to register LPASS AUDIO CC Resets\n"); in lpass_audio_cc_sc7280_probe()
787 pm_runtime_mark_last_busy(&pdev->dev); in lpass_audio_cc_sc7280_probe()
789 pm_runtime_put_autosuspend(&pdev->dev); in lpass_audio_cc_sc7280_probe()
801 .name = "lpass_audio_cc-sc7280",
816 { .compatible = "qcom,sc7280-lpassaoncc" },
831 if (of_property_read_bool(pdev->dev.of_node, "qcom,adsp-pil-mode")) { in lpass_aon_cc_sc7280_probe()
850 ret = qcom_cc_really_probe(&pdev->dev, &lpass_aon_cc_sc7280_desc, regmap); in lpass_aon_cc_sc7280_probe()
852 dev_err(&pdev->dev, "Failed to register LPASS AON CC clocks\n"); in lpass_aon_cc_sc7280_probe()
856 pm_runtime_mark_last_busy(&pdev->dev); in lpass_aon_cc_sc7280_probe()
858 pm_runtime_put_autosuspend(&pdev->dev); in lpass_aon_cc_sc7280_probe()
866 .name = "lpass_aon_cc-sc7280",