]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/clk/qcom/Kconfig
12fea623c189da6b8c9881c2c889bf39439960e1
[karo-tx-linux.git] / drivers / clk / qcom / Kconfig
1 config QCOM_GDSC
2         bool
3         select PM_GENERIC_DOMAINS if PM
4
5 config QCOM_RPMCC
6         bool
7
8 config COMMON_CLK_QCOM
9         tristate "Support for Qualcomm's clock controllers"
10         depends on OF
11         depends on ARCH_QCOM || COMPILE_TEST
12         select REGMAP_MMIO
13         select RESET_CONTROLLER
14
15 config QCOM_CLK_RPM
16         tristate "RPM based Clock Controller"
17         depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
18         select QCOM_RPMCC
19         help
20           The RPM (Resource Power Manager) is a dedicated hardware engine for
21           managing the shared SoC resources in order to keep the lowest power
22           profile. It communicates with other hardware subsystems via shared
23           memory and accepts clock requests, aggregates the requests and turns
24           the clocks on/off or scales them on demand.
25           Say Y if you want to support the clocks exposed by the RPM on
26           platforms such as apq8064, msm8660, msm8960 etc.
27
28 config QCOM_CLK_SMD_RPM
29         tristate "RPM over SMD based Clock Controller"
30         depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
31         select QCOM_RPMCC
32         help
33           The RPM (Resource Power Manager) is a dedicated hardware engine for
34           managing the shared SoC resources in order to keep the lowest power
35           profile. It communicates with other hardware subsystems via shared
36           memory and accepts clock requests, aggregates the requests and turns
37           the clocks on/off or scales them on demand.
38           Say Y if you want to support the clocks exposed by the RPM on
39           platforms such as apq8016, apq8084, msm8974 etc.
40
41 config APQ_GCC_8084
42         tristate "APQ8084 Global Clock Controller"
43         select QCOM_GDSC
44         depends on COMMON_CLK_QCOM
45         help
46           Support for the global clock controller on apq8084 devices.
47           Say Y if you want to use peripheral devices such as UART, SPI,
48           i2c, USB, SD/eMMC, SATA, PCIe, etc.
49
50 config APQ_MMCC_8084
51         tristate "APQ8084 Multimedia Clock Controller"
52         select APQ_GCC_8084
53         select QCOM_GDSC
54         depends on COMMON_CLK_QCOM
55         help
56           Support for the multimedia clock controller on apq8084 devices.
57           Say Y if you want to support multimedia devices such as display,
58           graphics, video encode/decode, camera, etc.
59
60 config IPQ_GCC_806X
61         tristate "IPQ806x Global Clock Controller"
62         depends on COMMON_CLK_QCOM
63         help
64           Support for the global clock controller on ipq806x devices.
65           Say Y if you want to use peripheral devices such as UART, SPI,
66           i2c, USB, SD/eMMC, etc.
67
68 config IPQ_LCC_806X
69         tristate "IPQ806x LPASS Clock Controller"
70         select IPQ_GCC_806X
71         depends on COMMON_CLK_QCOM
72         help
73           Support for the LPASS clock controller on ipq806x devices.
74           Say Y if you want to use audio devices such as i2s, pcm,
75           S/PDIF, etc.
76
77 config MSM_GCC_8660
78         tristate "MSM8660 Global Clock Controller"
79         depends on COMMON_CLK_QCOM
80         help
81           Support for the global clock controller on msm8660 devices.
82           Say Y if you want to use peripheral devices such as UART, SPI,
83           i2c, USB, SD/eMMC, etc.
84
85 config MSM_GCC_8916
86         tristate "MSM8916 Global Clock Controller"
87         select QCOM_GDSC
88         depends on COMMON_CLK_QCOM
89         help
90           Support for the global clock controller on msm8916 devices.
91           Say Y if you want to use devices such as UART, SPI i2c, USB,
92           SD/eMMC, display, graphics, camera etc.
93
94 config MSM_GCC_8960
95         tristate "APQ8064/MSM8960 Global Clock Controller"
96         depends on COMMON_CLK_QCOM
97         help
98           Support for the global clock controller on apq8064/msm8960 devices.
99           Say Y if you want to use peripheral devices such as UART, SPI,
100           i2c, USB, SD/eMMC, SATA, PCIe, etc.
101
102 config MSM_LCC_8960
103         tristate "APQ8064/MSM8960 LPASS Clock Controller"
104         select MSM_GCC_8960
105         depends on COMMON_CLK_QCOM
106         help
107           Support for the LPASS clock controller on apq8064/msm8960 devices.
108           Say Y if you want to use audio devices such as i2s, pcm,
109           SLIMBus, etc.
110
111 config MSM_MMCC_8960
112         tristate "MSM8960 Multimedia Clock Controller"
113         select MSM_GCC_8960
114         depends on COMMON_CLK_QCOM
115         help
116           Support for the multimedia clock controller on msm8960 devices.
117           Say Y if you want to support multimedia devices such as display,
118           graphics, video encode/decode, camera, etc.
119
120 config MSM_GCC_8974
121         tristate "MSM8974 Global Clock Controller"
122         select QCOM_GDSC
123         depends on COMMON_CLK_QCOM
124         help
125           Support for the global clock controller on msm8974 devices.
126           Say Y if you want to use peripheral devices such as UART, SPI,
127           i2c, USB, SD/eMMC, SATA, PCIe, etc.
128
129 config MSM_MMCC_8974
130         tristate "MSM8974 Multimedia Clock Controller"
131         select MSM_GCC_8974
132         select QCOM_GDSC
133         depends on COMMON_CLK_QCOM
134         help
135           Support for the multimedia clock controller on msm8974 devices.
136           Say Y if you want to support multimedia devices such as display,
137           graphics, video encode/decode, camera, etc.
138
139 config QCOM_HFPLL
140         tristate "High-Frequency PLL (HFPLL) Clock Controller"
141         depends on COMMON_CLK_QCOM
142         help
143           Support for the high-frequency PLLs present on Qualcomm devices.
144           Say Y if you want to support CPU frequency scaling on devices
145           such as MSM8974, APQ8084, etc.
146
147 config KPSS_XCC
148         tristate "KPSS Clock Controller"
149         depends on COMMON_CLK_QCOM
150         help
151           Support for the Krait ACC and GCC clock controllers. Say Y
152           if you want to support CPU frequency scaling on devices such
153           as MSM8960, APQ8064, etc.
154
155 config KRAITCC
156         tristate "Krait Clock Controller"
157         depends on COMMON_CLK_QCOM && ARM
158         select KRAIT_CLOCKS
159         help
160           Support for the Krait CPU clocks on Qualcomm devices.
161           Say Y if you want to support CPU frequency scaling.
162
163 config KRAIT_CLOCKS
164         bool
165         select KRAIT_L2_ACCESSORS
166
167 config QCOM_A53
168         tristate "A53 Clock Controller"
169         depends on COMMON_CLK_QCOM
170         help
171           Support for the A53 clock controller on Qualcomm devices.
172           Say Y if you want to support CPU frequency scaling on devices
173           such as MSM8916.