Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-02-08 Thread Wolfram Sang
> So I guess you could say we're in some in-between state, but I don't > think it's inconsistent. It just allows us to do this step by step, > which I think is good. Well, I am still not super happy, but it fixes a regression, so I will keep it in for-next. signature.asc Description: PGP signa

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-02-06 Thread Thierry Reding
On Wed, Feb 06, 2019 at 10:49:12AM +0100, Wolfram Sang wrote: > > > And there is a regression! Good that I didn't push out before > > double-checking. No one noticed that this breaks registering child > > devices because of_i2c_register_devices() doesn't have a pointer to work > > with anymore? >

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-02-06 Thread Wolfram Sang
> And there is a regression! Good that I didn't push out before > double-checking. No one noticed that this breaks registering child > devices because of_i2c_register_devices() doesn't have a pointer to work > with anymore? Well, sorry, I forgot an important detail. There is no regression because

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-02-06 Thread Wolfram Sang
On Tue, Feb 05, 2019 at 01:44:44PM +0100, Wolfram Sang wrote: > On Fri, Jan 25, 2019 at 02:11:42PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > If an I2C adapter doesn't match the provided device tree node, also try > > matching the parent's device tree node. This allows finding

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-02-05 Thread Wolfram Sang
On Fri, Jan 25, 2019 at 02:11:42PM +0100, Thierry Reding wrote: > From: Thierry Reding > > If an I2C adapter doesn't match the provided device tree node, also try > matching the parent's device tree node. This allows finding an adapter > based on the device node of the parent device that was used

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-01-29 Thread Tristan Bastian
On Mon, Jan 28, 2019 at 09:08:15AM +0100, Thierry Reding wrote: > On Sat, Jan 26, 2019 at 01:37:34PM +0100, Tristan Bastian wrote: > > Am 25.01.19 um 14:11 schrieb Thierry Reding: > > > From: Thierry Reding > > > > > > If an I2C adapter doesn't match the provided device tree node, also try > > >

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-01-29 Thread Tristan Bastian
Cc: "Wolfram Sang" , "Rob Herring" , "Lucas Stach" , "Andrzej Hajda" , "Vlado Plaga" , linux-...@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-te...@vger.kernel.org Betreff: Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the par

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-01-28 Thread Thierry Reding
On Mon, Jan 28, 2019 at 09:08:15AM +0100, Thierry Reding wrote: > On Sat, Jan 26, 2019 at 01:37:34PM +0100, Tristan Bastian wrote: > > Am 25.01.19 um 14:11 schrieb Thierry Reding: > > > From: Thierry Reding > > > > > > If an I2C adapter doesn't match the provided device tree node, also try > > >

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-01-28 Thread Thierry Reding
On Sat, Jan 26, 2019 at 01:37:34PM +0100, Tristan Bastian wrote: > Am 25.01.19 um 14:11 schrieb Thierry Reding: > > From: Thierry Reding > > > > If an I2C adapter doesn't match the provided device tree node, also try > > matching the parent's device tree node. This allows finding an adapter > > b

Re: [PATCH v2] i2c: of: Try to find an I2C adapter matching the parent

2019-01-26 Thread Tristan Bastian
Am 25.01.19 um 14:11 schrieb Thierry Reding: From: Thierry Reding If an I2C adapter doesn't match the provided device tree node, also try matching the parent's device tree node. This allows finding an adapter based on the device node of the parent device that was used to register it. This fixe