commit | 6bfacc8aadb5d30a13413f337053118559a5ef25 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Thu Jan 31 16:31:01 2019 +0100 |
committer | Heiko Schocher <hs@denx.de> | Mon Feb 11 09:37:27 2019 +0100 |
tree | 3cab2784fb68f86dba1f38997c8bb695fbe91fa0 | |
parent | a93eb577b9ae635ef6f631e8509d113c15f53530 [diff] |
i2c: dm: Record maximum id of devices before probing devices 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. add from hs: fix build problem in i2c-uclass.c for omap devices Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de>