Re: [U-Boot] [PATCH 3/4] i2c: dm: Record maximum id of devices before probing devices

2019-02-01 Thread Michal Simek
so, 2. Ășno 2019 7:09 odesĂ­latel Simon Glass napsal: > Hi Michal, > > On Thu, 31 Jan 2019 at 04:03, Michal Simek > wrote: > > > > On 31. 01. 19 11:04, Simon Glass wrote: > > > Hi Michal, > > > > > > On Fri, 18 Jan 2019 at 08:13, Michal Simek > wrote: > > >> > > >> There is a need to find out the

Re: [U-Boot] [PATCH 3/4] i2c: dm: Record maximum id of devices before probing devices

2019-02-01 Thread Simon Glass
Hi Michal, On Thu, 31 Jan 2019 at 04:03, Michal Simek wrote: > > On 31. 01. 19 11:04, Simon Glass wrote: > > Hi Michal, > > > > On Fri, 18 Jan 2019 at 08:13, Michal Simek wrote: > >> > >> There is a need to find out the first free i2c ID which can be used for > >> i2s buses (including i2c buses

Re: [U-Boot] [PATCH 3/4] i2c: dm: Record maximum id of devices before probing devices

2019-01-31 Thread Michal Simek
On 31. 01. 19 11:04, Simon Glass wrote: > Hi Michal, > > On Fri, 18 Jan 2019 at 08:13, Michal Simek wrote: >> >> There is a need to find out the first free i2c ID which can be used for >> i2s buses (including i2c buses connected to i2c mux). Do it early in >> init and share this variable with oth

Re: [U-Boot] [PATCH 3/4] i2c: dm: Record maximum id of devices before probing devices

2019-01-31 Thread Simon Glass
Hi Michal, On Fri, 18 Jan 2019 at 08:13, Michal Simek wrote: > > There is a need to find out the first free i2c ID which can be used for > i2s buses (including i2c buses connected to i2c mux). Do it early in > init and share this variable with other i2c classes for uniq bus > identification. > >

[U-Boot] [PATCH 3/4] i2c: dm: Record maximum id of devices before probing devices

2019-01-18 Thread Michal Simek
There is a need to find out the first free i2c ID which can be used for i2s buses (including i2c buses connected to i2c mux). Do it early in init and share this variable with other i2c classes for uniq bus identification. Signed-off-by: Michal Simek --- drivers/i2c/i2c-uclass.c | 19 +++