Jagan Teki | 0d47bc7 | 2018-12-22 21:32:49 +0530 | [diff] [blame] | 1 | config CLK_SUNXI |
| 2 | bool "Clock support for Allwinner SoCs" |
| 3 | depends on CLK && ARCH_SUNXI |
Jagan Teki | 99ba430 | 2019-01-18 22:18:13 +0530 | [diff] [blame] | 4 | select DM_RESET |
Samuel Holland | e0c628d | 2021-09-11 14:45:31 -0500 | [diff] [blame] | 5 | select SPL_DM_RESET if SPL_CLK |
Jagan Teki | 0d47bc7 | 2018-12-22 21:32:49 +0530 | [diff] [blame] | 6 | default y |
| 7 | help |
| 8 | This enables support for common clock driver API on Allwinner |
| 9 | SoCs. |
| 10 | |
| 11 | if CLK_SUNXI |
| 12 | |
George Hilliard | 89dd650 | 2021-07-25 19:16:23 -0400 | [diff] [blame] | 13 | config 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 Teki | 6590bd8 | 2018-08-02 16:52:37 +0530 | [diff] [blame] | 20 | config 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 Teki | c8e743c | 2018-08-02 19:54:26 +0530 | [diff] [blame] | 27 | config 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 Teki | 4927e2e | 2018-08-02 23:15:34 +0530 | [diff] [blame] | 34 | config 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 Holland | 23c8336 | 2021-09-12 09:47:25 -0500 | [diff] [blame] | 41 | config 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 Teki | 3ab0293 | 2018-08-02 23:25:03 +0530 | [diff] [blame] | 48 | config 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 Teki | 03d87f5 | 2018-08-02 23:33:55 +0530 | [diff] [blame] | 55 | config 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 Teki | 78eb2a4 | 2018-08-05 11:16:33 +0530 | [diff] [blame] | 62 | config 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 Teki | 6239a6d | 2018-08-05 14:31:54 +0530 | [diff] [blame] | 69 | config 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 Teki | 6901aab | 2019-01-11 15:41:46 +0530 | [diff] [blame] | 76 | config 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 Teki | e945816 | 2018-08-02 15:43:02 +0530 | [diff] [blame] | 83 | config 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 | |
Jagan Teki | 337fcdc | 2018-12-31 15:35:01 +0530 | [diff] [blame] | 90 | config CLK_SUN50I_H6 |
| 91 | bool "Clock driver for Allwinner H6" |
| 92 | default MACH_SUN50I_H6 |
| 93 | help |
| 94 | This enables common clock driver support for platforms based |
| 95 | on Allwinner H6 SoC. |
| 96 | |
Samuel Holland | 23c8336 | 2021-09-12 09:47:25 -0500 | [diff] [blame] | 97 | config CLK_SUN50I_H6_R |
| 98 | bool "Clock driver for Allwinner H6 generation PRCM" |
| 99 | default SUN50I_GEN_H6 |
| 100 | help |
| 101 | This enables common clock driver support for the PRCM |
| 102 | in Allwinner H6/H616 SoCs. |
| 103 | |
Jernej Skrabec | 1dc70ff | 2021-01-11 21:11:52 +0100 | [diff] [blame] | 104 | config CLK_SUN50I_H616 |
| 105 | bool "Clock driver for Allwinner H616" |
| 106 | default MACH_SUN50I_H616 |
| 107 | help |
| 108 | This enables common clock driver support for platforms based |
| 109 | on Allwinner H616 SoC. |
| 110 | |
Jagan Teki | 0d47bc7 | 2018-12-22 21:32:49 +0530 | [diff] [blame] | 111 | config CLK_SUN50I_A64 |
| 112 | bool "Clock driver for Allwinner A64" |
| 113 | default MACH_SUN50I |
| 114 | help |
| 115 | This enables common clock driver support for platforms based |
| 116 | on Allwinner A64 SoC. |
| 117 | |
| 118 | endif # CLK_SUNXI |