* [PATCH] pwm: bcm2835: Allow building for ARCH_BRCMSTB
@ 2019-12-09 23:25 Florian Fainelli
2019-12-10 6:52 ` Uwe Kleine-König
0 siblings, 1 reply; 3+ messages in thread
From: Florian Fainelli @ 2019-12-09 23:25 UTC (permalink / raw)
To: linux-kernel
Cc: bcm-kernel-feedback-list, wahrenst, Florian Fainelli,
Thierry Reding, Uwe Kleine-König, open list:PWM SUBSYSTEM
BCM7211 is supported using ARCH_BRCMSTB and uses this PWM controller
driver, make it possible to build it.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/pwm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index bd21655c37a6..0bb8a40c8d6c 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -100,7 +100,7 @@ config PWM_BCM_KONA
config PWM_BCM2835
tristate "BCM2835 PWM support"
- depends on ARCH_BCM2835
+ depends on ARCH_BCM2835 || ARCH_BRCMSTB
help
PWM framework driver for BCM2835 controller (Raspberry Pi)
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] pwm: bcm2835: Allow building for ARCH_BRCMSTB
2019-12-09 23:25 [PATCH] pwm: bcm2835: Allow building for ARCH_BRCMSTB Florian Fainelli
@ 2019-12-10 6:52 ` Uwe Kleine-König
2019-12-30 19:33 ` Florian Fainelli
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2019-12-10 6:52 UTC (permalink / raw)
To: Florian Fainelli
Cc: linux-kernel, bcm-kernel-feedback-list, wahrenst, Thierry Reding,
open list:PWM SUBSYSTEM
On Mon, Dec 09, 2019 at 03:25:03PM -0800, Florian Fainelli wrote:
> BCM7211 is supported using ARCH_BRCMSTB and uses this PWM controller
> driver, make it possible to build it.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> drivers/pwm/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index bd21655c37a6..0bb8a40c8d6c 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -100,7 +100,7 @@ config PWM_BCM_KONA
>
> config PWM_BCM2835
> tristate "BCM2835 PWM support"
> - depends on ARCH_BCM2835
> + depends on ARCH_BCM2835 || ARCH_BRCMSTB
It would be nice to allow this driver to be compiled with COMPILE_TEST,
too. But also without this:
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] pwm: bcm2835: Allow building for ARCH_BRCMSTB
2019-12-10 6:52 ` Uwe Kleine-König
@ 2019-12-30 19:33 ` Florian Fainelli
0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2019-12-30 19:33 UTC (permalink / raw)
To: Uwe Kleine-König, Florian Fainelli, Thierry Reding,
Krzysztof Kozlowski
Cc: linux-kernel, bcm-kernel-feedback-list, wahrenst,
open list:PWM SUBSYSTEM
On 12/9/19 10:52 PM, Uwe Kleine-König wrote:
> On Mon, Dec 09, 2019 at 03:25:03PM -0800, Florian Fainelli wrote:
>> BCM7211 is supported using ARCH_BRCMSTB and uses this PWM controller
>> driver, make it possible to build it.
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
>> ---
>> drivers/pwm/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
>> index bd21655c37a6..0bb8a40c8d6c 100644
>> --- a/drivers/pwm/Kconfig
>> +++ b/drivers/pwm/Kconfig
>> @@ -100,7 +100,7 @@ config PWM_BCM_KONA
>>
>> config PWM_BCM2835
>> tristate "BCM2835 PWM support"
>> - depends on ARCH_BCM2835
>> + depends on ARCH_BCM2835 || ARCH_BRCMSTB
>
> It would be nice to allow this driver to be compiled with COMPILE_TEST,
> too. But also without this:
>
> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Krysztof just submitted a patch doing that [1], which will conflict with
this one. Thierry would you be able to resolve that conflict while applying?
[1]:
https://lore.kernel.org/linux-arm-kernel/20191230172113.17222-2-krzk@kernel.org/
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-30 19:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 23:25 [PATCH] pwm: bcm2835: Allow building for ARCH_BRCMSTB Florian Fainelli
2019-12-10 6:52 ` Uwe Kleine-König
2019-12-30 19:33 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).