Re: [PATCH] i2c: add dm_i2c_probe_chip() to detect chip presence

2022-12-31 Thread Heiko Schocher
Hello Johan, On 19.12.22 20:57, Johan Korsnes wrote: > Add function to determine whether a chip is present. This check is > typically implemented by writing the chip address to the bus and > checking that the chip replies with an ACK. > > The already existing dm_i2c_probe() will attempt to

Re: [PATCH] i2c: add dm_i2c_probe_chip() to detect chip presence

2022-12-22 Thread Simon Glass
Hi Johan, On Mon, 19 Dec 2022 at 12:57, Johan Korsnes wrote: > > Add function to determine whether a chip is present. This check is > typically implemented by writing the chip address to the bus and > checking that the chip replies with an ACK. > > The already existing dm_i2c_probe() will

[PATCH] i2c: add dm_i2c_probe_chip() to detect chip presence

2022-12-20 Thread Johan Korsnes
Add function to determine whether a chip is present. This check is typically implemented by writing the chip address to the bus and checking that the chip replies with an ACK. The already existing dm_i2c_probe() will attempt to bind/probe the relevant driver if the chip is present. This makes it