1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21d80c142SMaxime Ripardconfig SUNXI_CCU 391389c39SSamuel Holland tristate "Clock support for Allwinner SoCs" 4d63a5e7cSJean Delvare depends on ARCH_SUNXI || COMPILE_TEST 5aa01338cSTobias Regnery select RESET_CONTROLLER 61d80c142SMaxime Ripard default ARCH_SUNXI 789a3dfb7SMaxime Ripard 889a3dfb7SMaxime Ripardif SUNXI_CCU 989a3dfb7SMaxime Ripard 100380126eSMesih Kilincconfig SUNIV_F1C100S_CCU 117ec03b58SSamuel Holland tristate "Support for the Allwinner newer F1C100s CCU" 120380126eSMesih Kilinc default MACH_SUNIV 130380126eSMesih Kilinc depends on MACH_SUNIV || COMPILE_TEST 140380126eSMesih Kilinc 1535b97bb9SSamuel Hollandconfig SUN20I_D1_CCU 1635b97bb9SSamuel Holland tristate "Support for the Allwinner D1 CCU" 1735b97bb9SSamuel Holland default RISCV && ARCH_SUNXI 1835b97bb9SSamuel Holland depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST 1935b97bb9SSamuel Holland 2035b97bb9SSamuel Hollandconfig SUN20I_D1_R_CCU 2135b97bb9SSamuel Holland tristate "Support for the Allwinner D1 PRCM CCU" 2235b97bb9SSamuel Holland default RISCV && ARCH_SUNXI 2335b97bb9SSamuel Holland depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST 2435b97bb9SSamuel Holland 25c6a06374SMaxime Ripardconfig SUN50I_A64_CCU 26c8c525b0SSamuel Holland tristate "Support for the Allwinner A64 CCU" 27c6a06374SMaxime Ripard default ARM64 && ARCH_SUNXI 2805c04befSPeter Robinson depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 29c6a06374SMaxime Ripard 30fb038ce4SYangtao Liconfig SUN50I_A100_CCU 31c8c525b0SSamuel Holland tristate "Support for the Allwinner A100 CCU" 32fb038ce4SYangtao Li default ARM64 && ARCH_SUNXI 33fb038ce4SYangtao Li depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 34fb038ce4SYangtao Li 35fb038ce4SYangtao Liconfig SUN50I_A100_R_CCU 36c8c525b0SSamuel Holland tristate "Support for the Allwinner A100 PRCM CCU" 37fb038ce4SYangtao Li default ARM64 && ARCH_SUNXI 38fb038ce4SYangtao Li depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 39fb038ce4SYangtao Li 40524353eaSIcenowy Zhengconfig SUN50I_H6_CCU 41c8c525b0SSamuel Holland tristate "Support for the Allwinner H6 CCU" 42524353eaSIcenowy Zheng default ARM64 && ARCH_SUNXI 43524353eaSIcenowy Zheng depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 44524353eaSIcenowy Zheng 4588dde5e2SAndre Przywaraconfig SUN50I_H616_CCU 467ec03b58SSamuel Holland tristate "Support for the Allwinner H616 CCU" 4788dde5e2SAndre Przywara default ARM64 && ARCH_SUNXI 4888dde5e2SAndre Przywara depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 4988dde5e2SAndre Przywara 50b7c7b050SIcenowy Zhengconfig SUN50I_H6_R_CCU 517ec03b58SSamuel Holland tristate "Support for the Allwinner H6 and H616 PRCM CCU" 52b7c7b050SIcenowy Zheng default ARM64 && ARCH_SUNXI 53b7c7b050SIcenowy Zheng depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 54b7c7b050SIcenowy Zheng 55c84f5683SPriit Laesconfig SUN4I_A10_CCU 567ec03b58SSamuel Holland tristate "Support for the Allwinner A10/A20 CCU" 57c84f5683SPriit Laes default MACH_SUN4I 58c84f5683SPriit Laes default MACH_SUN7I 59c84f5683SPriit Laes depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST 60c84f5683SPriit Laes 615e737617SMaxime Ripardconfig SUN5I_CCU 625e737617SMaxime Ripard bool "Support for the Allwinner sun5i family CCM" 635e737617SMaxime Ripard default MACH_SUN5I 6405c04befSPeter Robinson depends on MACH_SUN5I || COMPILE_TEST 6591389c39SSamuel Holland depends on SUNXI_CCU=y 665e737617SMaxime Ripard 67c6e6c96dSChen-Yu Tsaiconfig SUN6I_A31_CCU 687ec03b58SSamuel Holland tristate "Support for the Allwinner A31/A31s CCU" 69c6e6c96dSChen-Yu Tsai default MACH_SUN6I 7005c04befSPeter Robinson depends on MACH_SUN6I || COMPILE_TEST 71c6e6c96dSChen-Yu Tsai 72*d91612d7SSamuel Hollandconfig SUN6I_RTC_CCU 73*d91612d7SSamuel Holland tristate "Support for the Allwinner H616/R329 RTC CCU" 74*d91612d7SSamuel Holland default ARCH_SUNXI 75*d91612d7SSamuel Holland depends on ARCH_SUNXI || COMPILE_TEST 76*d91612d7SSamuel Holland 775690879dSMaxime Ripardconfig SUN8I_A23_CCU 787ec03b58SSamuel Holland tristate "Support for the Allwinner A23 CCU" 795690879dSMaxime Ripard default MACH_SUN8I 8005c04befSPeter Robinson depends on MACH_SUN8I || COMPILE_TEST 815690879dSMaxime Ripard 82d05c748bSMaxime Ripardconfig SUN8I_A33_CCU 837ec03b58SSamuel Holland tristate "Support for the Allwinner A33 CCU" 84d05c748bSMaxime Ripard default MACH_SUN8I 8505c04befSPeter Robinson depends on MACH_SUN8I || COMPILE_TEST 86d05c748bSMaxime Ripard 8705359be1SChen-Yu Tsaiconfig SUN8I_A83T_CCU 88c8c525b0SSamuel Holland tristate "Support for the Allwinner A83T CCU" 8905359be1SChen-Yu Tsai default MACH_SUN8I 904abfc297SSamuel Holland depends on MACH_SUN8I || COMPILE_TEST 9105359be1SChen-Yu Tsai 920577e485SMaxime Ripardconfig SUN8I_H3_CCU 937ec03b58SSamuel Holland tristate "Support for the Allwinner H3 CCU" 949be1c8afSIcenowy Zheng default MACH_SUN8I || (ARM64 && ARCH_SUNXI) 9505c04befSPeter Robinson depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 960577e485SMaxime Ripard 97d0f11d14SIcenowy Zhengconfig SUN8I_V3S_CCU 987ec03b58SSamuel Holland tristate "Support for the Allwinner V3s CCU" 99d0f11d14SIcenowy Zheng default MACH_SUN8I 10005c04befSPeter Robinson depends on MACH_SUN8I || COMPILE_TEST 101d0f11d14SIcenowy Zheng 102763c5bd0SIcenowy Zhengconfig SUN8I_DE2_CCU 103c8c525b0SSamuel Holland tristate "Support for the Allwinner SoCs DE2 CCU" 1047d3cf7d2SJagan Teki default MACH_SUN8I || (ARM64 && ARCH_SUNXI) 105763c5bd0SIcenowy Zheng 106cd030a78SIcenowy Zhengconfig SUN8I_R40_CCU 107c8c525b0SSamuel Holland tristate "Support for the Allwinner R40 CCU" 108cd030a78SIcenowy Zheng default MACH_SUN8I 109cd030a78SIcenowy Zheng depends on MACH_SUN8I || COMPILE_TEST 110cd030a78SIcenowy Zheng 111b8eb71dcSChen-Yu Tsaiconfig SUN9I_A80_CCU 112c8c525b0SSamuel Holland tristate "Support for the Allwinner A80 CCU" 113b8eb71dcSChen-Yu Tsai default MACH_SUN9I 11405c04befSPeter Robinson depends on MACH_SUN9I || COMPILE_TEST 115b8eb71dcSChen-Yu Tsai 116cdb8b80bSIcenowy Zhengconfig SUN8I_R_CCU 1177ec03b58SSamuel Holland tristate "Support for Allwinner SoCs' PRCM CCUs" 118cdb8b80bSIcenowy Zheng default MACH_SUN8I || (ARCH_SUNXI && ARM64) 1191d80c142SMaxime Ripard 1201d80c142SMaxime Ripardendif 121