diff options
| author | Clément Péron <peron.clem@gmail.com> | 2018-11-23 04:35:59 -0500 |
|---|---|---|
| committer | Thierry Reding <thierry.reding@gmail.com> | 2018-12-24 06:06:47 -0500 |
| commit | 88a053d2923479658e82621c4c642dc8a494392d (patch) | |
| tree | 87a0bcbf70437db4125a6795496661a198ff18eb /drivers/pwm | |
| parent | a36b2606795800a15f6f33ee4c283ad66e1d7bfe (diff) | |
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>
Diffstat (limited to 'drivers/pwm')
| -rw-r--r-- | drivers/pwm/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 27e5dd47a01f..a8f47df0655a 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig | |||
| @@ -88,7 +88,9 @@ config PWM_BCM_IPROC | |||
| 88 | 88 | ||
| 89 | config PWM_BCM_KONA | 89 | config PWM_BCM_KONA |
| 90 | tristate "Kona PWM support" | 90 | tristate "Kona PWM support" |
| 91 | depends on ARCH_BCM_MOBILE | 91 | depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST |
| 92 | depends on HAVE_CLK && HAS_IOMEM | ||
| 93 | default ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS | ||
| 92 | help | 94 | help |
| 93 | Generic PWM framework driver for Broadcom Kona PWM block. | 95 | Generic PWM framework driver for Broadcom Kona PWM block. |
| 94 | 96 | ||
