pwm: Enable Kona PWM to be built for the Cygnus architecture

The Cygnus architecture uses a Kona PWM. This is already present in the
device tree but can't be built actually. Hence, allow the Kona PWM to
be built for the Cygnus architecture.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Clément Péron 2018-11-23 10:35:59 +01:00 committed by Thierry Reding
parent a36b260679
commit 88a053d292

View File

@ -88,7 +88,9 @@ config PWM_BCM_IPROC
config PWM_BCM_KONA config PWM_BCM_KONA
tristate "Kona PWM support" tristate "Kona PWM support"
depends on ARCH_BCM_MOBILE depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST
depends on HAVE_CLK && HAS_IOMEM
default ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS
help help
Generic PWM framework driver for Broadcom Kona PWM block. Generic PWM framework driver for Broadcom Kona PWM block.