]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/clk/qcom/Kconfig
clk: qcom: Add support for SMD-RPM Clocks
[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_SMD_RPM
16         tristate "RPM over SMD based Clock Controller"
17         depends on COMMON_CLK_QCOM && QCOM_SMD_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 apq8016, apq8084, msm8974 etc.
27
28 config APQ_GCC_8084
29         tristate "APQ8084 Global Clock Controller"
30         select QCOM_GDSC
31         depends on COMMON_CLK_QCOM
32         help
33           Support for the global clock controller on apq8084 devices.
34           Say Y if you want to use peripheral devices such as UART, SPI,
35           i2c, USB, SD/eMMC, SATA, PCIe, etc.
36
37 config APQ_MMCC_8084
38         tristate "APQ8084 Multimedia Clock Controller"
39         select APQ_GCC_8084
40         select QCOM_GDSC
41         depends on COMMON_CLK_QCOM
42         help
43           Support for the multimedia clock controller on apq8084 devices.
44           Say Y if you want to support multimedia devices such as display,
45           graphics, video encode/decode, camera, etc.
46
47 config IPQ_GCC_806X
48         tristate "IPQ806x Global Clock Controller"
49         depends on COMMON_CLK_QCOM
50         help
51           Support for the global clock controller on ipq806x devices.
52           Say Y if you want to use peripheral devices such as UART, SPI,
53           i2c, USB, SD/eMMC, etc.
54
55 config IPQ_LCC_806X
56         tristate "IPQ806x LPASS Clock Controller"
57         select IPQ_GCC_806X
58         depends on COMMON_CLK_QCOM
59         help
60           Support for the LPASS clock controller on ipq806x devices.
61           Say Y if you want to use audio devices such as i2s, pcm,
62           S/PDIF, etc.
63
64 config MSM_GCC_8660
65         tristate "MSM8660 Global Clock Controller"
66         depends on COMMON_CLK_QCOM
67         help
68           Support for the global clock controller on msm8660 devices.
69           Say Y if you want to use peripheral devices such as UART, SPI,
70           i2c, USB, SD/eMMC, etc.
71
72 config MSM_GCC_8916
73         tristate "MSM8916 Global Clock Controller"
74         select QCOM_GDSC
75         depends on COMMON_CLK_QCOM
76         help
77           Support for the global clock controller on msm8916 devices.
78           Say Y if you want to use devices such as UART, SPI i2c, USB,
79           SD/eMMC, display, graphics, camera etc.
80
81 config MSM_GCC_8960
82         tristate "APQ8064/MSM8960 Global Clock Controller"
83         depends on COMMON_CLK_QCOM
84         help
85           Support for the global clock controller on apq8064/msm8960 devices.
86           Say Y if you want to use peripheral devices such as UART, SPI,
87           i2c, USB, SD/eMMC, SATA, PCIe, etc.
88
89 config MSM_LCC_8960
90         tristate "APQ8064/MSM8960 LPASS Clock Controller"
91         select MSM_GCC_8960
92         depends on COMMON_CLK_QCOM
93         help
94           Support for the LPASS clock controller on apq8064/msm8960 devices.
95           Say Y if you want to use audio devices such as i2s, pcm,
96           SLIMBus, etc.
97
98 config MSM_MMCC_8960
99         tristate "MSM8960 Multimedia Clock Controller"
100         select MSM_GCC_8960
101         depends on COMMON_CLK_QCOM
102         help
103           Support for the multimedia clock controller on msm8960 devices.
104           Say Y if you want to support multimedia devices such as display,
105           graphics, video encode/decode, camera, etc.
106
107 config MSM_GCC_8974
108         tristate "MSM8974 Global Clock Controller"
109         select QCOM_GDSC
110         depends on COMMON_CLK_QCOM
111         help
112           Support for the global clock controller on msm8974 devices.
113           Say Y if you want to use peripheral devices such as UART, SPI,
114           i2c, USB, SD/eMMC, SATA, PCIe, etc.
115
116 config MSM_MMCC_8974
117         tristate "MSM8974 Multimedia Clock Controller"
118         select MSM_GCC_8974
119         select QCOM_GDSC
120         depends on COMMON_CLK_QCOM
121         help
122           Support for the multimedia clock controller on msm8974 devices.
123           Say Y if you want to support multimedia devices such as display,
124           graphics, video encode/decode, camera, etc.
125
126 config QCOM_HFPLL
127         tristate "High-Frequency PLL (HFPLL) Clock Controller"
128         depends on COMMON_CLK_QCOM
129         help
130           Support for the high-frequency PLLs present on Qualcomm devices.
131           Say Y if you want to support CPU frequency scaling on devices
132           such as MSM8974, APQ8084, etc.
133
134 config KPSS_XCC
135         tristate "KPSS Clock Controller"
136         depends on COMMON_CLK_QCOM
137         help
138           Support for the Krait ACC and GCC clock controllers. Say Y
139           if you want to support CPU frequency scaling on devices such
140           as MSM8960, APQ8064, etc.
141
142 config KRAITCC
143         tristate "Krait Clock Controller"
144         depends on COMMON_CLK_QCOM && ARM
145         select KRAIT_CLOCKS
146         help
147           Support for the Krait CPU clocks on Qualcomm devices.
148           Say Y if you want to support CPU frequency scaling.
149
150 config KRAIT_CLOCKS
151         bool
152         select KRAIT_L2_ACCESSORS
153
154 config QCOM_A53
155         tristate "A53 Clock Controller"
156         depends on COMMON_CLK_QCOM
157         help
158           Support for the A53 clock controller on Qualcomm devices.
159           Say Y if you want to support CPU frequency scaling on devices
160           such as MSM8916.