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

2019-10-15 Thread Andy Shevchenko
On Tue, Oct 15, 2019 at 5:30 PM Miquel Raynal wrote: > > Hi Andy, > > Thanks for the feedback. > > Andy Shevchenko wrote on Mon, 14 Oct 2019 > 20:59:01 +0300: > > > On Mon, Oct 14, 2019 at 4:09 PM Miquel Raynal > > wrote: > > > > > > The MAX7313 chip is fully compatible with the PCA9535 on its

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

2019-10-15 Thread Miquel Raynal
Hi Andy, Thanks for the feedback. Andy Shevchenko wrote on Mon, 14 Oct 2019 20:59:01 +0300: > On Mon, Oct 14, 2019 at 4:09 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

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

2019-10-14 Thread Andy Shevchenko
On Mon, Oct 14, 2019 at 4:09 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

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

2019-10-14 Thread kbuild test robot
Hi Miquel, I love your patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [cannot apply to v5.4-rc3 next-20191014] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the b

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

2019-10-14 Thread Thierry Reding
On Mon, Oct 14, 2019 at 02:48:03PM +0200, 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 pe

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

2019-10-14 Thread Miquel Raynal
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 a