Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Lee Jones
On Tue, 02 Sep 2014, Arnd Bergmann wrote: > On Tuesday 02 September 2014 09:05:16 Lee Jones wrote: > > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > > > > On Monday 01 September 2014 17:04:26 Lee Jones wrote: > > > > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > > > > Maybe I'm misreading the

RE: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Pankaj Dubey
Figa; linux-kernel@vger.kernel.org; > jo...@samsung.com; vikas.saj...@samsung.com; linux-samsung- > s...@vger.kernel.org; broo...@kernel.org; thomas...@samsung.com; > chow@samsung.com > Subject: Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices > > On Tuesday

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Arnd Bergmann
On Tuesday 02 September 2014 09:05:16 Lee Jones wrote: > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > > On Monday 01 September 2014 17:04:26 Lee Jones wrote: > > > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > > > Maybe I'm misreading the patch, but I don't see how it creates a > > > > migration

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Lee Jones
On Mon, 01 Sep 2014, Arnd Bergmann wrote: > On Monday 01 September 2014 17:04:26 Lee Jones wrote: > > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > > Maybe I'm misreading the patch, but I don't see how it creates a > > > migration path. What I want to end up with is infrastructure that > > > lets

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Lee Jones
On Mon, 01 Sep 2014, Arnd Bergmann wrote: On Monday 01 September 2014 17:04:26 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: Maybe I'm misreading the patch, but I don't see how it creates a migration path. What I want to end up with is infrastructure that lets anybody

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Arnd Bergmann
On Tuesday 02 September 2014 09:05:16 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: On Monday 01 September 2014 17:04:26 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: Maybe I'm misreading the patch, but I don't see how it creates a migration path. What I

RE: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Pankaj Dubey
@vger.kernel.org; jo...@samsung.com; vikas.saj...@samsung.com; linux-samsung- s...@vger.kernel.org; broo...@kernel.org; thomas...@samsung.com; chow@samsung.com Subject: Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices On Tuesday 02 September 2014 09:05:16 Lee Jones wrote: On Mon

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-02 Thread Lee Jones
On Tue, 02 Sep 2014, Arnd Bergmann wrote: On Tuesday 02 September 2014 09:05:16 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: On Monday 01 September 2014 17:04:26 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: Maybe I'm misreading the patch, but I don't

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 17:04:26 Lee Jones wrote: > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > Maybe I'm misreading the patch, but I don't see how it creates a > > migration path. What I want to end up with is infrastructure that > > lets anybody call syscon_regmap_lookup_by_pdevname or > >

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Lee Jones
On Mon, 01 Sep 2014, Arnd Bergmann wrote: > On Monday 01 September 2014 12:25:49 Lee Jones wrote: > > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > > On Monday 01 September 2014 08:49:18 Lee Jones wrote: > > > > On Fri, 22 Aug 2014, Pankaj Dubey wrote: > > > > > > > > > From: Tomasz Figa > > >

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 12:25:49 Lee Jones wrote: > On Mon, 01 Sep 2014, Arnd Bergmann wrote: > > On Monday 01 September 2014 08:49:18 Lee Jones wrote: > > > On Fri, 22 Aug 2014, Pankaj Dubey wrote: > > > > > > > From: Tomasz Figa > > > > > > > > Currently a syscon entity can be only

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 17:05:33 Pankaj Dubey wrote: > > Please have a look at this thread [1], where we discussed the need of syscon > as platform device. > Looks like still there are users of syscon_regmap_lookup_by_pdevname > (clps711x.c). > So we can't make it completely independent of

