blob: ecd1b6b2bfaf1b661a330de1fe1e018df9d31a94 [file] [log] [blame]
Maxime Ripard1d80c142016-06-29 21:05:23 +02001config SUNXI_CCU
2 bool "Clock support for Allwinner SoCs"
Jean Delvared63a5e72016-09-08 23:28:29 +02003 depends on ARCH_SUNXI || COMPILE_TEST
Tobias Regneryaa013382017-03-27 11:57:53 +02004 select RESET_CONTROLLER
Maxime Ripard1d80c142016-06-29 21:05:23 +02005 default ARCH_SUNXI
Maxime Ripard89a3dfb2016-06-29 21:05:24 +02006
7if SUNXI_CCU
8
Mesih Kilinc03801262018-12-02 23:23:47 +03009config SUNIV_F1C100S_CCU
10 bool "Support for the Allwinner newer F1C100s CCU"
11 default MACH_SUNIV
12 depends on MACH_SUNIV || COMPILE_TEST
13
Maxime Ripardc6a06372016-07-06 08:31:34 +020014config SUN50I_A64_CCU
15 bool "Support for the Allwinner A64 CCU"
Maxime Ripardc6a06372016-07-06 08:31:34 +020016 default ARM64 && ARCH_SUNXI
Peter Robinson05c04be2017-03-02 17:43:57 +000017 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
Maxime Ripardc6a06372016-07-06 08:31:34 +020018
Icenowy Zheng524353e2018-03-16 22:02:13 +080019config SUN50I_H6_CCU
20 bool "Support for the Allwinner H6 CCU"
21 default ARM64 && ARCH_SUNXI
22 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
23
Icenowy Zhengb7c7b052018-05-04 02:38:41 +080024config SUN50I_H6_R_CCU
25 bool "Support for the Allwinner H6 PRCM CCU"
26 default ARM64 && ARCH_SUNXI
27 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
28
Priit Laesc84f5682017-08-23 20:23:29 +030029config SUN4I_A10_CCU
30 bool "Support for the Allwinner A10/A20 CCU"
Priit Laesc84f5682017-08-23 20:23:29 +030031 default MACH_SUN4I
32 default MACH_SUN7I
33 depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
34
Maxime Ripard5e737612016-10-04 10:09:58 +020035config SUN5I_CCU
36 bool "Support for the Allwinner sun5i family CCM"
Maxime Ripard5e737612016-10-04 10:09:58 +020037 default MACH_SUN5I
Peter Robinson05c04be2017-03-02 17:43:57 +000038 depends on MACH_SUN5I || COMPILE_TEST
Maxime Ripard5e737612016-10-04 10:09:58 +020039
Chen-Yu Tsaic6e6c962016-08-25 14:21:59 +080040config SUN6I_A31_CCU
41 bool "Support for the Allwinner A31/A31s CCU"
Chen-Yu Tsaic6e6c962016-08-25 14:21:59 +080042 default MACH_SUN6I
Peter Robinson05c04be2017-03-02 17:43:57 +000043 depends on MACH_SUN6I || COMPILE_TEST
Chen-Yu Tsaic6e6c962016-08-25 14:21:59 +080044
Maxime Ripard56908792016-08-31 16:55:00 +020045config SUN8I_A23_CCU
46 bool "Support for the Allwinner A23 CCU"
Maxime Ripard56908792016-08-31 16:55:00 +020047 default MACH_SUN8I
Peter Robinson05c04be2017-03-02 17:43:57 +000048 depends on MACH_SUN8I || COMPILE_TEST
Maxime Ripard56908792016-08-31 16:55:00 +020049
Maxime Ripardd05c7482016-08-24 14:10:15 +020050config SUN8I_A33_CCU
51 bool "Support for the Allwinner A33 CCU"
Maxime Ripardd05c7482016-08-24 14:10:15 +020052 default MACH_SUN8I
Peter Robinson05c04be2017-03-02 17:43:57 +000053 depends on MACH_SUN8I || COMPILE_TEST
Maxime Ripardd05c7482016-08-24 14:10:15 +020054
Chen-Yu Tsai05359be2017-05-19 15:06:09 +080055config SUN8I_A83T_CCU
56 bool "Support for the Allwinner A83T CCU"
Chen-Yu Tsai05359be2017-05-19 15:06:09 +080057 default MACH_SUN8I
58
Maxime Ripard0577e482016-06-29 21:05:34 +020059config SUN8I_H3_CCU
60 bool "Support for the Allwinner H3 CCU"
Icenowy Zheng9be1c8a2017-03-02 04:13:39 +080061 default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
Peter Robinson05c04be2017-03-02 17:43:57 +000062 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
Maxime Ripard0577e482016-06-29 21:05:34 +020063
Icenowy Zhengd0f11d12017-01-20 01:54:45 +080064config SUN8I_V3S_CCU
65 bool "Support for the Allwinner V3s CCU"
Icenowy Zhengd0f11d12017-01-20 01:54:45 +080066 default MACH_SUN8I
Peter Robinson05c04be2017-03-02 17:43:57 +000067 depends on MACH_SUN8I || COMPILE_TEST
Icenowy Zhengd0f11d12017-01-20 01:54:45 +080068
Icenowy Zheng763c5bd2017-05-15 00:30:34 +080069config SUN8I_DE2_CCU
70 bool "Support for the Allwinner SoCs DE2 CCU"
Jagan Teki7d3cf7d2018-11-13 17:45:32 +053071 default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
Icenowy Zheng763c5bd2017-05-15 00:30:34 +080072
Icenowy Zhengcd030a72017-08-15 13:55:29 +080073config SUN8I_R40_CCU
74 bool "Support for the Allwinner R40 CCU"
75 default MACH_SUN8I
76 depends on MACH_SUN8I || COMPILE_TEST
77
Chen-Yu Tsaib8eb71d2017-01-28 20:22:34 +080078config SUN9I_A80_CCU
79 bool "Support for the Allwinner A80 CCU"
Chen-Yu Tsaib8eb71d2017-01-28 20:22:34 +080080 default MACH_SUN9I
Peter Robinson05c04be2017-03-02 17:43:57 +000081 depends on MACH_SUN9I || COMPILE_TEST
Chen-Yu Tsaib8eb71d2017-01-28 20:22:34 +080082
Icenowy Zhengcdb8b802017-04-04 17:50:57 +080083config SUN8I_R_CCU
84 bool "Support for Allwinner SoCs' PRCM CCUs"
Icenowy Zhengcdb8b802017-04-04 17:50:57 +080085 default MACH_SUN8I || (ARCH_SUNXI && ARM64)
Maxime Ripard1d80c142016-06-29 21:05:23 +020086
87endif