Lines Matching +full:msm8960 +full:- +full:tsens
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
14 #include <linux/clk-provider.h>
16 #include <linux/reset-controller.h>
18 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
19 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
22 #include "clk-regmap.h"
23 #include "clk-pll.h"
24 #include "clk-rcg.h"
25 #include "clk-branch.h"
26 #include "clk-hfpll.h"
3711 { .compatible = "qcom,gcc-msm8960", .data = &gcc_msm8960_desc },
3712 { .compatible = "qcom,gcc-apq8064", .data = &gcc_apq8064_desc },
3719 struct device *dev = &pdev->dev; in gcc_msm8960_probe()
3720 struct platform_device *tsens; in gcc_msm8960_probe() local
3741 if (of_get_available_child_count(pdev->dev.of_node) != 0) in gcc_msm8960_probe()
3742 return devm_of_platform_populate(&pdev->dev); in gcc_msm8960_probe()
3744 tsens = platform_device_register_data(&pdev->dev, "qcom-tsens", -1, in gcc_msm8960_probe()
3746 if (IS_ERR(tsens)) in gcc_msm8960_probe()
3747 return PTR_ERR(tsens); in gcc_msm8960_probe()
3749 platform_set_drvdata(pdev, tsens); in gcc_msm8960_probe()
3756 struct platform_device *tsens = platform_get_drvdata(pdev); in gcc_msm8960_remove() local
3758 if (tsens) in gcc_msm8960_remove()
3759 platform_device_unregister(tsens); in gcc_msm8960_remove()
3766 .name = "gcc-msm8960",
3783 MODULE_DESCRIPTION("QCOM GCC MSM8960 Driver");
3785 MODULE_ALIAS("platform:gcc-msm8960");