blob: 7342928c35cd7d4caac62eee144896480e7210f6 [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
Maxime Ripardc6a06372016-07-06 08:31:34 +02009config SUN50I_A64_CCU
10 bool "Support for the Allwinner A64 CCU"
Maxime Ripardc6a06372016-07-06 08:31:34 +020011 default ARM64 && ARCH_SUNXI
Peter Robinson05c04be2017-03-02 17:43:57 +000012 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
Maxime Ripardc6a06372016-07-06 08:31:34 +020013
Maxime Ripard5e737612016-10-04 10:09:58 +020014config SUN5I_CCU
15 bool "Support for the Allwinner sun5i family CCM"
Maxime Ripard5e737612016-10-04 10:09:58 +020016 default MACH_SUN5I
Peter Robinson05c04be2017-03-02 17:43:57 +000017 depends on MACH_SUN5I || COMPILE_TEST
Maxime Ripard5e737612016-10-04 10:09:58 +020018
Chen-Yu Tsaic6e6c962016-08-25 14:21:59 +080019config SUN6I_A31_CCU
20 bool "Support for the Allwinner A31/A31s CCU"
Chen-Yu Tsaic6e6c962016-08-25 14:21:59 +080021 default MACH_SUN6I
Peter Robinson05c04be2017-03-02 17:43:57 +000022 depends on MACH_SUN6I || COMPILE_TEST
Chen-Yu Tsaic6e6c962016-08-25 14:21:59 +080023
Maxime Ripard56908792016-08-31 16:55:00 +020024config SUN8I_A23_CCU
25 bool "Support for the Allwinner A23 CCU"
Maxime Ripard56908792016-08-31 16:55:00 +020026 default MACH_SUN8I
Peter Robinson05c04be2017-03-02 17:43:57 +000027 depends on MACH_SUN8I || COMPILE_TEST
Maxime Ripard56908792016-08-31 16:55:00 +020028
Maxime Ripardd05c7482016-08-24 14:10:15 +020029config SUN8I_A33_CCU
30 bool "Support for the Allwinner A33 CCU"
Maxime Ripardd05c7482016-08-24 14:10:15 +020031 default MACH_SUN8I
Peter Robinson05c04be2017-03-02 17:43:57 +000032 depends on MACH_SUN8I || COMPILE_TEST
Maxime Ripardd05c7482016-08-24 14:10:15 +020033
Chen-Yu Tsai05359be2017-05-19 15:06:09 +080034config SUN8I_A83T_CCU
35 bool "Support for the Allwinner A83T CCU"
Chen-Yu Tsai05359be2017-05-19 15:06:09 +080036 default MACH_SUN8I
37
Maxime Ripard0577e482016-06-29 21:05:34 +020038config SUN8I_H3_CCU
39 bool "Support for the Allwinner H3 CCU"
Icenowy Zheng9be1c8a2017-03-02 04:13:39 +080040 default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
Peter Robinson05c04be2017-03-02 17:43:57 +000041 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
Maxime Ripard0577e482016-06-29 21:05:34 +020042
Icenowy Zhengd0f11d12017-01-20 01:54:45 +080043config SUN8I_V3S_CCU
44 bool "Support for the Allwinner V3s CCU"
Icenowy Zhengd0f11d12017-01-20 01:54:45 +080045 default MACH_SUN8I
Peter Robinson05c04be2017-03-02 17:43:57 +000046 depends on MACH_SUN8I || COMPILE_TEST
Icenowy Zhengd0f11d12017-01-20 01:54:45 +080047
Icenowy Zheng763c5bd2017-05-15 00:30:34 +080048config SUN8I_DE2_CCU
49 bool "Support for the Allwinner SoCs DE2 CCU"
Icenowy Zheng763c5bd2017-05-15 00:30:34 +080050
Chen-Yu Tsaib8eb71d2017-01-28 20:22:34 +080051config SUN9I_A80_CCU
52 bool "Support for the Allwinner A80 CCU"
Chen-Yu Tsaib8eb71d2017-01-28 20:22:34 +080053 default MACH_SUN9I
Peter Robinson05c04be2017-03-02 17:43:57 +000054 depends on MACH_SUN9I || COMPILE_TEST
Chen-Yu Tsaib8eb71d2017-01-28 20:22:34 +080055
Icenowy Zhengcdb8b802017-04-04 17:50:57 +080056config SUN8I_R_CCU
57 bool "Support for Allwinner SoCs' PRCM CCUs"
Icenowy Zhengcdb8b802017-04-04 17:50:57 +080058 default MACH_SUN8I || (ARCH_SUNXI && ARM64)
Maxime Ripard1d80c142016-06-29 21:05:23 +020059
60endif