mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
5ebc7c7e27
The same functionality was added to Linux for i2c bus registration with this commit message: " of: base: add function to get highest id of an alias stem I2C supports adding adapters using either a dynamic or fixed id. The latter is provided by aliases in the DT case. To prevent id collisions of those two types, install this function which gives us the highest fixed id, so we can then let the dynamically created ones come after this highest number. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> " Add it also to U-Boot for DM I2C support. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
device-remove.c | ||
device.c | ||
devres.c | ||
dump.c | ||
fdtaddr.c | ||
Kconfig | ||
lists.c | ||
Makefile | ||
of_access.c | ||
of_addr.c | ||
of_extra.c | ||
ofnode.c | ||
read.c | ||
read_extra.c | ||
regmap.c | ||
root.c | ||
simple-bus.c | ||
syscon-uclass.c | ||
uclass.c | ||
util.c |