@@ -53,7 +53,8 @@ config PWM_AB8500
53
53
54
54
config PWM_ATMEL
55
55
tristate "Atmel PWM support"
56
- depends on ARCH_AT91 && OF
56
+ depends on OF
57
+ depends on ARCH_AT91 || COMPILE_TEST
57
58
help
58
59
Generic PWM framework driver for Atmel SoC.
59
60
@@ -109,7 +110,7 @@ config PWM_BCM_KONA
109
110
110
111
config PWM_BCM2835
111
112
tristate "BCM2835 PWM support"
112
- depends on ARCH_BCM2835 || ARCH_BRCMSTB
113
+ depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
113
114
help
114
115
PWM framework driver for BCM2835 controller (Raspberry Pi)
115
116
@@ -118,7 +119,7 @@ config PWM_BCM2835
118
119
119
120
config PWM_BERLIN
120
121
tristate "Marvell Berlin PWM support"
121
- depends on ARCH_BERLIN
122
+ depends on ARCH_BERLIN || COMPILE_TEST
122
123
help
123
124
PWM framework driver for Marvell Berlin SoCs.
124
125
@@ -127,7 +128,7 @@ config PWM_BERLIN
127
128
128
129
config PWM_BRCMSTB
129
130
tristate "Broadcom STB PWM support"
130
- depends on ARCH_BRCMSTB || BMIPS_GENERIC
131
+ depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
131
132
help
132
133
Generic PWM framework driver for the Broadcom Set-top-Box
133
134
SoCs (BCM7xxx).
@@ -161,7 +162,7 @@ config PWM_CROS_EC
161
162
162
163
config PWM_EP93XX
163
164
tristate "Cirrus Logic EP93xx PWM support"
164
- depends on ARCH_EP93XX
165
+ depends on ARCH_EP93XX || COMPILE_TEST
165
166
help
166
167
Generic PWM framework driver for Cirrus Logic EP93xx.
167
168
@@ -204,7 +205,7 @@ config PWM_IMG
204
205
205
206
config PWM_IMX1
206
207
tristate "i.MX1 PWM support"
207
- depends on ARCH_MXC
208
+ depends on ARCH_MXC || COMPILE_TEST
208
209
help
209
210
Generic PWM framework driver for i.MX1 and i.MX21
210
211
@@ -213,7 +214,7 @@ config PWM_IMX1
213
214
214
215
config PWM_IMX27
215
216
tristate "i.MX27 PWM support"
216
- depends on ARCH_MXC
217
+ depends on ARCH_MXC || COMPILE_TEST
217
218
help
218
219
Generic PWM framework driver for i.MX27 and later i.MX SoCs.
219
220
@@ -253,7 +254,7 @@ config PWM_LP3943
253
254
254
255
config PWM_LPC18XX_SCT
255
256
tristate "LPC18xx/43xx PWM/SCT support"
256
- depends on ARCH_LPC18XX
257
+ depends on ARCH_LPC18XX || COMPILE_TEST
257
258
help
258
259
Generic PWM framework driver for NXP LPC18xx PWM/SCT which
259
260
supports 16 channels.
@@ -265,7 +266,7 @@ config PWM_LPC18XX_SCT
265
266
266
267
config PWM_LPC32XX
267
268
tristate "LPC32XX PWM support"
268
- depends on ARCH_LPC32XX
269
+ depends on ARCH_LPC32XX || COMPILE_TEST
269
270
help
270
271
Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
271
272
PWM controllers.
@@ -298,7 +299,8 @@ config PWM_LPSS_PLATFORM
298
299
299
300
config PWM_MESON
300
301
tristate "Amlogic Meson PWM driver"
301
- depends on ARCH_MESON
302
+ depends on ARCH_MESON || COMPILE_TEST
303
+ depends on COMMON_CLK
302
304
help
303
305
The platform driver for Amlogic Meson PWM controller.
304
306
@@ -327,7 +329,8 @@ config PWM_MEDIATEK
327
329
328
330
config PWM_MXS
329
331
tristate "Freescale MXS PWM support"
330
- depends on ARCH_MXS && OF
332
+ depends on OF
333
+ depends on ARCH_MXS || COMPILE_TEST
331
334
select STMP_DEVICE
332
335
help
333
336
Generic PWM framework driver for Freescale MXS.
@@ -366,7 +369,7 @@ config PWM_PUV3
366
369
367
370
config PWM_PXA
368
371
tristate "PXA PWM support"
369
- depends on ARCH_PXA
372
+ depends on ARCH_PXA || COMPILE_TEST
370
373
help
371
374
Generic PWM framework driver for PXA.
372
375
@@ -397,14 +400,14 @@ config PWM_RENESAS_TPU
397
400
398
401
config PWM_ROCKCHIP
399
402
tristate "Rockchip PWM support"
400
- depends on ARCH_ROCKCHIP
403
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
401
404
help
402
405
Generic PWM framework driver for the PWM controller found on
403
406
Rockchip SoCs.
404
407
405
408
config PWM_SAMSUNG
406
409
tristate "Samsung PWM support"
407
- depends on PLAT_SAMSUNG || ARCH_EXYNOS
410
+ depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
408
411
help
409
412
Generic PWM framework driver for Samsung.
410
413
@@ -424,7 +427,7 @@ config PWM_SIFIVE
424
427
425
428
config PWM_SPEAR
426
429
tristate "STMicroelectronics SPEAr PWM support"
427
- depends on PLAT_SPEAR
430
+ depends on PLAT_SPEAR || COMPILE_TEST
428
431
depends on OF
429
432
help
430
433
Generic PWM framework driver for the PWM controller on ST
@@ -446,7 +449,7 @@ config PWM_SPRD
446
449
447
450
config PWM_STI
448
451
tristate "STiH4xx PWM support"
449
- depends on ARCH_STI
452
+ depends on ARCH_STI || COMPILE_TEST
450
453
depends on OF
451
454
help
452
455
Generic PWM framework driver for STiH4xx SoCs.
@@ -456,7 +459,7 @@ config PWM_STI
456
459
457
460
config PWM_STM32
458
461
tristate "STMicroelectronics STM32 PWM"
459
- depends on MFD_STM32_TIMERS
462
+ depends on MFD_STM32_TIMERS || COMPILE_TEST
460
463
help
461
464
Generic PWM framework driver for STM32 SoCs.
462
465
@@ -492,7 +495,7 @@ config PWM_SUN4I
492
495
493
496
config PWM_TEGRA
494
497
tristate "NVIDIA Tegra PWM support"
495
- depends on ARCH_TEGRA
498
+ depends on ARCH_TEGRA || COMPILE_TEST
496
499
help
497
500
Generic PWM framework driver for the PWFM controller found on NVIDIA
498
501
Tegra SoCs.
@@ -502,7 +505,7 @@ config PWM_TEGRA
502
505
503
506
config PWM_TIECAP
504
507
tristate "ECAP PWM support"
505
- depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3
508
+ depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
506
509
help
507
510
PWM driver support for the ECAP APWM controller found on TI SOCs
508
511
@@ -511,7 +514,7 @@ config PWM_TIECAP
511
514
512
515
config PWM_TIEHRPWM
513
516
tristate "EHRPWM PWM support"
514
- depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3
517
+ depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
515
518
help
516
519
PWM driver support for the EHRPWM controller found on TI SOCs
517
520
@@ -538,7 +541,7 @@ config PWM_TWL_LED
538
541
539
542
config PWM_VT8500
540
543
tristate "vt8500 PWM support"
541
- depends on ARCH_VT8500
544
+ depends on ARCH_VT8500 || COMPILE_TEST
542
545
help
543
546
Generic PWM framework driver for vt8500.
544
547
@@ -547,7 +550,7 @@ config PWM_VT8500
547
550
548
551
config PWM_ZX
549
552
tristate "ZTE ZX PWM support"
550
- depends on ARCH_ZX
553
+ depends on ARCH_ZX || COMPILE_TEST
551
554
help
552
555
Generic PWM framework driver for ZTE ZX family SoCs.
553
556
0 commit comments