Re: [PATCH RESEND 1/2] gpio: mvebu: Add support for multiple PWM lines per GPIO chip
From: Thomas Petazzoni
Date: Wed Aug 29 2018 - 04:02:46 EST
Hello Linus,
On Wed, 29 Aug 2018 09:54:04 +0200, Linus Walleij wrote:
> On Mon, Aug 6, 2018 at 4:31 AM Aditya Prayoga <aditya@xxxxxxxx> wrote:
>
> > Allow more than 1 PWM request (eg. PWM fan) on the same GPIO chip.
> >
> > based on initial work on LK4.4 by Alban Browaeys.
> > URL: https://github.com/helios-4/linux-marvell/commit/743ae97
> > [Aditya Prayoga: forward port, cleanup]
> > Signed-off-by: Aditya Prayoga <aditya@xxxxxxxx>
>
> It would be awesome to get some feedback from the MVEBU maintainers
> on this patch set.
>
> Who are most active on Marvell stuff these days? Thomas?
Andrew Lunn did the initial support for PWM in this driver, and he
outlined in the commit log the limitation of his first implementation:
However, there are only two sets of PWM configuration registers for
all the GPIO lines. This driver simply allows a single GPIO line per
GPIO chip of 32 lines to be used as a PWM. Attempts to use more
return EBUSY.
Andrew, perhaps you could review the patch posted by Aditya, since you
already looked at PWM support on mvebu platforms ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com