Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Bartosz Golaszewski
wt., 25 wrz 2018 o 11:14 Linus Walleij napisał(a): > > On Tue, Sep 25, 2018 at 11:03 AM Mika Westerberg > wrote: > > On Tue, Sep 25, 2018 at 10:53:30AM +0200, Linus Walleij wrote: > > > On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > > > > niedz., 23 wrz 2018 o 13:17 Bartosz

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Bartosz Golaszewski
wt., 25 wrz 2018 o 11:14 Linus Walleij napisał(a): > > On Tue, Sep 25, 2018 at 11:03 AM Mika Westerberg > wrote: > > On Tue, Sep 25, 2018 at 10:53:30AM +0200, Linus Walleij wrote: > > > On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > > > > niedz., 23 wrz 2018 o 13:17 Bartosz

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Linus Walleij
On Tue, Sep 25, 2018 at 11:03 AM Mika Westerberg wrote: > On Tue, Sep 25, 2018 at 10:53:30AM +0200, Linus Walleij wrote: > > On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > > > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski > > > napisał(a): > > > > > > > > Some users want to

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Linus Walleij
On Tue, Sep 25, 2018 at 11:03 AM Mika Westerberg wrote: > On Tue, Sep 25, 2018 at 10:53:30AM +0200, Linus Walleij wrote: > > On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > > > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski > > > napisał(a): > > > > > > > > Some users want to

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Mika Westerberg
On Tue, Sep 25, 2018 at 10:53:30AM +0200, Linus Walleij wrote: > On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > > > > > Some users want to introduce device tree support to the mockup driver. > > > Let's make it

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Mika Westerberg
On Tue, Sep 25, 2018 at 10:53:30AM +0200, Linus Walleij wrote: > On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > > > > > Some users want to introduce device tree support to the mockup driver. > > > Let's make it

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Linus Walleij
On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > > > Some users want to introduce device tree support to the mockup driver. > > Let's make it easier by switching to using generic device properties. > > The driver stays

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Linus Walleij
On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > > > Some users want to introduce device tree support to the mockup driver. > > Let's make it easier by switching to using generic device properties. > > The driver stays

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-24 Thread Bartosz Golaszewski
niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > Some users want to introduce device tree support to the mockup driver. > Let's make it easier by switching to using generic device properties. > The driver stays compatible with previous use cases and after this > conversion there'll

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-24 Thread Bartosz Golaszewski
niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > Some users want to introduce device tree support to the mockup driver. > Let's make it easier by switching to using generic device properties. > The driver stays compatible with previous use cases and after this > conversion there'll

[PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-23 Thread Bartosz Golaszewski
Some users want to introduce device tree support to the mockup driver. Let's make it easier by switching to using generic device properties. The driver stays compatible with previous use cases and after this conversion there'll be no need to change the way probing of mockup GPIO chips works.

[PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-23 Thread Bartosz Golaszewski
Some users want to introduce device tree support to the mockup driver. Let's make it easier by switching to using generic device properties. The driver stays compatible with previous use cases and after this conversion there'll be no need to change the way probing of mockup GPIO chips works.