Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / interconnect / qcom / icc-rpm-clocks.c
blobac1677de7dfd8c82383d14d83ddbc1ef14888973
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2023 Linaro Ltd
4 */
6 #include <linux/soc/qcom/smd-rpm.h>
8 #include "icc-rpm.h"
10 const struct rpm_clk_resource aggre1_clk = {
11 .resource_type = QCOM_SMD_RPM_AGGR_CLK,
12 .clock_id = 1,
14 EXPORT_SYMBOL_GPL(aggre1_clk);
16 const struct rpm_clk_resource aggre2_clk = {
17 .resource_type = QCOM_SMD_RPM_AGGR_CLK,
18 .clock_id = 2,
20 EXPORT_SYMBOL_GPL(aggre2_clk);
22 const struct rpm_clk_resource bimc_clk = {
23 .resource_type = QCOM_SMD_RPM_MEM_CLK,
24 .clock_id = 0,
26 EXPORT_SYMBOL_GPL(bimc_clk);
28 const struct rpm_clk_resource mem_1_clk = {
29 .resource_type = QCOM_SMD_RPM_MEM_CLK,
30 .clock_id = 1,
32 EXPORT_SYMBOL_GPL(mem_1_clk);
34 const struct rpm_clk_resource bus_0_clk = {
35 .resource_type = QCOM_SMD_RPM_BUS_CLK,
36 .clock_id = 0,
38 EXPORT_SYMBOL_GPL(bus_0_clk);
40 const struct rpm_clk_resource bus_1_clk = {
41 .resource_type = QCOM_SMD_RPM_BUS_CLK,
42 .clock_id = 1,
44 EXPORT_SYMBOL_GPL(bus_1_clk);
46 const struct rpm_clk_resource bus_2_clk = {
47 .resource_type = QCOM_SMD_RPM_BUS_CLK,
48 .clock_id = 2,
50 EXPORT_SYMBOL_GPL(bus_2_clk);
52 const struct rpm_clk_resource mmaxi_0_clk = {
53 .resource_type = QCOM_SMD_RPM_MMAXI_CLK,
54 .clock_id = 0,
56 EXPORT_SYMBOL_GPL(mmaxi_0_clk);
58 const struct rpm_clk_resource mmaxi_1_clk = {
59 .resource_type = QCOM_SMD_RPM_MMAXI_CLK,
60 .clock_id = 1,
62 EXPORT_SYMBOL_GPL(mmaxi_1_clk);
64 const struct rpm_clk_resource qup_clk = {
65 .resource_type = QCOM_SMD_RPM_QUP_CLK,
66 .clock_id = 0,
68 EXPORT_SYMBOL_GPL(qup_clk);
70 /* Branch clocks */
71 const struct rpm_clk_resource aggre1_branch_clk = {
72 .resource_type = QCOM_SMD_RPM_AGGR_CLK,
73 .clock_id = 1,
74 .branch = true,
76 EXPORT_SYMBOL_GPL(aggre1_branch_clk);
78 const struct rpm_clk_resource aggre2_branch_clk = {
79 .resource_type = QCOM_SMD_RPM_AGGR_CLK,
80 .clock_id = 2,
81 .branch = true,
83 EXPORT_SYMBOL_GPL(aggre2_branch_clk);