Commit e96c0ff4 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Thierry Reding

pwm: Enable compile testing for some of drivers

Some of the PWM drivers can be compile tested to increase build
coverage.

The Meson PWM driver requires COMMON_CLK dependency.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com> # For Broadcoam
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # For Meson
Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com> # For Atmel
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 69ee15f1
...@@ -53,7 +53,8 @@ config PWM_AB8500 ...@@ -53,7 +53,8 @@ config PWM_AB8500
config PWM_ATMEL config PWM_ATMEL
tristate "Atmel PWM support" tristate "Atmel PWM support"
depends on ARCH_AT91 && OF depends on OF
depends on ARCH_AT91 || COMPILE_TEST
help help
Generic PWM framework driver for Atmel SoC. Generic PWM framework driver for Atmel SoC.
...@@ -109,7 +110,7 @@ config PWM_BCM_KONA ...@@ -109,7 +110,7 @@ config PWM_BCM_KONA
config PWM_BCM2835 config PWM_BCM2835
tristate "BCM2835 PWM support" tristate "BCM2835 PWM support"
depends on ARCH_BCM2835 || ARCH_BRCMSTB depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
help help
PWM framework driver for BCM2835 controller (Raspberry Pi) PWM framework driver for BCM2835 controller (Raspberry Pi)
...@@ -118,7 +119,7 @@ config PWM_BCM2835 ...@@ -118,7 +119,7 @@ config PWM_BCM2835
config PWM_BERLIN config PWM_BERLIN
tristate "Marvell Berlin PWM support" tristate "Marvell Berlin PWM support"
depends on ARCH_BERLIN depends on ARCH_BERLIN || COMPILE_TEST
help help
PWM framework driver for Marvell Berlin SoCs. PWM framework driver for Marvell Berlin SoCs.
...@@ -127,7 +128,7 @@ config PWM_BERLIN ...@@ -127,7 +128,7 @@ config PWM_BERLIN
config PWM_BRCMSTB config PWM_BRCMSTB
tristate "Broadcom STB PWM support" tristate "Broadcom STB PWM support"
depends on ARCH_BRCMSTB || BMIPS_GENERIC depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
help help
Generic PWM framework driver for the Broadcom Set-top-Box Generic PWM framework driver for the Broadcom Set-top-Box
SoCs (BCM7xxx). SoCs (BCM7xxx).
...@@ -161,7 +162,7 @@ config PWM_CROS_EC ...@@ -161,7 +162,7 @@ config PWM_CROS_EC
config PWM_EP93XX config PWM_EP93XX
tristate "Cirrus Logic EP93xx PWM support" tristate "Cirrus Logic EP93xx PWM support"
depends on ARCH_EP93XX depends on ARCH_EP93XX || COMPILE_TEST
help help
Generic PWM framework driver for Cirrus Logic EP93xx. Generic PWM framework driver for Cirrus Logic EP93xx.
...@@ -204,7 +205,7 @@ config PWM_IMG ...@@ -204,7 +205,7 @@ config PWM_IMG
config PWM_IMX1 config PWM_IMX1
tristate "i.MX1 PWM support" tristate "i.MX1 PWM support"
depends on ARCH_MXC depends on ARCH_MXC || COMPILE_TEST
help help
Generic PWM framework driver for i.MX1 and i.MX21 Generic PWM framework driver for i.MX1 and i.MX21
...@@ -213,7 +214,7 @@ config PWM_IMX1 ...@@ -213,7 +214,7 @@ config PWM_IMX1
config PWM_IMX27 config PWM_IMX27
tristate "i.MX27 PWM support" tristate "i.MX27 PWM support"
depends on ARCH_MXC depends on ARCH_MXC || COMPILE_TEST
help help
Generic PWM framework driver for i.MX27 and later i.MX SoCs. Generic PWM framework driver for i.MX27 and later i.MX SoCs.
...@@ -253,7 +254,7 @@ config PWM_LP3943 ...@@ -253,7 +254,7 @@ config PWM_LP3943
config PWM_LPC18XX_SCT config PWM_LPC18XX_SCT
tristate "LPC18xx/43xx PWM/SCT support" tristate "LPC18xx/43xx PWM/SCT support"
depends on ARCH_LPC18XX depends on ARCH_LPC18XX || COMPILE_TEST
help help
Generic PWM framework driver for NXP LPC18xx PWM/SCT which Generic PWM framework driver for NXP LPC18xx PWM/SCT which
supports 16 channels. supports 16 channels.
...@@ -265,7 +266,7 @@ config PWM_LPC18XX_SCT ...@@ -265,7 +266,7 @@ config PWM_LPC18XX_SCT
config PWM_LPC32XX config PWM_LPC32XX
tristate "LPC32XX PWM support" tristate "LPC32XX PWM support"
depends on ARCH_LPC32XX depends on ARCH_LPC32XX || COMPILE_TEST
help help
Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
PWM controllers. PWM controllers.
...@@ -298,7 +299,8 @@ config PWM_LPSS_PLATFORM ...@@ -298,7 +299,8 @@ config PWM_LPSS_PLATFORM
config PWM_MESON config PWM_MESON
tristate "Amlogic Meson PWM driver" tristate "Amlogic Meson PWM driver"
depends on ARCH_MESON depends on ARCH_MESON || COMPILE_TEST
depends on COMMON_CLK
help help
The platform driver for Amlogic Meson PWM controller. The platform driver for Amlogic Meson PWM controller.
...@@ -327,7 +329,8 @@ config PWM_MEDIATEK ...@@ -327,7 +329,8 @@ config PWM_MEDIATEK
config PWM_MXS config PWM_MXS
tristate "Freescale MXS PWM support" tristate "Freescale MXS PWM support"
depends on ARCH_MXS && OF depends on OF
depends on ARCH_MXS || COMPILE_TEST
select STMP_DEVICE select STMP_DEVICE
help help
Generic PWM framework driver for Freescale MXS. Generic PWM framework driver for Freescale MXS.
...@@ -366,7 +369,7 @@ config PWM_PUV3 ...@@ -366,7 +369,7 @@ config PWM_PUV3
config PWM_PXA config PWM_PXA
tristate "PXA PWM support" tristate "PXA PWM support"
depends on ARCH_PXA depends on ARCH_PXA || COMPILE_TEST
help help
Generic PWM framework driver for PXA. Generic PWM framework driver for PXA.
...@@ -397,14 +400,14 @@ config PWM_RENESAS_TPU ...@@ -397,14 +400,14 @@ config PWM_RENESAS_TPU
config PWM_ROCKCHIP config PWM_ROCKCHIP
tristate "Rockchip PWM support" tristate "Rockchip PWM support"
depends on ARCH_ROCKCHIP depends on ARCH_ROCKCHIP || COMPILE_TEST
help help
Generic PWM framework driver for the PWM controller found on Generic PWM framework driver for the PWM controller found on
Rockchip SoCs. Rockchip SoCs.
config PWM_SAMSUNG config PWM_SAMSUNG
tristate "Samsung PWM support" tristate "Samsung PWM support"
depends on PLAT_SAMSUNG || ARCH_EXYNOS depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
help help
Generic PWM framework driver for Samsung. Generic PWM framework driver for Samsung.
...@@ -424,7 +427,7 @@ config PWM_SIFIVE ...@@ -424,7 +427,7 @@ config PWM_SIFIVE
config PWM_SPEAR config PWM_SPEAR
tristate "STMicroelectronics SPEAr PWM support" tristate "STMicroelectronics SPEAr PWM support"
depends on PLAT_SPEAR depends on PLAT_SPEAR || COMPILE_TEST
depends on OF depends on OF
help help
Generic PWM framework driver for the PWM controller on ST Generic PWM framework driver for the PWM controller on ST
...@@ -446,7 +449,7 @@ config PWM_SPRD ...@@ -446,7 +449,7 @@ config PWM_SPRD
config PWM_STI config PWM_STI
tristate "STiH4xx PWM support" tristate "STiH4xx PWM support"
depends on ARCH_STI depends on ARCH_STI || COMPILE_TEST
depends on OF depends on OF
help help
Generic PWM framework driver for STiH4xx SoCs. Generic PWM framework driver for STiH4xx SoCs.
...@@ -456,7 +459,7 @@ config PWM_STI ...@@ -456,7 +459,7 @@ config PWM_STI
config PWM_STM32 config PWM_STM32
tristate "STMicroelectronics STM32 PWM" tristate "STMicroelectronics STM32 PWM"
depends on MFD_STM32_TIMERS depends on MFD_STM32_TIMERS || COMPILE_TEST
help help
Generic PWM framework driver for STM32 SoCs. Generic PWM framework driver for STM32 SoCs.
...@@ -492,7 +495,7 @@ config PWM_SUN4I ...@@ -492,7 +495,7 @@ config PWM_SUN4I
config PWM_TEGRA config PWM_TEGRA
tristate "NVIDIA Tegra PWM support" tristate "NVIDIA Tegra PWM support"
depends on ARCH_TEGRA depends on ARCH_TEGRA || COMPILE_TEST
help help
Generic PWM framework driver for the PWFM controller found on NVIDIA Generic PWM framework driver for the PWFM controller found on NVIDIA
Tegra SoCs. Tegra SoCs.
...@@ -502,7 +505,7 @@ config PWM_TEGRA ...@@ -502,7 +505,7 @@ config PWM_TEGRA
config PWM_TIECAP config PWM_TIECAP
tristate "ECAP PWM support" tristate "ECAP PWM support"
depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
help help
PWM driver support for the ECAP APWM controller found on TI SOCs PWM driver support for the ECAP APWM controller found on TI SOCs
...@@ -511,7 +514,7 @@ config PWM_TIECAP ...@@ -511,7 +514,7 @@ config PWM_TIECAP
config PWM_TIEHRPWM config PWM_TIEHRPWM
tristate "EHRPWM PWM support" tristate "EHRPWM PWM support"
depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
help help
PWM driver support for the EHRPWM controller found on TI SOCs PWM driver support for the EHRPWM controller found on TI SOCs
...@@ -538,7 +541,7 @@ config PWM_TWL_LED ...@@ -538,7 +541,7 @@ config PWM_TWL_LED
config PWM_VT8500 config PWM_VT8500
tristate "vt8500 PWM support" tristate "vt8500 PWM support"
depends on ARCH_VT8500 depends on ARCH_VT8500 || COMPILE_TEST
help help
Generic PWM framework driver for vt8500. Generic PWM framework driver for vt8500.
...@@ -547,7 +550,7 @@ config PWM_VT8500 ...@@ -547,7 +550,7 @@ config PWM_VT8500
config PWM_ZX config PWM_ZX
tristate "ZTE ZX PWM support" tristate "ZTE ZX PWM support"
depends on ARCH_ZX depends on ARCH_ZX || COMPILE_TEST
help help
Generic PWM framework driver for ZTE ZX family SoCs. Generic PWM framework driver for ZTE ZX family SoCs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment