Simon Glass 728d04cc72 sandbox: i2c: Support i2c emulation with of-platdata
At present the i2c emulators require access to the devicetree, which is
not possible (by design) with of-platdata.

Add a way for drivers to record the of-platdata index of their emulator,
so that we can still find the emulator.

This allows i2c emulation to work with of-platdata.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-26 17:03:08 +13:00
..
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-04-24 16:40:09 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2018-06-05 20:19:09 -04:00
2019-05-31 23:27:12 +02:00
2019-07-29 09:32:12 -04:00
2020-05-18 21:19:18 -04:00