Re: [PATCH v6] gpio: pca953x: Add Maxim MAX7313 PWM support

From: Andy Shevchenko
Date: Tue Jun 30 2020 - 17:27:51 EST


On Tue, Jun 30, 2020 at 3:45 PM Uwe Kleine-KÃnig
<u.kleine-koenig@xxxxxxxxxxxxxx> wrote:
> On Tue, Jun 30, 2020 at 11:13:31AM +0200, Bartosz Golaszewski wrote:
> > I can't find anything in any of the previous threads. What was the
> > reason to not go the MFD way here?
>
> MFD doesn't work because the different "modes" are not orthogonal. So
> this is not a single device that provides several functions at the same
> time that can be used in parallel.

Did I get this correctly that it's either *all* pins are GPIO or *all* are PWM?

Otherwise, it fits from my point of view.

--
With Best Regards,
Andy Shevchenko