Hello Michal,

Am 31.01.2019 um 16:31 schrieb 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 <michal.si...@xilinx.com>
---

Changes in v2:
- Use dev_read_alias_highest_id()
- Use uclass private data

  drivers/i2c/i2c-uclass.c | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)

Applied to u-boot-i2c.git master

with a fix for build error for omap based boards as discussed.

Thanks!

bye,
Heiko
--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to