blob: f19908113e110349c3d117989de4523147eca907 [file] [log] [blame]
Jagan Teki0d47bc72018-12-22 21:32:49 +05301config CLK_SUNXI
2 bool "Clock support for Allwinner SoCs"
3 depends on CLK && ARCH_SUNXI
Jagan Teki99ba4302019-01-18 22:18:13 +05304 select DM_RESET
Samuel Hollande0c628d2021-09-11 14:45:31 -05005 select SPL_DM_RESET if SPL_CLK
Jagan Teki0d47bc72018-12-22 21:32:49 +05306 default y
7 help
8 This enables support for common clock driver API on Allwinner
9 SoCs.
10
11if CLK_SUNXI
12
Jagan Teki6590bd82018-08-02 16:52:37 +053013config CLK_SUN4I_A10
14 bool "Clock driver for Allwinner A10/A20"
15 default MACH_SUN4I || MACH_SUN7I
16 help
17 This enables common clock driver support for platforms based
18 on Allwinner A10/A20 SoC.
19
Jagan Tekic8e743c2018-08-02 19:54:26 +053020config CLK_SUN5I_A10S
21 bool "Clock driver for Allwinner A10s/A13"
22 default MACH_SUN5I
23 help
24 This enables common clock driver support for platforms based
25 on Allwinner A10s/A13 SoC.
26
Jagan Teki4927e2e2018-08-02 23:15:34 +053027config CLK_SUN6I_A31
28 bool "Clock driver for Allwinner A31/A31s"
29 default MACH_SUN6I
30 help
31 This enables common clock driver support for platforms based
32 on Allwinner A31/A31s SoC.
33
Samuel Holland23c83362021-09-12 09:47:25 -050034config CLK_SUN6I_A31_R
35 bool "Clock driver for Allwinner A31 generation PRCM"
36 default SUNXI_GEN_SUN6I
37 help
38 This enables common clock driver support for the PRCM
39 in Allwinner A31/A31s/A23/A33/A83T/H3/A64/H5 SoCs.
40
Jagan Teki3ab02932018-08-02 23:25:03 +053041config CLK_SUN8I_A23
42 bool "Clock driver for Allwinner A23/A33"
43 default MACH_SUN8I_A23 || MACH_SUN8I_A33
44 help
45 This enables common clock driver support for platforms based
46 on Allwinner A23/A33 SoC.
47
Jagan Teki03d87f52018-08-02 23:33:55 +053048config CLK_SUN8I_A83T
49 bool "Clock driver for Allwinner A83T"
50 default MACH_SUN8I_A83T
51 help
52 This enables common clock driver support for platforms based
53 on Allwinner A83T SoC.
54
Jagan Teki78eb2a42018-08-05 11:16:33 +053055config CLK_SUN8I_R40
56 bool "Clock driver for Allwinner R40"
57 default MACH_SUN8I_R40
58 help
59 This enables common clock driver support for platforms based
60 on Allwinner R40 SoC.
61
Jagan Teki6239a6d2018-08-05 14:31:54 +053062config CLK_SUN8I_V3S
63 bool "Clock driver for Allwinner V3S"
64 default MACH_SUN8I_V3S
65 help
66 This enables common clock driver support for platforms based
67 on Allwinner V3S SoC.
68
Jagan Teki6901aab2019-01-11 15:41:46 +053069config CLK_SUN9I_A80
70 bool "Clock driver for Allwinner A80"
71 default MACH_SUN9I
72 help
73 This enables common clock driver support for platforms based
74 on Allwinner A80 SoC.
75
Jagan Tekie9458162018-08-02 15:43:02 +053076config CLK_SUN8I_H3
77 bool "Clock driver for Allwinner H3/H5"
78 default MACH_SUNXI_H3_H5
79 help
80 This enables common clock driver support for platforms based
81 on Allwinner H3/H5 SoC.
82
Jagan Teki337fcdc2018-12-31 15:35:01 +053083config CLK_SUN50I_H6
84 bool "Clock driver for Allwinner H6"
85 default MACH_SUN50I_H6
86 help
87 This enables common clock driver support for platforms based
88 on Allwinner H6 SoC.
89
Samuel Holland23c83362021-09-12 09:47:25 -050090config CLK_SUN50I_H6_R
91 bool "Clock driver for Allwinner H6 generation PRCM"
92 default SUN50I_GEN_H6
93 help
94 This enables common clock driver support for the PRCM
95 in Allwinner H6/H616 SoCs.
96
Jernej Skrabec1dc70ff2021-01-11 21:11:52 +010097config CLK_SUN50I_H616
98 bool "Clock driver for Allwinner H616"
99 default MACH_SUN50I_H616
100 help
101 This enables common clock driver support for platforms based
102 on Allwinner H616 SoC.
103
Jagan Teki0d47bc72018-12-22 21:32:49 +0530104config CLK_SUN50I_A64
105 bool "Clock driver for Allwinner A64"
106 default MACH_SUN50I
107 help
108 This enables common clock driver support for platforms based
109 on Allwinner A64 SoC.
110
111endif # CLK_SUNXI