Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-13 Thread Pavel Machek
Hi! > > As you can see, it will return the IRQ Domain for the chip. > > > > You can then pass this IRQ domain to mfd_add_devices() and it will do > > the HWIRQ => VIRQ mapping for you on the fly. Meaning that you can > > remove all the nastiness in max77650_setup_irqs() and have the Input > > dev

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-13 Thread Bartosz Golaszewski
śr., 13 lut 2019 o 11:39 Lee Jones napisał(a): > > On Wed, 13 Feb 2019, Bartosz Golaszewski wrote: > > > śr., 13 lut 2019 o 10:53 Lee Jones napisał(a): > > > > > > On Wed, 13 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > śr., 13 lut 2019 o 10:25 Lee Jones napisał(a): > > > > > > > > > > On

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-13 Thread Lee Jones
On Wed, 13 Feb 2019, Bartosz Golaszewski wrote: > śr., 13 lut 2019 o 10:53 Lee Jones napisał(a): > > > > On Wed, 13 Feb 2019, Bartosz Golaszewski wrote: > > > > > śr., 13 lut 2019 o 10:25 Lee Jones napisał(a): > > > > > > > > On Tue, 12 Feb 2019, Lee Jones wrote: > > > > > > > > > On Tue, 12 Feb

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-13 Thread Bartosz Golaszewski
śr., 13 lut 2019 o 10:53 Lee Jones napisał(a): > > On Wed, 13 Feb 2019, Bartosz Golaszewski wrote: > > > śr., 13 lut 2019 o 10:25 Lee Jones napisał(a): > > > > > > On Tue, 12 Feb 2019, Lee Jones wrote: > > > > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > > > wt., 12 lut 201

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-13 Thread Lee Jones
On Wed, 13 Feb 2019, Bartosz Golaszewski wrote: > śr., 13 lut 2019 o 10:25 Lee Jones napisał(a): > > > > On Tue, 12 Feb 2019, Lee Jones wrote: > > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > wt., 12 lut 2019 o 12:14 Lee Jones napisał(a): > > > > > > > > > > On Tue, 12 Feb

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-13 Thread Bartosz Golaszewski
śr., 13 lut 2019 o 10:25 Lee Jones napisał(a): > > On Tue, 12 Feb 2019, Lee Jones wrote: > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > wt., 12 lut 2019 o 12:14 Lee Jones napisał(a): > > > > > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > > > wt., 12 lut 201

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-13 Thread Lee Jones
On Tue, 12 Feb 2019, Lee Jones wrote: > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > wt., 12 lut 2019 o 12:14 Lee Jones napisał(a): > > > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > wt., 12 lut 2019 o 11:18 Lee Jones napisał(a): > > > > > > > > > > On Tue, 12 Fe

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Lee Jones
On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > wt., 12 lut 2019 o 12:14 Lee Jones napisał(a): > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > wt., 12 lut 2019 o 11:18 Lee Jones napisał(a): > > > > > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > > > wt.,

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Bartosz Golaszewski
wt., 12 lut 2019 o 12:14 Lee Jones napisał(a): > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > wt., 12 lut 2019 o 11:18 Lee Jones napisał(a): > > > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > wt., 12 lut 2019 o 10:55 Lee Jones napisał(a): > > > > > > > > > > *

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Lee Jones
On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > wt., 12 lut 2019 o 11:18 Lee Jones napisał(a): > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > wt., 12 lut 2019 o 10:55 Lee Jones napisał(a): > > > > > > > > * The declaration of a superfluous struct > > > > * 100 lines of add

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Bartosz Golaszewski
wt., 12 lut 2019 o 11:18 Lee Jones napisał(a): > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > wt., 12 lut 2019 o 10:55 Lee Jones napisał(a): > > > > > > * The declaration of a superfluous struct > > > * 100 lines of additional/avoidable code > > > * Hacky hoop jumping trying to fudg

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Lee Jones
On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > wt., 12 lut 2019 o 10:55 Lee Jones napisał(a): > > > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > > > wt., 12 lut 2019 o 09:36 Lee Jones napisał(a): > > > > > > > > On Tue, 05 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > > > From

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Bartosz Golaszewski
wt., 12 lut 2019 o 10:55 Lee Jones napisał(a): > > On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > > > wt., 12 lut 2019 o 09:36 Lee Jones napisał(a): > > > > > > On Tue, 05 Feb 2019, Bartosz Golaszewski wrote: > > > > > > > From: Bartosz Golaszewski > > > > > > > > Add the core mfd driver for

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Lee Jones
On Tue, 12 Feb 2019, Bartosz Golaszewski wrote: > wt., 12 lut 2019 o 09:36 Lee Jones napisał(a): > > > > On Tue, 05 Feb 2019, Bartosz Golaszewski wrote: > > > > > From: Bartosz Golaszewski > > > > > > Add the core mfd driver for max77650 PMIC. We define five sub-devices > > > for which the drive

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Bartosz Golaszewski
wt., 12 lut 2019 o 09:36 Lee Jones napisał(a): > > On Tue, 05 Feb 2019, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > Add the core mfd driver for max77650 PMIC. We define five sub-devices > > for which the drivers will be added in subsequent patches. > > > > Signed-off-by: Ba

Re: [PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-12 Thread Lee Jones
On Tue, 05 Feb 2019, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add the core mfd driver for max77650 PMIC. We define five sub-devices > for which the drivers will be added in subsequent patches. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/mfd/Kconfig | 11

[PATCH v4 05/10] mfd: max77650: new core mfd driver

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the core mfd driver for max77650 PMIC. We define five sub-devices for which the drivers will be added in subsequent patches. Signed-off-by: Bartosz Golaszewski --- drivers/mfd/Kconfig | 11 ++ drivers/mfd/Makefile | 1 + drivers/mfd/max77650.c