Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-22 Thread Michal Simek
On 18.1.2017 22:42, Simon Glass wrote: > Hi Michal, > > On 4 January 2017 at 02:40, Michal Simek wrote: >> >> Hi, >> >> On 3.1.2017 17:15, Moritz Fischer wrote: >>> Hi Michal, >>> >>> On Tue, Jan 3, 2017 at 1:22 AM, Michal Simek >>> wrote:

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-18 Thread Simon Glass
Hi Michal, On 4 January 2017 at 02:40, Michal Simek wrote: > > Hi, > > On 3.1.2017 17:15, Moritz Fischer wrote: > > Hi Michal, > > > > On Tue, Jan 3, 2017 at 1:22 AM, Michal Simek > > wrote: > >> On 2.1.2017 20:20, Moritz Fischer wrote: > >>>

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-04 Thread Michal Simek
Hi, On 3.1.2017 17:15, Moritz Fischer wrote: > Hi Michal, > > On Tue, Jan 3, 2017 at 1:22 AM, Michal Simek wrote: >> On 2.1.2017 20:20, Moritz Fischer wrote: >>> Hi Michal, >>> >>> On Mon, Jan 2, 2017 at 6:24 AM, Michal Simek >>> wrote:

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-03 Thread Moritz Fischer
Hi Michal, On Tue, Jan 3, 2017 at 1:22 AM, Michal Simek wrote: > On 2.1.2017 20:20, Moritz Fischer wrote: >> Hi Michal, >> >> On Mon, Jan 2, 2017 at 6:24 AM, Michal Simek wrote: >>> On 29.12.2016 23:50, Moritz Fischer wrote: For mux check

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-03 Thread Michal Simek
On 2.1.2017 20:20, Moritz Fischer wrote: > Hi Michal, > > On Mon, Jan 2, 2017 at 6:24 AM, Michal Simek wrote: >> On 29.12.2016 23:50, Moritz Fischer wrote: >>> For mux check if the parent is already a device of UCLASS_I2C and if yes >>> just use that. Otherwise see if

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-02 Thread Moritz Fischer
Hi Michal, On Mon, Jan 2, 2017 at 6:24 AM, Michal Simek wrote: > On 29.12.2016 23:50, Moritz Fischer wrote: >> For mux check if the parent is already a device of UCLASS_I2C and if yes >> just use that. Otherwise see if someone specified an i2c-parent phandle. >> This

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-02 Thread Michal Simek
On 29.12.2016 23:50, Moritz Fischer wrote: > For mux check if the parent is already a device of UCLASS_I2C and if yes > just use that. Otherwise see if someone specified an i2c-parent phandle. > This mimics the behavior found in the Kernel, as it removes the > requirement to explicitly specify a

[U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2016-12-29 Thread Moritz Fischer
For mux check if the parent is already a device of UCLASS_I2C and if yes just use that. Otherwise see if someone specified an i2c-parent phandle. This mimics the behavior found in the Kernel, as it removes the requirement to explicitly specify a i2c-parent phandle. Signed-off-by: Moritz Fischer