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 | |
Jagan Teki | 6590bd8 | 2018-08-02 16:52:37 +0530 | [diff] [blame] | 13 | config CLK_SUN4I_A10 |
| 14 | bool "Clock driver for Allwinner A10/A20" |
| 15 | default MACH_SUN4I || MACH_SUN7I |
| 16 | help |
| 17 | This enables common clock driver support for platforms based |
| 18 | on Allwinner A10/A20 SoC. |
| 19 | |
Jagan Teki | c8e743c | 2018-08-02 19:54:26 +0530 | [diff] [blame] | 20 | config CLK_SUN5I_A10S |
| 21 | bool "Clock driver for Allwinner A10s/A13" |
| 22 | default MACH_SUN5I |
| 23 | help |
| 24 | This enables common clock driver support for platforms based |
| 25 | on Allwinner A10s/A13 SoC. |
| 26 | |
Jagan Teki | 4927e2e | 2018-08-02 23:15:34 +0530 | [diff] [blame] | 27 | config CLK_SUN6I_A31 |
| 28 | bool "Clock driver for Allwinner A31/A31s" |
| 29 | default MACH_SUN6I |
| 30 | help |
| 31 | This enables common clock driver support for platforms based |
| 32 | on Allwinner A31/A31s SoC. |
| 33 | |
Samuel Holland | 23c8336 | 2021-09-12 09:47:25 -0500 | [diff] [blame] | 34 | config CLK_SUN6I_A31_R |
| 35 | bool "Clock driver for Allwinner A31 generation PRCM" |
| 36 | default SUNXI_GEN_SUN6I |
| 37 | help |
| 38 | This enables common clock driver support for the PRCM |
| 39 | in Allwinner A31/A31s/A23/A33/A83T/H3/A64/H5 SoCs. |
| 40 | |
Jagan Teki | 3ab0293 | 2018-08-02 23:25:03 +0530 | [diff] [blame] | 41 | config CLK_SUN8I_A23 |
| 42 | bool "Clock driver for Allwinner A23/A33" |
| 43 | default MACH_SUN8I_A23 || MACH_SUN8I_A33 |
| 44 | help |
| 45 | This enables common clock driver support for platforms based |
| 46 | on Allwinner A23/A33 SoC. |
| 47 | |
Jagan Teki | 03d87f5 | 2018-08-02 23:33:55 +0530 | [diff] [blame] | 48 | config CLK_SUN8I_A83T |
| 49 | bool "Clock driver for Allwinner A83T" |
| 50 | default MACH_SUN8I_A83T |
| 51 | help |
| 52 | This enables common clock driver support for platforms based |
| 53 | on Allwinner A83T SoC. |
| 54 | |
Jagan Teki | 78eb2a4 | 2018-08-05 11:16:33 +0530 | [diff] [blame] | 55 | config CLK_SUN8I_R40 |
| 56 | bool "Clock driver for Allwinner R40" |
| 57 | default MACH_SUN8I_R40 |
| 58 | help |
| 59 | This enables common clock driver support for platforms based |
| 60 | on Allwinner R40 SoC. |
| 61 | |
Jagan Teki | 6239a6d | 2018-08-05 14:31:54 +0530 | [diff] [blame] | 62 | config CLK_SUN8I_V3S |
| 63 | bool "Clock driver for Allwinner V3S" |
| 64 | default MACH_SUN8I_V3S |
| 65 | help |
| 66 | This enables common clock driver support for platforms based |
| 67 | on Allwinner V3S SoC. |
| 68 | |
Jagan Teki | 6901aab | 2019-01-11 15:41:46 +0530 | [diff] [blame] | 69 | config CLK_SUN9I_A80 |
| 70 | bool "Clock driver for Allwinner A80" |
| 71 | default MACH_SUN9I |
| 72 | help |
| 73 | This enables common clock driver support for platforms based |
| 74 | on Allwinner A80 SoC. |
| 75 | |
Jagan Teki | e945816 | 2018-08-02 15:43:02 +0530 | [diff] [blame] | 76 | config CLK_SUN8I_H3 |
| 77 | bool "Clock driver for Allwinner H3/H5" |
| 78 | default MACH_SUNXI_H3_H5 |
| 79 | help |
| 80 | This enables common clock driver support for platforms based |
| 81 | on Allwinner H3/H5 SoC. |
| 82 | |
Jagan Teki | 337fcdc | 2018-12-31 15:35:01 +0530 | [diff] [blame] | 83 | config CLK_SUN50I_H6 |
| 84 | bool "Clock driver for Allwinner H6" |
| 85 | default MACH_SUN50I_H6 |
| 86 | help |
| 87 | This enables common clock driver support for platforms based |
| 88 | on Allwinner H6 SoC. |
| 89 | |
Samuel Holland | 23c8336 | 2021-09-12 09:47:25 -0500 | [diff] [blame] | 90 | config CLK_SUN50I_H6_R |
| 91 | bool "Clock driver for Allwinner H6 generation PRCM" |
| 92 | default SUN50I_GEN_H6 |
| 93 | help |
| 94 | This enables common clock driver support for the PRCM |
| 95 | in Allwinner H6/H616 SoCs. |
| 96 | |
Jernej Skrabec | 1dc70ff | 2021-01-11 21:11:52 +0100 | [diff] [blame] | 97 | config CLK_SUN50I_H616 |
| 98 | bool "Clock driver for Allwinner H616" |
| 99 | default MACH_SUN50I_H616 |
| 100 | help |
| 101 | This enables common clock driver support for platforms based |
| 102 | on Allwinner H616 SoC. |
| 103 | |
Jagan Teki | 0d47bc7 | 2018-12-22 21:32:49 +0530 | [diff] [blame] | 104 | config CLK_SUN50I_A64 |
| 105 | bool "Clock driver for Allwinner A64" |
| 106 | default MACH_SUN50I |
| 107 | help |
| 108 | This enables common clock driver support for platforms based |
| 109 | on Allwinner A64 SoC. |
| 110 | |
| 111 | endif # CLK_SUNXI |