[lkml]   [2020]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4] gpio: pca953x: Add Maxim MAX7313 PWM support
On Mon, Dec 16, 2019 at 10:51 PM Andy Shevchenko
<> wrote:
> On Fri, Nov 29, 2019 at 9:13 PM Miquel Raynal <> wrote:

> > The MAX7313 chip is fully compatible with the PCA9535 on its basic
> > functions but can also manage the intensity on each of its ports with
> > PWM. Each output is independent and may be tuned with 16 values (4
> > bits per output). The period is always 32kHz, only the duty-cycle may
> > be changed. One can use any output as GPIO or PWM.
> Thanks for an update!
> Still I think it's wrong approach. What should be done is:
> - adding a pin configuration type of PWM (when, for example, argument
> defines duty cycle and period)
> - conversion to pin control of this driver
> - enabling pin configuration PWM for it.
> For now it looks like a custom way of doing it.
> If GPIO maintainers are okay with it, I'll not object, just want to
> have than something like TODO updated for the matter.

Yeah well that is a possible way, it pretty much lies with the PWM
maintainer, I have one guiding stanza "rough consensus and running
code". Making big upfront code conversions just to get a small piece
of hardware going is just too much from me as subsystem maintainer,
a dual sub-system driver is perfectly fine in my opinion.

That said contributors are encouraged to extend scope and be
ambitious and set precedents for others to follow by going the extra

(That sounds like corporate management!)

But that must be voluntary work outside the scope of just hardware

Linus Walleij

 \ /
  Last update: 2020-01-07 13:31    [W:0.082 / U:1.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site