[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vc4vnNVKc+Q_TY8DpwV4rLZYGm2MvGBC7r67XjmtNoskQ@mail.gmail.com>
Date: Mon, 14 Oct 2019 20:59:01 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Miquel Raynal <miquel.raynal@...tlin.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
linux-pwm@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>
Subject: Re: [PATCH] gpio: pca953x: Add Maxim MAX7313 PWM support
On Mon, Oct 14, 2019 at 4:09 PM Miquel Raynal <miquel.raynal@...tlin.com> 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.
Can we rather not contaminate driver with this?
Just register a separate PWM driver and export its functionality to
GPIO, or other way around (in the latter case we actually have PCA8685
which provides a GPIO fgunctionality).
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists