blob: 8bdc09448969525fb57a2d28b9eb05f103fd40ec [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
George Hilliard89dd6502021-07-25 19:16:23 -040013config 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
Jagan Teki6590bd82018-08-02 16:52:37 +053020config 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
Jagan Tekic8e743c2018-08-02 19:54:26 +053027config 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
Jagan Teki4927e2e2018-08-02 23:15:34 +053034config 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
Samuel Holland23c83362021-09-12 09:47:25 -050041config 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
Jagan Teki3ab02932018-08-02 23:25:03 +053048config 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
Jagan Teki03d87f52018-08-02 23:33:55 +053055config 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
Jagan Teki78eb2a42018-08-05 11:16:33 +053062config 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
Jagan Teki6239a6d2018-08-05 14:31:54 +053069config 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
Jagan Teki6901aab2019-01-11 15:41:46 +053076config 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
Jagan Tekie9458162018-08-02 15:43:02 +053083config 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
Samuel Hollandb9a91b92022-04-30 22:38:37 -050090config CLK_SUN20I_D1
91 bool "Clock driver for Allwinner D1"
Andre Przywara95168d72022-09-06 15:59:57 +010092 default MACH_SUN8I_R528
Samuel Hollandb9a91b92022-04-30 22:38:37 -050093 help
94 This enables common clock driver support for platforms based
95 on Allwinner D1 SoC.
96
Jagan Teki337fcdc2018-12-31 15:35:01 +053097config 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
Samuel Holland23c83362021-09-12 09:47:25 -0500104config 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
Jernej Skrabec1dc70ff2021-01-11 21:11:52 +0100111config 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
Jagan Teki0d47bc72018-12-22 21:32:49 +0530118config 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