mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
pwm: Fix dependencies on HAS_IOMEM
Drivers making use of IO remapping must depend on HAS_IOMEM. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
2b1c1a5d51
commit
71d4b833da
1 changed files with 28 additions and 7 deletions
|
@ -53,8 +53,8 @@ config PWM_AB8500
|
||||||
|
|
||||||
config PWM_ATMEL
|
config PWM_ATMEL
|
||||||
tristate "Atmel PWM support"
|
tristate "Atmel PWM support"
|
||||||
depends on OF
|
|
||||||
depends on ARCH_AT91 || COMPILE_TEST
|
depends on ARCH_AT91 || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM && OF
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for Atmel SoC.
|
Generic PWM framework driver for Atmel SoC.
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ config PWM_ATMEL_TCB
|
||||||
config PWM_BCM_IPROC
|
config PWM_BCM_IPROC
|
||||||
tristate "iProc PWM support"
|
tristate "iProc PWM support"
|
||||||
depends on ARCH_BCM_IPROC || COMPILE_TEST
|
depends on ARCH_BCM_IPROC || COMPILE_TEST
|
||||||
depends on COMMON_CLK
|
depends on COMMON_CLK && HAS_IOMEM
|
||||||
default ARCH_BCM_IPROC
|
default ARCH_BCM_IPROC
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for Broadcom iProc PWM block. This
|
Generic PWM framework driver for Broadcom iProc PWM block. This
|
||||||
|
@ -112,6 +112,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 || COMPILE_TEST
|
depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
PWM framework driver for BCM2835 controller (Raspberry Pi)
|
PWM framework driver for BCM2835 controller (Raspberry Pi)
|
||||||
|
|
||||||
|
@ -121,6 +122,7 @@ config PWM_BCM2835
|
||||||
config PWM_BERLIN
|
config PWM_BERLIN
|
||||||
tristate "Marvell Berlin PWM support"
|
tristate "Marvell Berlin PWM support"
|
||||||
depends on ARCH_BERLIN || COMPILE_TEST
|
depends on ARCH_BERLIN || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
PWM framework driver for Marvell Berlin SoCs.
|
PWM framework driver for Marvell Berlin SoCs.
|
||||||
|
|
||||||
|
@ -130,6 +132,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 || COMPILE_TEST
|
depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
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).
|
||||||
|
@ -173,6 +176,7 @@ config PWM_DWC
|
||||||
config PWM_EP93XX
|
config PWM_EP93XX
|
||||||
tristate "Cirrus Logic EP93xx PWM support"
|
tristate "Cirrus Logic EP93xx PWM support"
|
||||||
depends on ARCH_EP93XX || COMPILE_TEST
|
depends on ARCH_EP93XX || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for Cirrus Logic EP93xx.
|
Generic PWM framework driver for Cirrus Logic EP93xx.
|
||||||
|
|
||||||
|
@ -194,6 +198,7 @@ config PWM_FSL_FTM
|
||||||
config PWM_HIBVT
|
config PWM_HIBVT
|
||||||
tristate "HiSilicon BVT PWM support"
|
tristate "HiSilicon BVT PWM support"
|
||||||
depends on ARCH_HISI || COMPILE_TEST
|
depends on ARCH_HISI || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for HiSilicon BVT SoCs.
|
Generic PWM framework driver for HiSilicon BVT SoCs.
|
||||||
|
|
||||||
|
@ -216,6 +221,7 @@ config PWM_IMG
|
||||||
config PWM_IMX1
|
config PWM_IMX1
|
||||||
tristate "i.MX1 PWM support"
|
tristate "i.MX1 PWM support"
|
||||||
depends on ARCH_MXC || COMPILE_TEST
|
depends on ARCH_MXC || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for i.MX1 and i.MX21
|
Generic PWM framework driver for i.MX1 and i.MX21
|
||||||
|
|
||||||
|
@ -225,6 +231,7 @@ config PWM_IMX1
|
||||||
config PWM_IMX27
|
config PWM_IMX27
|
||||||
tristate "i.MX27 PWM support"
|
tristate "i.MX27 PWM support"
|
||||||
depends on ARCH_MXC || COMPILE_TEST
|
depends on ARCH_MXC || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
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.
|
||||||
|
|
||||||
|
@ -297,6 +304,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 || COMPILE_TEST
|
depends on ARCH_LPC18XX || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
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.
|
||||||
|
@ -309,6 +317,7 @@ config PWM_LPC18XX_SCT
|
||||||
config PWM_LPC32XX
|
config PWM_LPC32XX
|
||||||
tristate "LPC32XX PWM support"
|
tristate "LPC32XX PWM support"
|
||||||
depends on ARCH_LPC32XX || COMPILE_TEST
|
depends on ARCH_LPC32XX || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
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.
|
||||||
|
@ -317,11 +326,13 @@ config PWM_LPC32XX
|
||||||
will be called pwm-lpc32xx.
|
will be called pwm-lpc32xx.
|
||||||
|
|
||||||
config PWM_LPSS
|
config PWM_LPSS
|
||||||
|
depends on HAS_IOMEM
|
||||||
tristate
|
tristate
|
||||||
|
|
||||||
config PWM_LPSS_PCI
|
config PWM_LPSS_PCI
|
||||||
tristate "Intel LPSS PWM PCI driver"
|
tristate "Intel LPSS PWM PCI driver"
|
||||||
depends on X86 && PCI
|
depends on X86 && PCI
|
||||||
|
depends on HAS_IOMEM
|
||||||
select PWM_LPSS
|
select PWM_LPSS
|
||||||
help
|
help
|
||||||
The PCI driver for Intel Low Power Subsystem PWM controller.
|
The PCI driver for Intel Low Power Subsystem PWM controller.
|
||||||
|
@ -332,6 +343,7 @@ config PWM_LPSS_PCI
|
||||||
config PWM_LPSS_PLATFORM
|
config PWM_LPSS_PLATFORM
|
||||||
tristate "Intel LPSS PWM platform driver"
|
tristate "Intel LPSS PWM platform driver"
|
||||||
depends on X86 && ACPI
|
depends on X86 && ACPI
|
||||||
|
depends on HAS_IOMEM
|
||||||
select PWM_LPSS
|
select PWM_LPSS
|
||||||
help
|
help
|
||||||
The platform driver for Intel Low Power Subsystem PWM controller.
|
The platform driver for Intel Low Power Subsystem PWM controller.
|
||||||
|
@ -342,7 +354,7 @@ config PWM_LPSS_PLATFORM
|
||||||
config PWM_MESON
|
config PWM_MESON
|
||||||
tristate "Amlogic Meson PWM driver"
|
tristate "Amlogic Meson PWM driver"
|
||||||
depends on ARCH_MESON || COMPILE_TEST
|
depends on ARCH_MESON || COMPILE_TEST
|
||||||
depends on COMMON_CLK
|
depends on COMMON_CLK && HAS_IOMEM
|
||||||
help
|
help
|
||||||
The platform driver for Amlogic Meson PWM controller.
|
The platform driver for Amlogic Meson PWM controller.
|
||||||
|
|
||||||
|
@ -363,6 +375,7 @@ config PWM_MTK_DISP
|
||||||
config PWM_MEDIATEK
|
config PWM_MEDIATEK
|
||||||
tristate "MediaTek PWM support"
|
tristate "MediaTek PWM support"
|
||||||
depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
|
depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for Mediatek ARM SoC.
|
Generic PWM framework driver for Mediatek ARM SoC.
|
||||||
|
|
||||||
|
@ -371,8 +384,8 @@ config PWM_MEDIATEK
|
||||||
|
|
||||||
config PWM_MXS
|
config PWM_MXS
|
||||||
tristate "Freescale MXS PWM support"
|
tristate "Freescale MXS PWM support"
|
||||||
depends on OF
|
|
||||||
depends on ARCH_MXS || COMPILE_TEST
|
depends on ARCH_MXS || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM && OF
|
||||||
select STMP_DEVICE
|
select STMP_DEVICE
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for Freescale MXS.
|
Generic PWM framework driver for Freescale MXS.
|
||||||
|
@ -403,6 +416,7 @@ config PWM_PCA9685
|
||||||
config PWM_PXA
|
config PWM_PXA
|
||||||
tristate "PXA PWM support"
|
tristate "PXA PWM support"
|
||||||
depends on ARCH_PXA || COMPILE_TEST
|
depends on ARCH_PXA || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for PXA.
|
Generic PWM framework driver for PXA.
|
||||||
|
|
||||||
|
@ -434,6 +448,7 @@ config PWM_RENESAS_TPU
|
||||||
config PWM_ROCKCHIP
|
config PWM_ROCKCHIP
|
||||||
tristate "Rockchip PWM support"
|
tristate "Rockchip PWM support"
|
||||||
depends on ARCH_ROCKCHIP || COMPILE_TEST
|
depends on ARCH_ROCKCHIP || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
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.
|
||||||
|
@ -441,6 +456,7 @@ config PWM_ROCKCHIP
|
||||||
config PWM_SAMSUNG
|
config PWM_SAMSUNG
|
||||||
tristate "Samsung PWM support"
|
tristate "Samsung PWM support"
|
||||||
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
|
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for Samsung.
|
Generic PWM framework driver for Samsung.
|
||||||
|
|
||||||
|
@ -450,7 +466,7 @@ config PWM_SAMSUNG
|
||||||
config PWM_SIFIVE
|
config PWM_SIFIVE
|
||||||
tristate "SiFive PWM support"
|
tristate "SiFive PWM support"
|
||||||
depends on OF
|
depends on OF
|
||||||
depends on COMMON_CLK
|
depends on COMMON_CLK && HAS_IOMEM
|
||||||
depends on RISCV || COMPILE_TEST
|
depends on RISCV || COMPILE_TEST
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for SiFive SoCs.
|
Generic PWM framework driver for SiFive SoCs.
|
||||||
|
@ -471,7 +487,7 @@ config PWM_SL28CPLD
|
||||||
config PWM_SPEAR
|
config PWM_SPEAR
|
||||||
tristate "STMicroelectronics SPEAr PWM support"
|
tristate "STMicroelectronics SPEAr PWM support"
|
||||||
depends on PLAT_SPEAR || COMPILE_TEST
|
depends on PLAT_SPEAR || COMPILE_TEST
|
||||||
depends on OF
|
depends on HAS_IOMEM && OF
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for the PWM controller on ST
|
Generic PWM framework driver for the PWM controller on ST
|
||||||
SPEAr SoCs.
|
SPEAr SoCs.
|
||||||
|
@ -493,7 +509,7 @@ config PWM_SPRD
|
||||||
config PWM_STI
|
config PWM_STI
|
||||||
tristate "STiH4xx PWM support"
|
tristate "STiH4xx PWM support"
|
||||||
depends on ARCH_STI || COMPILE_TEST
|
depends on ARCH_STI || COMPILE_TEST
|
||||||
depends on OF
|
depends on HAS_IOMEM && OF
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for STiH4xx SoCs.
|
Generic PWM framework driver for STiH4xx SoCs.
|
||||||
|
|
||||||
|
@ -539,6 +555,7 @@ config PWM_SUN4I
|
||||||
config PWM_TEGRA
|
config PWM_TEGRA
|
||||||
tristate "NVIDIA Tegra PWM support"
|
tristate "NVIDIA Tegra PWM support"
|
||||||
depends on ARCH_TEGRA || COMPILE_TEST
|
depends on ARCH_TEGRA || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
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.
|
||||||
|
@ -549,6 +566,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 || COMPILE_TEST
|
depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
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
|
||||||
|
|
||||||
|
@ -558,6 +576,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 || COMPILE_TEST
|
depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
PWM driver support for the EHRPWM controller found on TI SOCs
|
PWM driver support for the EHRPWM controller found on TI SOCs
|
||||||
|
|
||||||
|
@ -585,6 +604,7 @@ config PWM_TWL_LED
|
||||||
config PWM_VT8500
|
config PWM_VT8500
|
||||||
tristate "vt8500 PWM support"
|
tristate "vt8500 PWM support"
|
||||||
depends on ARCH_VT8500 || COMPILE_TEST
|
depends on ARCH_VT8500 || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for vt8500.
|
Generic PWM framework driver for vt8500.
|
||||||
|
|
||||||
|
@ -594,6 +614,7 @@ config PWM_VT8500
|
||||||
config PWM_ZX
|
config PWM_ZX
|
||||||
tristate "ZTE ZX PWM support"
|
tristate "ZTE ZX PWM support"
|
||||||
depends on ARCH_ZX || COMPILE_TEST
|
depends on ARCH_ZX || COMPILE_TEST
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
Generic PWM framework driver for ZTE ZX family SoCs.
|
Generic PWM framework driver for ZTE ZX family SoCs.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue