1config CLK_SUNXI
2	bool "Clock support for Allwinner SoCs"
3	depends on CLK && ARCH_SUNXI
4	select DM_RESET
5	select SPL_DM_RESET if SPL_CLK
6	default y
7	help
8	  This enables support for common clock driver API on Allwinner
9	  SoCs.
10
11if CLK_SUNXI
12
13config CLK_SUNIV_F1C100S
14	bool "Clock driver for Allwinner F1C100s"
15	default MACH_SUNIV
16	help
17	  This enables common clock driver support for platforms based
18	  on Allwinner F1C100s SoC.
19
20config CLK_SUN4I_A10
21	bool "Clock driver for Allwinner A10/A20"
22	default MACH_SUN4I || MACH_SUN7I
23	help
24	  This enables common clock driver support for platforms based
25	  on Allwinner A10/A20 SoC.
26
27config CLK_SUN5I_A10S
28	bool "Clock driver for Allwinner A10s/A13"
29	default MACH_SUN5I
30	help
31	  This enables common clock driver support for platforms based
32	  on Allwinner A10s/A13 SoC.
33
34config CLK_SUN6I_A31
35	bool "Clock driver for Allwinner A31/A31s"
36	default MACH_SUN6I
37	help
38	  This enables common clock driver support for platforms based
39	  on Allwinner A31/A31s SoC.
40
41config CLK_SUN6I_A31_R
42	bool "Clock driver for Allwinner A31 generation PRCM"
43	default SUNXI_GEN_SUN6I
44	help
45	  This enables common clock driver support for the PRCM
46	  in Allwinner A31/A31s/A23/A33/A83T/H3/A64/H5 SoCs.
47
48config CLK_SUN8I_A23
49	bool "Clock driver for Allwinner A23/A33"
50	default MACH_SUN8I_A23 || MACH_SUN8I_A33
51	help
52	  This enables common clock driver support for platforms based
53	  on Allwinner A23/A33 SoC.
54
55config CLK_SUN8I_A83T
56	bool "Clock driver for Allwinner A83T"
57	default MACH_SUN8I_A83T
58	help
59	  This enables common clock driver support for platforms based
60	  on Allwinner A83T SoC.
61
62config CLK_SUN8I_R40
63	bool "Clock driver for Allwinner R40"
64	default MACH_SUN8I_R40
65	help
66	  This enables common clock driver support for platforms based
67	  on Allwinner R40 SoC.
68
69config CLK_SUN8I_V3S
70	bool "Clock driver for Allwinner V3S"
71	default MACH_SUN8I_V3S
72	help
73	  This enables common clock driver support for platforms based
74	  on Allwinner V3S SoC.
75
76config CLK_SUN9I_A80
77	bool "Clock driver for Allwinner A80"
78	default MACH_SUN9I
79	help
80	  This enables common clock driver support for platforms based
81	  on Allwinner A80 SoC.
82
83config CLK_SUN8I_H3
84	bool "Clock driver for Allwinner H3/H5"
85	default MACH_SUNXI_H3_H5
86	help
87	  This enables common clock driver support for platforms based
88	  on Allwinner H3/H5 SoC.
89
90config CLK_SUN20I_D1
91	bool "Clock driver for Allwinner D1"
92	default MACH_SUN8I_R528
93	help
94	  This enables common clock driver support for platforms based
95	  on Allwinner D1 SoC.
96
97config CLK_SUN50I_H6
98	bool "Clock driver for Allwinner H6"
99	default MACH_SUN50I_H6
100	help
101	  This enables common clock driver support for platforms based
102	  on Allwinner H6 SoC.
103
104config CLK_SUN50I_H6_R
105	bool "Clock driver for Allwinner H6 generation PRCM"
106	default SUN50I_GEN_H6
107	help
108	  This enables common clock driver support for the PRCM
109	  in Allwinner H6/H616 SoCs.
110
111config CLK_SUN50I_H616
112	bool "Clock driver for Allwinner H616"
113	default MACH_SUN50I_H616
114	help
115	  This enables common clock driver support for platforms based
116	  on Allwinner H616 SoC.
117
118config CLK_SUN50I_A64
119	bool "Clock driver for Allwinner A64"
120	default MACH_SUN50I
121	help
122	  This enables common clock driver support for platforms based
123	  on Allwinner A64 SoC.
124
125endif # CLK_SUNXI
126