Skip to content

Commit 115bd1f

Browse files
krzkwens
authored andcommitted
clk: sunxi-ng: Do not enable by default during compile testing
Enabling the compile test should not cause automatic enabling of all drivers. Restrict the default to ARCH also for individual drivers, even though their choice is not visible without selecting parent Kconfig symbol, because otherwise selecting parent would select the child during compile testing. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250404-kconfig-defaults-clk-v1-4-4d2df5603332@linaro.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 0af2f6b commit 115bd1f

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

drivers/clk/sunxi-ng/Kconfig

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,123 +9,123 @@ if SUNXI_CCU
99

1010
config SUNIV_F1C100S_CCU
1111
tristate "Support for the Allwinner newer F1C100s CCU"
12-
default y
12+
default ARCH_SUNXI
1313
depends on MACH_SUNIV || COMPILE_TEST
1414

1515
config SUN20I_D1_CCU
1616
tristate "Support for the Allwinner D1/R528/T113 CCU"
17-
default y
17+
default ARCH_SUNXI
1818
depends on MACH_SUN8I || RISCV || COMPILE_TEST
1919

2020
config SUN20I_D1_R_CCU
2121
tristate "Support for the Allwinner D1/R528/T113 PRCM CCU"
22-
default y
22+
default ARCH_SUNXI
2323
depends on MACH_SUN8I || RISCV || COMPILE_TEST
2424

2525
config SUN50I_A64_CCU
2626
tristate "Support for the Allwinner A64 CCU"
27-
default y
27+
default ARCH_SUNXI
2828
depends on ARM64 || COMPILE_TEST
2929

3030
config SUN50I_A100_CCU
3131
tristate "Support for the Allwinner A100 CCU"
32-
default y
32+
default ARCH_SUNXI
3333
depends on ARM64 || COMPILE_TEST
3434

3535
config SUN50I_A100_R_CCU
3636
tristate "Support for the Allwinner A100 PRCM CCU"
37-
default y
37+
default ARCH_SUNXI
3838
depends on ARM64 || COMPILE_TEST
3939

4040
config SUN50I_H6_CCU
4141
tristate "Support for the Allwinner H6 CCU"
42-
default y
42+
default ARCH_SUNXI
4343
depends on ARM64 || COMPILE_TEST
4444

4545
config SUN50I_H616_CCU
4646
tristate "Support for the Allwinner H616 CCU"
47-
default y
47+
default ARCH_SUNXI
4848
depends on ARM64 || COMPILE_TEST
4949

5050
config SUN50I_H6_R_CCU
5151
tristate "Support for the Allwinner H6 and H616 PRCM CCU"
52-
default y
52+
default ARCH_SUNXI
5353
depends on ARM64 || COMPILE_TEST
5454

5555
config SUN55I_A523_CCU
5656
tristate "Support for the Allwinner A523/T527 CCU"
57-
default y
57+
default ARCH_SUNXI
5858
depends on ARM64 || COMPILE_TEST
5959

6060
config SUN55I_A523_R_CCU
6161
tristate "Support for the Allwinner A523/T527 PRCM CCU"
62-
default y
62+
default ARCH_SUNXI
6363
depends on ARM64 || COMPILE_TEST
6464

6565
config SUN4I_A10_CCU
6666
tristate "Support for the Allwinner A10/A20 CCU"
67-
default y
67+
default ARCH_SUNXI
6868
depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
6969

7070
config SUN5I_CCU
7171
bool "Support for the Allwinner sun5i family CCM"
72-
default y
72+
default ARCH_SUNXI
7373
depends on MACH_SUN5I || COMPILE_TEST
7474
depends on SUNXI_CCU=y
7575

7676
config SUN6I_A31_CCU
7777
tristate "Support for the Allwinner A31/A31s CCU"
78-
default y
78+
default ARCH_SUNXI
7979
depends on MACH_SUN6I || COMPILE_TEST
8080

8181
config SUN6I_RTC_CCU
8282
tristate "Support for the Allwinner H616/R329 RTC CCU"
83-
default y
83+
default ARCH_SUNXI
8484
depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
8585

8686
config SUN8I_A23_CCU
8787
tristate "Support for the Allwinner A23 CCU"
88-
default y
88+
default ARCH_SUNXI
8989
depends on MACH_SUN8I || COMPILE_TEST
9090

9191
config SUN8I_A33_CCU
9292
tristate "Support for the Allwinner A33 CCU"
93-
default y
93+
default ARCH_SUNXI
9494
depends on MACH_SUN8I || COMPILE_TEST
9595

9696
config SUN8I_A83T_CCU
9797
tristate "Support for the Allwinner A83T CCU"
98-
default y
98+
default ARCH_SUNXI
9999
depends on MACH_SUN8I || COMPILE_TEST
100100

101101
config SUN8I_H3_CCU
102102
tristate "Support for the Allwinner H3 CCU"
103-
default y
103+
default ARCH_SUNXI
104104
depends on MACH_SUN8I || ARM64 || COMPILE_TEST
105105

106106
config SUN8I_V3S_CCU
107107
tristate "Support for the Allwinner V3s CCU"
108-
default y
108+
default ARCH_SUNXI
109109
depends on MACH_SUN8I || COMPILE_TEST
110110

111111
config SUN8I_DE2_CCU
112112
tristate "Support for the Allwinner SoCs DE2 CCU"
113-
default y
113+
default ARCH_SUNXI
114114
depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
115115

116116
config SUN8I_R40_CCU
117117
tristate "Support for the Allwinner R40 CCU"
118-
default y
118+
default ARCH_SUNXI
119119
depends on MACH_SUN8I || COMPILE_TEST
120120

121121
config SUN9I_A80_CCU
122122
tristate "Support for the Allwinner A80 CCU"
123-
default y
123+
default ARCH_SUNXI
124124
depends on MACH_SUN9I || COMPILE_TEST
125125

126126
config SUN8I_R_CCU
127127
tristate "Support for Allwinner SoCs' PRCM CCUs"
128-
default y
128+
default ARCH_SUNXI
129129
depends on MACH_SUN8I || ARM64 || COMPILE_TEST
130130

131131
endif

0 commit comments

Comments
 (0)