1# SPDX-License-Identifier: GPL-2.0-only
2
3config CLK_BCM2711_DVP
4	tristate "Broadcom BCM2711 DVP support"
5	depends on ARCH_BCM2835 ||COMPILE_TEST
6	depends on COMMON_CLK
7	default ARCH_BCM2835
8	select RESET_CONTROLLER
9	select RESET_SIMPLE
10	help
11	  Enable common clock framework support for the Broadcom BCM2711
12	  DVP Controller.
13
14config CLK_BCM2835
15	bool "Broadcom BCM2835 clock support"
16	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
17	depends on COMMON_CLK
18	default ARCH_BCM2835 || ARCH_BRCMSTB
19	help
20	  Enable common clock framework support for Broadcom BCM2835
21	  SoCs.
22
23config CLK_BCM_63XX
24	bool "Broadcom BCM63xx clock support"
25	depends on ARCH_BCMBCA || COMPILE_TEST
26	select COMMON_CLK_IPROC
27	default ARCH_BCMBCA
28	help
29	  Enable common clock framework support for Broadcom BCM63xx DSL SoCs
30	  based on the ARM architecture
31
32config CLK_BCM_63XX_GATE
33	bool "Broadcom BCM63xx gated clock support"
34	depends on BMIPS_GENERIC || COMPILE_TEST
35	default BMIPS_GENERIC
36	help
37	  Enable common clock framework support for Broadcom BCM63xx DSL SoCs
38	  based on the MIPS architecture
39
40config CLK_BCM63268_TIMER
41	bool "Broadcom BCM63268 timer clock and reset support"
42	depends on BMIPS_GENERIC || COMPILE_TEST
43	default BMIPS_GENERIC
44	select RESET_CONTROLLER
45	help
46	  Enable timer clock and reset support for Broadcom BCM63268 DSL SoCs
47	  based on the MIPS architecture.
48
49config CLK_BCM_KONA
50	bool "Broadcom Kona CCU clock support"
51	depends on ARCH_BCM_MOBILE || COMPILE_TEST
52	default ARCH_BCM_MOBILE
53	help
54	  Enable common clock framework support for Broadcom SoCs
55	  using "Kona" style clock control units, including those
56	  in the BCM281xx and BCM21664 families.
57
58config COMMON_CLK_IPROC
59	bool
60	help
61	  Enable common clock framework support for Broadcom SoCs
62	  based on the iProc architecture
63
64config CLK_BCM_CYGNUS
65	bool "Broadcom Cygnus clock support"
66	depends on ARCH_BCM_CYGNUS || COMPILE_TEST
67	select COMMON_CLK_IPROC
68	default ARCH_BCM_CYGNUS
69	help
70	  Enable common clock framework support for the Broadcom Cygnus SoC
71
72config CLK_BCM_HR2
73	bool "Broadcom Hurricane 2 clock support"
74	depends on ARCH_BCM_HR2 || COMPILE_TEST
75	select COMMON_CLK_IPROC
76	default ARCH_BCM_HR2
77	help
78	  Enable common clock framework support for the Broadcom Hurricane 2
79	  SoC
80
81config CLK_BCM_NSP
82	bool "Broadcom Northstar/Northstar Plus clock support"
83	depends on ARCH_BCM_5301X || ARCH_BCM_NSP || COMPILE_TEST
84	select COMMON_CLK_IPROC
85	default ARCH_BCM_5301X || ARCH_BCM_NSP
86	help
87	  Enable common clock framework support for the Broadcom Northstar and
88	  Northstar Plus SoCs
89
90config CLK_BCM_NS2
91	bool "Broadcom Northstar 2 clock support"
92	depends on ARCH_BCM_IPROC || COMPILE_TEST
93	select COMMON_CLK_IPROC
94	default ARCH_BCM_IPROC
95	help
96	  Enable common clock framework support for the Broadcom Northstar 2 SoC
97
98config CLK_BCM_SR
99	bool "Broadcom Stingray clock support"
100	depends on ARCH_BCM_IPROC || COMPILE_TEST
101	select COMMON_CLK_IPROC
102	default ARCH_BCM_IPROC
103	help
104	  Enable common clock framework support for the Broadcom Stingray SoC
105
106config CLK_RASPBERRYPI
107	tristate "Raspberry Pi firmware based clock support"
108	depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
109	help
110	  Enable common clock framework support for Raspberry Pi's firmware
111	  dependent clocks
112