RE: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Pankaj Dubey
@samsung.com; > li...@arm.linux.org.uk; vikas.saj...@samsung.com; jo...@samsung.com; > naus...@samsung.com; thomas...@samsung.com; chow@samsung.com; > Tomasz Figa; broo...@kernel.org > Subject: Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices > > On M

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Lee Jones
On Mon, 01 Sep 2014, Arnd Bergmann wrote: > On Monday 01 September 2014 08:49:18 Lee Jones wrote: > > On Fri, 22 Aug 2014, Pankaj Dubey wrote: > > > > > From: Tomasz Figa > > > > > > Currently a syscon entity can be only registered directly through a > > > platform device that binds to a

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 08:49:18 Lee Jones wrote: > On Fri, 22 Aug 2014, Pankaj Dubey wrote: > > > From: Tomasz Figa > > > > Currently a syscon entity can be only registered directly through a > > platform device that binds to a dedicated driver. However in certain use > > cases it is

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Lee Jones
On Fri, 22 Aug 2014, Pankaj Dubey wrote: > From: Tomasz Figa > > Currently a syscon entity can be only registered directly through a > platform device that binds to a dedicated driver. However in certain use > cases it is desirable to make a device used with another driver a syscon > interface

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Lee Jones
On Fri, 22 Aug 2014, Pankaj Dubey wrote: From: Tomasz Figa t.f...@samsung.com Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated driver. However in certain use cases it is desirable to make a device used with another driver a syscon

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 08:49:18 Lee Jones wrote: On Fri, 22 Aug 2014, Pankaj Dubey wrote: From: Tomasz Figa t.f...@samsung.com Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated driver. However in certain use cases it is

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Lee Jones
On Mon, 01 Sep 2014, Arnd Bergmann wrote: On Monday 01 September 2014 08:49:18 Lee Jones wrote: On Fri, 22 Aug 2014, Pankaj Dubey wrote: From: Tomasz Figa t.f...@samsung.com Currently a syscon entity can be only registered directly through a platform device that binds to a

RE: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Pankaj Dubey
...@arm.linux.org.uk; vikas.saj...@samsung.com; jo...@samsung.com; naus...@samsung.com; thomas...@samsung.com; chow@samsung.com; Tomasz Figa; broo...@kernel.org Subject: Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices On Monday 01 September 2014 08:49:18 Lee Jones wrote

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 17:05:33 Pankaj Dubey wrote: Please have a look at this thread [1], where we discussed the need of syscon as platform device. Looks like still there are users of syscon_regmap_lookup_by_pdevname (clps711x.c). So we can't make it completely independent of

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 12:25:49 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: On Monday 01 September 2014 08:49:18 Lee Jones wrote: On Fri, 22 Aug 2014, Pankaj Dubey wrote: From: Tomasz Figa t.f...@samsung.com Currently a syscon entity can be only

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Lee Jones
On Mon, 01 Sep 2014, Arnd Bergmann wrote: On Monday 01 September 2014 12:25:49 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: On Monday 01 September 2014 08:49:18 Lee Jones wrote: On Fri, 22 Aug 2014, Pankaj Dubey wrote: From: Tomasz Figa t.f...@samsung.com

Re: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-09-01 Thread Arnd Bergmann
On Monday 01 September 2014 17:04:26 Lee Jones wrote: On Mon, 01 Sep 2014, Arnd Bergmann wrote: Maybe I'm misreading the patch, but I don't see how it creates a migration path. What I want to end up with is infrastructure that lets anybody call syscon_regmap_lookup_by_pdevname or

RE: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-08-31 Thread Pankaj Dubey
om; chow@samsung.com; Tomasz Figa; Pankaj Dubey > Subject: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices > > From: Tomasz Figa > > Currently a syscon entity can be only registered directly through a platform device > that binds to a dedicated driver. Ho

RE: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-08-31 Thread Pankaj Dubey
Figa; Pankaj Dubey Subject: [PATCH] mfd: syscon: Decouple syscon interface from syscon devices From: Tomasz Figa t.f...@samsung.com Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated driver. However in certain use cases

[PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-08-22 Thread Pankaj Dubey
From: Tomasz Figa Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated driver. However in certain use cases it is desirable to make a device used with another driver a syscon interface provider. For example, certain SoCs (e.g. Exynos)

[PATCH] mfd: syscon: Decouple syscon interface from syscon devices

2014-08-22 Thread Pankaj Dubey
From: Tomasz Figa t.f...@samsung.com Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated driver. However in certain use cases it is desirable to make a device used with another driver a syscon interface provider. For example, certain SoCs