Lines Matching +full:sc7280 +full:- +full:lpassaoncc

1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
15 #include <dt-bindings/clock/qcom,lpass-sc7280.h>
16 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
18 #include "clk-alpha-pll.h"
19 #include "clk-branch.h"
20 #include "clk-rcg.h"
21 #include "clk-regmap.h"
22 #include "clk-regmap-divider.h"
23 #include "clk-regmap-mux.h"
720 { .compatible = "qcom,sc7280-lpassaudiocc" },
739 pm_runtime_use_autosuspend(&pdev->dev); in lpassaudio_create_pm_clks()
740 pm_runtime_set_autosuspend_delay(&pdev->dev, 50); in lpassaudio_create_pm_clks()
741 pm_runtime_enable(&pdev->dev); in lpassaudio_create_pm_clks()
743 ret = devm_add_action_or_reset(&pdev->dev, lpassaudio_pm_runtime_disable, &pdev->dev); in lpassaudio_create_pm_clks()
747 ret = pm_clk_create(&pdev->dev); in lpassaudio_create_pm_clks()
751 ret = devm_add_action_or_reset(&pdev->dev, lpassaudio_pm_clk_destroy, &pdev->dev); in lpassaudio_create_pm_clks()
755 ret = pm_clk_add(&pdev->dev, "iface"); in lpassaudio_create_pm_clks()
757 dev_err(&pdev->dev, "failed to acquire iface clock\n"); in lpassaudio_create_pm_clks()
778 pm_runtime_disable(&pdev->dev); in lpass_audio_cc_sc7280_probe()
790 dev_err(&pdev->dev, "Failed to register LPASS AUDIO CC clocks\n"); in lpass_audio_cc_sc7280_probe()
791 pm_runtime_disable(&pdev->dev); in lpass_audio_cc_sc7280_probe()
797 dev_err(&pdev->dev, "Failed to register LPASS AUDIO CC Resets\n"); in lpass_audio_cc_sc7280_probe()
798 pm_runtime_disable(&pdev->dev); in lpass_audio_cc_sc7280_probe()
802 pm_runtime_mark_last_busy(&pdev->dev); in lpass_audio_cc_sc7280_probe()
803 pm_runtime_put_autosuspend(&pdev->dev); in lpass_audio_cc_sc7280_probe()
804 pm_runtime_put_sync(&pdev->dev); in lpass_audio_cc_sc7280_probe()
816 .name = "lpass_audio_cc-sc7280",
831 { .compatible = "qcom,sc7280-lpassaoncc" },
846 if (of_property_read_bool(pdev->dev.of_node, "qcom,adsp-pil-mode")) { in lpass_aon_cc_sc7280_probe()
864 dev_err(&pdev->dev, "Failed to register LPASS AON CC clocks\n"); in lpass_aon_cc_sc7280_probe()
866 pm_runtime_mark_last_busy(&pdev->dev); in lpass_aon_cc_sc7280_probe()
867 pm_runtime_put_autosuspend(&pdev->dev); in lpass_aon_cc_sc7280_probe()
868 pm_runtime_put_sync(&pdev->dev); in lpass_aon_cc_sc7280_probe()
876 .name = "lpass_aon_cc-sc7280",
901 MODULE_DESCRIPTION("QTI LPASS_AUDIO_CC SC7280 Driver");