Re: [U-Boot] [PATCH v2 02/19] dm: i2c: Add dm_i2c_probe_device() to test the presence of a chip

2018-10-18 Thread Jean-Jacques Hiblot
On 12/10/2018 02:00, Simon Glass wrote: Hi Jean-Jacques, On 11 October 2018 at 06:01, Jean-Jacques Hiblot wrote: Hi Simon, thanks for the reviews. On 11/10/2018 05:13, Simon Glass wrote: Hi Jean-Jacques, On 5 October 2018 at 10:45, Jean-Jacques Hiblot wrote: In a non-DM environment,

Re: [U-Boot] [PATCH v2 02/19] dm: i2c: Add dm_i2c_probe_device() to test the presence of a chip

2018-10-11 Thread Simon Glass
Hi Jean-Jacques, On 11 October 2018 at 06:01, Jean-Jacques Hiblot wrote: > Hi Simon, > > thanks for the reviews. > > > > On 11/10/2018 05:13, Simon Glass wrote: >> >> Hi Jean-Jacques, >> >> On 5 October 2018 at 10:45, Jean-Jacques Hiblot wrote: >>> >>> In a non-DM environment, it is possible to

Re: [U-Boot] [PATCH v2 02/19] dm: i2c: Add dm_i2c_probe_device() to test the presence of a chip

2018-10-11 Thread Jean-Jacques Hiblot
Hi Simon, thanks for the reviews. On 11/10/2018 05:13, Simon Glass wrote: Hi Jean-Jacques, On 5 October 2018 at 10:45, Jean-Jacques Hiblot wrote: In a non-DM environment, it is possible to test the presence of a chip using i2c_probe(chip_addr). dm_i2c_probe_device() brings the same

Re: [U-Boot] [PATCH v2 02/19] dm: i2c: Add dm_i2c_probe_device() to test the presence of a chip

2018-10-10 Thread Simon Glass
Hi Jean-Jacques, On 5 October 2018 at 10:45, Jean-Jacques Hiblot wrote: > In a non-DM environment, it is possible to test the presence of a chip > using i2c_probe(chip_addr). > dm_i2c_probe_device() brings the same functionality with a DM interface. > The intent is to be able to test the

[U-Boot] [PATCH v2 02/19] dm: i2c: Add dm_i2c_probe_device() to test the presence of a chip

2018-10-05 Thread Jean-Jacques Hiblot
In a non-DM environment, it is possible to test the presence of a chip using i2c_probe(chip_addr). dm_i2c_probe_device() brings the same functionality with a DM interface. The intent is to be able to test the presence of a chip for the device has been created with i2c_get_chip_for_busnum(bus_num,