commit | 65cb759f950bd437cdaf2108668588b9eeee2fc9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Mar 15 17:25:30 2021 +1300 |
committer | Simon Glass <sjg@chromium.org> | Fri Mar 26 17:03:08 2021 +1300 |
tree | e363c8a2c362a9d144fe80c75fafc0a731f0de96 | |
parent | 6714bab6687c4b2e04691df70d4cc3127b1ad841 [diff] |
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>